update board schema and template for STM32L4 Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

update board schema and template for STM32L4  Topic is solved

Postby faisal » Tue Mar 27, 2018 6:25 pm

Schema file ..

Code: Select all

*** /chibistudio-branch-trunk/tools/chibios_config_wizard/resources/gencfg/schema/boards/stm32l4xx_board.xsd   2018-03-20 10:42:45.000000000
--- /ChibiStudio/tools/chibios_config_wizard/resources/gencfg/schema/boards/stm32l4xx_board.xsd   2018-03-27 12:12:11.000000000
***************
*** 16,27 ****
--- 16,28 ----
                          <xs:whiteSpace value="collapse"></xs:whiteSpace>
                          <xs:enumeration value="STM32L471xx"></xs:enumeration>
                          <xs:enumeration value="STM32L475xx"></xs:enumeration>
                          <xs:enumeration value="STM32L476xx"></xs:enumeration>
                          <xs:enumeration value="STM32L485xx"></xs:enumeration>
                          <xs:enumeration value="STM32L486xx"></xs:enumeration>
+                         <xs:enumeration value="STM32L496xx"></xs:enumeration>
                       </xs:restriction>
                    </xs:simpleType>
                 </xs:element>
                 <xs:element name="clocks" maxOccurs="1" minOccurs="1">
                    <xs:complexType>
                       <xs:attribute name="HSEBypass" use="required">



The template file (stm32l4board.xml) is missing LSEDrive in <clocks>.
The template file is also missing the AnalogSwitch, and PinLock settings in GPIOH pin0, which causes an fmpp processing error.
The template files is missing the <board_files_path> in the <configuration_settings>.

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: update board schema and template for STM32L4

Postby Giovanni » Fri Mar 30, 2018 7:16 pm

Hi,

"board_files_path" is an optional element, everything else has been fixed.

Giovanni

faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

Re: update board schema and template for STM32L4

Postby faisal » Fri Mar 30, 2018 10:09 pm

I think the templates should include all optional elements, as otherwise the user will have to trawl thru .ftl files and the such to figure out what all the options are .. Either that - or documentation :).


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 8 guests