Enabled HSE and removed unecessary files
							parent
							
								
									9a4779b0eb
								
							
						
					
					
						commit
						8da4b4fb9f
					
				| @ -1,703 +0,0 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <!-- STM32F0xx board Template --> | ||||
| <board | ||||
|   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||||
|   xsi:noNamespaceSchemaLocation="http://www.chibios.org/xml/schema/boards/stm32f0xx_board.xsd"> | ||||
|   <configuration_settings> | ||||
|     <templates_path>resources/gencfg/processors/boards/stm32f0xx/templates</templates_path> | ||||
|     <output_path>..</output_path> | ||||
|     <hal_version>5.0.x</hal_version> | ||||
|   </configuration_settings> | ||||
|   <board_name>ST STM32F072B-Discovery</board_name> | ||||
|   <board_id>ST_STM32F072B_DISCOVERY</board_id> | ||||
|   <board_functions></board_functions> | ||||
|   <subtype>STM32F072xB</subtype> | ||||
|   <clocks HSEFrequency="0" HSEBypass="true" LSEFrequency="0" | ||||
|   	LSEBypass="false" LSEDrive="3 High Drive (default)" /> | ||||
|   <ports> | ||||
|     <GPIOA> | ||||
|       <pin0 | ||||
|         ID="BUTTON" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="Floating" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin1 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin2 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin3 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin4 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin5 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin6 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin7 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin8 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin9 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin10 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin11 | ||||
|         ID="USB_DM" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="Floating" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin12 | ||||
|         ID="USB_DP" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="Floating" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin13 | ||||
|         ID="SWDIO" | ||||
|         Type="PushPull" | ||||
|         Speed="Maximum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Alternate" | ||||
|         Alternate="0" /> | ||||
|       <pin14 | ||||
|         ID="SWCLK" | ||||
|         Type="PushPull" | ||||
|         Speed="Maximum" | ||||
|         Resistor="PullDown" | ||||
|         Level="High" | ||||
|         Mode="Alternate" | ||||
|         Alternate="0" /> | ||||
|       <pin15 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Maximum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|     </GPIOA> | ||||
|     <GPIOB> | ||||
|       <pin0 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin1 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin2 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Maximum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin3 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Maximum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin4 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Maximum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin5 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin6 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin7 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin8 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin9 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin10 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin11 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin12 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin13 | ||||
|         ID="SPI2_SCK" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="Floating" | ||||
|         Level="High" | ||||
|         Mode="Alternate" | ||||
|         Alternate="0" /> | ||||
|       <pin14 | ||||
|         ID="SPI2_MISO" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="Floating" | ||||
|         Level="High" | ||||
|         Mode="Alternate" | ||||
|         Alternate="0" /> | ||||
|       <pin15 | ||||
|         ID="SPI2_MOSI" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="Floating" | ||||
|         Level="High" | ||||
|         Mode="Alternate" | ||||
|         Alternate="0" /> | ||||
|     </GPIOB> | ||||
|     <GPIOC> | ||||
|       <pin0 | ||||
|         ID="MEMS_CS" | ||||
|         Type="PushPull" | ||||
|         Speed="Maximum" | ||||
|         Resistor="Floating" | ||||
|         Level="High" | ||||
|         Mode="Output" | ||||
|         Alternate="0" /> | ||||
|       <pin1 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin2 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin3 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin4 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin5 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin6 | ||||
|         ID="LED_RED" | ||||
|         Type="PushPull" | ||||
|         Speed="Maximum" | ||||
|         Resistor="Floating" | ||||
|         Level="Low" | ||||
|         Mode="Output" | ||||
|         Alternate="0" /> | ||||
|       <pin7 | ||||
|         ID="LED_BLUE" | ||||
|         Type="PushPull" | ||||
|         Speed="Maximum" | ||||
|         Resistor="Floating" | ||||
|         Level="Low" | ||||
|         Mode="Output" | ||||
|         Alternate="0" /> | ||||
|       <pin8 | ||||
|         ID="LED_ORANGE" | ||||
|         Type="PushPull" | ||||
|         Speed="Maximum" | ||||
|         Resistor="Floating" | ||||
|         Level="Low" | ||||
|         Mode="Output" | ||||
|         Alternate="0" ></pin8> | ||||
|       <pin9 | ||||
|         ID="LED_GREEN" | ||||
|         Type="PushPull" | ||||
|         Speed="Maximum" | ||||
|         Resistor="Floating" | ||||
|         Level="Low" | ||||
|         Mode="Output" | ||||
|         Alternate="0" /> | ||||
|       <pin10 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin11 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin12 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin13 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin14 | ||||
|         ID="OSC32_IN" | ||||
|         Type="PushPull" | ||||
|         Speed="Maximum" | ||||
|         Resistor="Floating" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin15 | ||||
|         ID="OSC32_OUT" | ||||
|         Type="PushPull" | ||||
|         Speed="Maximum" | ||||
|         Resistor="Floating" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|     </GPIOC> | ||||
|     <GPIOD> | ||||
|       <pin0 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin1 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin2 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin3 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin4 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin5 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin6 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin7 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin8 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin9 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin10 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin11 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin12 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin13 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin14 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin15 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|     </GPIOD> | ||||
|     <GPIOE> | ||||
|     	<pin0 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp" | ||||
|     		Level="High" Mode="Input" Alternate="0" /> | ||||
|     	<pin1 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp" | ||||
|     		Level="High" Mode="Input" Alternate="0" /> | ||||
|     	<pin2 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp" | ||||
|     		Level="High" Mode="Input" Alternate="0" /> | ||||
|     	<pin3 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp" | ||||
|     		Level="High" Mode="Input" Alternate="0" /> | ||||
|     	<pin4 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp" | ||||
|     		Level="High" Mode="Input" Alternate="0" /> | ||||
|     	<pin5 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp" | ||||
|     		Level="High" Mode="Input" Alternate="0" /> | ||||
|     	<pin6 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp" | ||||
|     		Level="High" Mode="Input" Alternate="0" /> | ||||
|     	<pin7 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp" | ||||
|     		Level="High" Mode="Input" Alternate="0" /> | ||||
|     	<pin8 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp" | ||||
|     		Level="High" Mode="Input" Alternate="0" /> | ||||
|     	<pin9 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp" | ||||
|     		Level="High" Mode="Input" Alternate="0" /> | ||||
|     	<pin10 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp" | ||||
|     		Level="High" Mode="Input" Alternate="0" /> | ||||
|     	<pin11 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp" | ||||
|     		Level="High" Mode="Input" Alternate="0" /> | ||||
|     	<pin12 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp" | ||||
|     		Level="High" Mode="Input" Alternate="0" /> | ||||
|     	<pin13 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp" | ||||
|     		Level="High" Mode="Input" Alternate="0" /> | ||||
|     	<pin14 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp" | ||||
|     		Level="High" Mode="Input" Alternate="0" /> | ||||
|     	<pin15 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp" | ||||
|     		Level="High" Mode="Input" Alternate="0" /> | ||||
|     </GPIOE> | ||||
|     <GPIOF> | ||||
|       <pin0 | ||||
|         ID="OSC_IN" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="Floating" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin1 | ||||
|         ID="OSC_OUT" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="Floating" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin2 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin3 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin4 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin5 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin6 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin7 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin8 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin9 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin10 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin11 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin12 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin13 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin14 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|       <pin15 | ||||
|         ID="" | ||||
|         Type="PushPull" | ||||
|         Speed="Minimum" | ||||
|         Resistor="PullUp" | ||||
|         Level="High" | ||||
|         Mode="Input" | ||||
|         Alternate="0" /> | ||||
|     </GPIOF> | ||||
|   </ports> | ||||
| </board> | ||||
| @ -1,15 +0,0 @@ | ||||
| sourceRoot: ../../../../../tools/ftl/processors/boards/stm32f0xx/templates | ||||
| outputRoot: .. | ||||
| dataRoot: . | ||||
| 
 | ||||
| freemarkerLinks: { | ||||
|     lib: ../../../../../tools/ftl/libs | ||||
| } | ||||
| 
 | ||||
| data : { | ||||
|   doc1:xml ( | ||||
|     board.chcfg | ||||
|     { | ||||
|     } | ||||
|   ) | ||||
| } | ||||
| @ -1,57 +0,0 @@ | ||||
| /*
 | ||||
|     ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio | ||||
| 
 | ||||
|     Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|     you may not use this file except in compliance with the License. | ||||
|     You may obtain a copy of the License at | ||||
| 
 | ||||
|         http://www.apache.org/licenses/LICENSE-2.0
 | ||||
| 
 | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| /**
 | ||||
|  * @file    portab.c | ||||
|  * @brief   Application portability module code. | ||||
|  * | ||||
|  * @addtogroup application_portability | ||||
|  * @{ | ||||
|  */ | ||||
| 
 | ||||
| #include "hal.h" | ||||
| 
 | ||||
| #include "portab.h" | ||||
| 
 | ||||
| /*===========================================================================*/ | ||||
| /* Module local definitions.                                                 */ | ||||
| /*===========================================================================*/ | ||||
| 
 | ||||
| /*===========================================================================*/ | ||||
| /* Module exported variables.                                                */ | ||||
| /*===========================================================================*/ | ||||
| 
 | ||||
| /*===========================================================================*/ | ||||
| /* Module local types.                                                       */ | ||||
| /*===========================================================================*/ | ||||
| 
 | ||||
| /*===========================================================================*/ | ||||
| /* Module local variables.                                                   */ | ||||
| /*===========================================================================*/ | ||||
| 
 | ||||
| /*===========================================================================*/ | ||||
| /* Module local functions.                                                   */ | ||||
| /*===========================================================================*/ | ||||
| 
 | ||||
| /*===========================================================================*/ | ||||
| /* Module exported functions.                                                */ | ||||
| /*===========================================================================*/ | ||||
| 
 | ||||
| void portab_setup(void) { | ||||
| 
 | ||||
| } | ||||
| 
 | ||||
| /** @} */ | ||||
| @ -1,72 +0,0 @@ | ||||
| /*
 | ||||
|     ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio | ||||
| 
 | ||||
|     Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|     you may not use this file except in compliance with the License. | ||||
|     You may obtain a copy of the License at | ||||
| 
 | ||||
|         http://www.apache.org/licenses/LICENSE-2.0
 | ||||
| 
 | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| /**
 | ||||
|  * @file    portab.h | ||||
|  * @brief   Application portability macros and structures. | ||||
|  * | ||||
|  * @addtogroup application_portability | ||||
|  * @{ | ||||
|  */ | ||||
| 
 | ||||
| #ifndef PORTAB_H | ||||
| #define PORTAB_H | ||||
| 
 | ||||
| /*===========================================================================*/ | ||||
| /* Module constants.                                                         */ | ||||
| /*===========================================================================*/ | ||||
| 
 | ||||
| #define PORTAB_USB1                 USBD1 | ||||
| 
 | ||||
| #define PORTAB_SDU1                 SDU1 | ||||
| 
 | ||||
| #define PORTAB_BLINK_LED1           LINE_LED_RED | ||||
| 
 | ||||
| /*===========================================================================*/ | ||||
| /* Module pre-compile time settings.                                         */ | ||||
| /*===========================================================================*/ | ||||
| 
 | ||||
| /*===========================================================================*/ | ||||
| /* Derived constants and error checks.                                       */ | ||||
| /*===========================================================================*/ | ||||
| 
 | ||||
| /*===========================================================================*/ | ||||
| /* Module data structures and types.                                         */ | ||||
| /*===========================================================================*/ | ||||
| 
 | ||||
| /*===========================================================================*/ | ||||
| /* Module macros.                                                            */ | ||||
| /*===========================================================================*/ | ||||
| 
 | ||||
| /*===========================================================================*/ | ||||
| /* External declarations.                                                    */ | ||||
| /*===========================================================================*/ | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
| #endif | ||||
|   void portab_setup(void); | ||||
| #ifdef __cplusplus | ||||
| } | ||||
| #endif | ||||
| 
 | ||||
| /*===========================================================================*/ | ||||
| /* Module inline functions.                                                  */ | ||||
| /*===========================================================================*/ | ||||
| 
 | ||||
| #endif /* PORTAB_H */ | ||||
| 
 | ||||
| /** @} */ | ||||
		Loading…
	
		Reference in New Issue