Update STM32WB board naming, board configurator files and demo files
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13968 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
ce263870a7
commit
7522cfeab5
|
@ -101,7 +101,7 @@ include $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32wbxx.m
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/hal/ports/STM32/STM32WBxx/platform.mk
|
include $(CHIBIOS)/os/hal/ports/STM32/STM32WBxx/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/boards/ST_NUCLEO_WB55CG_USBDongle/board.mk
|
include $(CHIBIOS)/os/hal/boards/ST_NUCLEO48_WB55CG_USB/board.mk
|
||||||
include $(CHIBIOS)/os/hal/osal/rt-nil/osal.mk
|
include $(CHIBIOS)/os/hal/osal/rt-nil/osal.mk
|
||||||
# RTOS files (optional).
|
# RTOS files (optional).
|
||||||
include $(CHIBIOS)/os/rt/rt.mk
|
include $(CHIBIOS)/os/rt/rt.mk
|
|
@ -101,7 +101,7 @@ include $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32wbxx.m
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/hal/ports/STM32/STM32WBxx/platform.mk
|
include $(CHIBIOS)/os/hal/ports/STM32/STM32WBxx/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/boards/ST_NUCLEO_WB55RG/board.mk
|
include $(CHIBIOS)/os/hal/boards/ST_NUCLEO68_WB55RG/board.mk
|
||||||
include $(CHIBIOS)/os/hal/osal/rt-nil/osal.mk
|
include $(CHIBIOS)/os/hal/osal/rt-nil/osal.mk
|
||||||
# RTOS files (optional).
|
# RTOS files (optional).
|
||||||
include $(CHIBIOS)/os/rt/rt.mk
|
include $(CHIBIOS)/os/rt/rt.mk
|
|
@ -1,55 +1,55 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- STM32L4xx board Template -->
|
<!-- STM32WBxx board Template -->
|
||||||
<board
|
<board
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:noNamespaceSchemaLocation="http://www.chibios.org/xml/schema/boards/stm32l4xx_board.xsd">
|
xsi:noNamespaceSchemaLocation="http://www.chibios.org/xml/schema/boards/stm32wbxx_board.xsd">
|
||||||
<configuration_settings>
|
<configuration_settings>
|
||||||
<templates_path>resources/gencfg/processors/boards/stm32l4xx/templates</templates_path>
|
<templates_path>resources/gencfg/processors/boards/stm32wbxx/templates</templates_path>
|
||||||
<output_path>..</output_path>
|
<output_path>..</output_path>
|
||||||
<hal_version>5.0.x</hal_version>
|
<hal_version>5.0.x</hal_version>
|
||||||
</configuration_settings>
|
</configuration_settings>
|
||||||
<board_name>STMicroelectronics STM32 Nucleo144-L496ZG</board_name>
|
<board_name>STMicroelectronics STM32 Nucleo48-WB55RG USB Dongle</board_name>
|
||||||
<board_id>ST_NUCLEO144_L496ZG</board_id>
|
<board_id>ST_NUCLEO48_WB55CG_USB</board_id>
|
||||||
<board_functions></board_functions>
|
<board_functions></board_functions>
|
||||||
<headers></headers>
|
<headers></headers>
|
||||||
<subtype>STM32L496xx</subtype>
|
<subtype>STM32WB55xx</subtype>
|
||||||
<clocks HSEFrequency="0" HSEBypass="false" LSEFrequency="0"
|
<clocks HSEFrequency="32000000" HSEBypass="false" LSEFrequency="32768"
|
||||||
LSEBypass="false" LSEDrive="3 High Drive (default)" VDD="300" />
|
LSEBypass="false" LSEDrive="3 High Drive (default)" VDD="300" ></clocks>
|
||||||
<ports>
|
<ports>
|
||||||
<GPIOA>
|
<GPIOA>
|
||||||
<pin0 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin0 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="WKUP1" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
<pin1 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin1 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="ADC" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
|
||||||
<pin2 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
|
||||||
Mode="Analog" Level="Low" />
|
|
||||||
<pin3 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
|
||||||
Mode="Analog" Level="Low" />
|
|
||||||
<pin4 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
|
||||||
Mode="Analog" Level="Low" />
|
|
||||||
<pin5 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
|
||||||
Mode="Analog" Level="Low" />
|
|
||||||
<pin6 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
|
||||||
Mode="Analog" Level="Low" />
|
|
||||||
<pin7 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin2 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="LPUART1_TX" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin3 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="LPUART1_RX" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin4 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="LED_BLUE" Resistor="Floating"
|
||||||
|
Mode="Output" Level="Low" />
|
||||||
|
<pin5 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="5" ID="SPI1_SCK" Resistor="Floating"
|
||||||
|
Mode="Alternate" Level="High" />
|
||||||
|
<pin6 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="5" ID="SPI1_MISO" Resistor="Floating"
|
||||||
|
Mode="Alternate" Level="High" />
|
||||||
|
<pin7 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="5" ID="SPI1_MOSI" Resistor="Floating"
|
||||||
|
Mode="Alternate" Level="High" />
|
||||||
<pin8 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
<pin8 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="10" ID="USB_SOF" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="PullUp"
|
||||||
Mode="Alternate" Level="Low" />
|
Mode="Input" Level="High" />
|
||||||
<pin9 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin9 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="USB_VBUS" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
<pin10 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
<pin10 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="10" ID="USB_ID" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Alternate" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
<pin11 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
<pin11 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="10" ID="USB_DM" Resistor="Floating"
|
PinLock="Disabled" Alternate="10" ID="USB_DM" Resistor="Floating"
|
||||||
Mode="Alternate" Level="Low" />
|
Mode="Alternate" Level="Low" />
|
||||||
|
@ -62,44 +62,44 @@
|
||||||
<pin14 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
<pin14 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="SWCLK" Resistor="PullUp"
|
PinLock="Disabled" Alternate="0" ID="SWCLK" Resistor="PullUp"
|
||||||
Mode="Alternate" Level="Low" ></pin14>
|
Mode="Alternate" Level="Low" ></pin14>
|
||||||
<pin15 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin15 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
</GPIOA>
|
</GPIOA>
|
||||||
<GPIOB>
|
<GPIOB>
|
||||||
<pin0 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin0 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="LED_GREEN" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Output" Level="Low" />
|
||||||
<pin1 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin1 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="LED_RED" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Output" Level="Low" />
|
||||||
<pin2 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin2 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="5" ID="SPI1_NSS" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Alternate" Level="Low" />
|
||||||
<pin3 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
<pin3 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="SWO" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="SWO" Resistor="Floating"
|
||||||
Mode="Alternate" Level="Low" />
|
Mode="Alternate" Level="Low" />
|
||||||
<pin4 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin4 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
<pin5 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin5 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
<pin6 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin6 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Input" Level="Low" />
|
||||||
<pin7 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
<pin7 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="LED2 LED_BLUE" Resistor="Floating"
|
|
||||||
Mode="Output" Level="Low" />
|
|
||||||
<pin8 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Input" Level="Low" />
|
||||||
<pin9 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin8 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="I2C1_SCL" Resistor="PullUp"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Input" Level="High" />
|
||||||
<pin10 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin9 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="I2C1_SDA" Resistor="PullUp"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Input" Level="High" />
|
||||||
|
<pin10 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="BUTTON" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
<pin11 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin11 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
|
@ -110,17 +110,17 @@
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
<pin14 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
<pin14 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="LED3 LED_RED" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Output" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
<pin15 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin15 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
</GPIOB>
|
</GPIOB>
|
||||||
<GPIOC>
|
<GPIOC>
|
||||||
<pin0 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin0 Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="Low" Type="PushPull"/>
|
||||||
<pin1 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin1 Type="Input" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
<pin2 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin2 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
@ -131,51 +131,51 @@
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
<pin4 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin4 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="High" />
|
||||||
<pin5 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin5 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="High" ></pin5>
|
||||||
<pin6 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin6 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="High" />
|
||||||
<pin7 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
<pin7 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="LED1 LED_GREEN" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Output" Level="Low" />
|
Mode="Analog" Level="High" />
|
||||||
<pin8 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin8 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="High" />
|
||||||
<pin9 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin9 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="High" />
|
||||||
<pin10 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin10 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="High" />
|
||||||
<pin11 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin11 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="High" ></pin11>
|
||||||
<pin12 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin12 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="High" />
|
||||||
<pin13 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin13 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="BUTTON" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Input" Level="Low" />
|
Mode="Analog" Level="High" />
|
||||||
<pin14 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin14 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="OSC32_IN" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Input" Level="High" />
|
||||||
<pin15 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin15 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="OSC32_OUT" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Input" Level="High" />
|
||||||
</GPIOC>
|
</GPIOC>
|
||||||
<GPIOD>
|
<GPIOD>
|
||||||
<pin0 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin0 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="High" />
|
||||||
<pin1 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin1 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="High" />
|
||||||
<pin2 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin2 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="High" />
|
||||||
<pin3 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin3 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
|
@ -333,17 +333,17 @@
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
<pin5 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin5 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="USB_OVER_CURRENT" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Input" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
<pin6 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
<pin6 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="USB_POWER_SWITCH_ON" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Output" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
<pin7 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin7 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="8" ID="LPUART1_TX" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Alternate" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
<pin8 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin8 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="8" ID="LPUART1_RX" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Alternate" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
<pin9 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin9 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
|
@ -367,12 +367,12 @@
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Analog" Level="Low" />
|
||||||
</GPIOG>
|
</GPIOG>
|
||||||
<GPIOH>
|
<GPIOH>
|
||||||
<pin0 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin0 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="OSC_IN" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Input" Level="High" />
|
||||||
<pin1 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin1 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="OSC_OUT" Resistor="Floating"
|
||||||
Mode="Analog" Level="Low" />
|
Mode="Input" Level="High" />
|
||||||
<pin2 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
<pin2 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
Mode="Input" Level="Low" />
|
Mode="Input" Level="Low" />
|
File diff suppressed because it is too large
Load Diff
|
@ -1,8 +1,8 @@
|
||||||
# List of all the board related files.
|
# List of all the board related files.
|
||||||
BOARDSRC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO_WB55RG/board.c
|
BOARDSRC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO68_WB55RG/board.c
|
||||||
|
|
||||||
# Required include directories
|
# Required include directories
|
||||||
BOARDINC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO_WB55RG
|
BOARDINC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO68_WB55RG
|
||||||
|
|
||||||
# Shared variables
|
# Shared variables
|
||||||
ALLCSRC += $(BOARDSRC)
|
ALLCSRC += $(BOARDSRC)
|
|
@ -0,0 +1,420 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- STM32WBxx board Template -->
|
||||||
|
<board
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:noNamespaceSchemaLocation="http://www.chibios.org/xml/schema/boards/stm32wbxx_board.xsd">
|
||||||
|
<configuration_settings>
|
||||||
|
<templates_path>resources/gencfg/processors/boards/stm32wbxx/templates</templates_path>
|
||||||
|
<output_path>..</output_path>
|
||||||
|
<hal_version>5.0.x</hal_version>
|
||||||
|
</configuration_settings>
|
||||||
|
<board_name>STMicroelectronics STM32 Nucleo68-WB55RG</board_name>
|
||||||
|
<board_id>ST_NUCLEO68_WB55RG</board_id>
|
||||||
|
<board_functions></board_functions>
|
||||||
|
<headers></headers>
|
||||||
|
<subtype>STM32WB55xx</subtype>
|
||||||
|
<clocks HSEFrequency="32000000" HSEBypass="false" LSEFrequency="32768"
|
||||||
|
LSEBypass="false" LSEDrive="3 High Drive (default)" VDD="300" />
|
||||||
|
<ports>
|
||||||
|
<GPIOA>
|
||||||
|
<pin0 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_A3 ADC1_IN6" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin1 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_A0 ADC1_IN5" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin2 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_D1 LPUART1_TX" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin3 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_D0 LPUART1_RX" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin4 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_D10 SPI1_NSS" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin5 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_D13 SPI1_SCK" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin6 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_D12 SPI1_MISO" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin7 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_D11 SPI1_MOSI TIM1_CH1N" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin8 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_D6 TIM1_CH1" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin9 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_D9 TIM17_CH1" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin10 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_D3 TIM1_CH3" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin11 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="10" ID="USB_DM" Resistor="Floating"
|
||||||
|
Mode="Alternate" Level="Low" />
|
||||||
|
<pin12 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="10" ID="USB_DP" Resistor="Floating"
|
||||||
|
Mode="Alternate" Level="Low" />
|
||||||
|
<pin13 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="SWDIO" Resistor="PullDown"
|
||||||
|
Mode="Alternate" Level="Low" />
|
||||||
|
<pin14 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="SWCLK" Resistor="PullUp"
|
||||||
|
Mode="Alternate" Level="Low" ></pin14>
|
||||||
|
<pin15 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_D5 TIM2_CH1" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
</GPIOA>
|
||||||
|
<GPIOB>
|
||||||
|
<pin0 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="LED_GREEN" Resistor="Floating"
|
||||||
|
Mode="Output" Level="Low" />
|
||||||
|
<pin1 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="LED_RED" Resistor="Floating"
|
||||||
|
Mode="Output" Level="Low" />
|
||||||
|
<pin2 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin3 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="SWO" Resistor="Floating"
|
||||||
|
Mode="Alternate" Level="Low" />
|
||||||
|
<pin4 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin5 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="LED_BLUE" Resistor="Floating"
|
||||||
|
Mode="Output" Level="Low" />
|
||||||
|
<pin6 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="7" ID="STLK_RX USART1_TX" Resistor="Floating"
|
||||||
|
Mode="Alternate" Level="High" />
|
||||||
|
<pin7 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="7" ID="STLK_TX USART1_RX" Resistor="Floating"
|
||||||
|
Mode="Alternate" Level="High" />
|
||||||
|
<pin8 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_D15 I2C1_SCL" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin9 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_D14 I2C1_SDA" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin10 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="TIM2_CH3" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin11 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin12 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin13 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin14 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="LED3 LED_RED" Resistor="Floating"
|
||||||
|
Mode="Output" Level="Low" />
|
||||||
|
<pin15 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
</GPIOB>
|
||||||
|
<GPIOC>
|
||||||
|
<pin0 Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_A0 ADC1_IN1" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" Type="PushPull"/>
|
||||||
|
<pin1 Type="Input" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_A1 ADC1_IN2" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin2 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_A5 ADC1_IN3" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin3 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_A4 ADC1_IN4" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin4 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="BUTTON_1" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin5 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" ></pin5>
|
||||||
|
<pin6 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_D2" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin7 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin8 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin9 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin10 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_D4" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin11 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" ></pin11>
|
||||||
|
<pin12 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_D8" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin13 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="ARD_D7" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin14 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="OSC32_IN" Resistor="Floating"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin15 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="OSC32_OUT" Resistor="Floating"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
</GPIOC>
|
||||||
|
<GPIOD>
|
||||||
|
<pin0 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="BUTTON_2" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin1 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="BUTTON_3" Resistor="PullUp"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin2 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin3 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin4 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin5 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin6 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin7 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin8 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin9 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin10 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin11 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin12 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin13 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin14 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin15 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
</GPIOD>
|
||||||
|
<GPIOE>
|
||||||
|
<pin0 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin1 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin2 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin3 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin4 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin5 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin6 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin7 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin8 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin9 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin10 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin11 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin12 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin13 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin14 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin15 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
</GPIOE>
|
||||||
|
<GPIOF>
|
||||||
|
<pin0 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin1 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin2 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin3 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin4 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin5 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin6 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin7 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin8 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin9 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin10 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin11 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin12 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin13 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin14 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin15 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
</GPIOF>
|
||||||
|
<GPIOG>
|
||||||
|
<pin0 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin1 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin2 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin3 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin4 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin5 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin6 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin7 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin8 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin9 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin10 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin11 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin12 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin13 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin14 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
<pin15 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Analog" Level="Low" />
|
||||||
|
</GPIOG>
|
||||||
|
<GPIOH>
|
||||||
|
<pin0 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="OSC_IN" Resistor="Floating"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin1 Type="PushPull" Speed="Maximum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="OSC_OUT" Resistor="Floating"
|
||||||
|
Mode="Input" Level="High" />
|
||||||
|
<pin2 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Input" Level="Low" />
|
||||||
|
<pin3 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Input" Level="Low" />
|
||||||
|
<pin4 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Input" Level="Low" />
|
||||||
|
<pin5 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Input" Level="Low" />
|
||||||
|
<pin6 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Input" Level="Low" />
|
||||||
|
<pin7 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Input" Level="Low" />
|
||||||
|
<pin8 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Input" Level="Low" />
|
||||||
|
<pin9 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Input" Level="Low" />
|
||||||
|
<pin10 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Input" Level="Low" />
|
||||||
|
<pin11 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Input" Level="Low" />
|
||||||
|
<pin12 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Input" Level="Low" />
|
||||||
|
<pin13 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Input" Level="Low" />
|
||||||
|
<pin14 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Input" Level="Low" />
|
||||||
|
<pin15 Type="PushPull" Speed="Minimum" AnalogSwitch="Disabled"
|
||||||
|
PinLock="Disabled" Alternate="0" ID="" Resistor="Floating"
|
||||||
|
Mode="Input" Level="Low" />
|
||||||
|
</GPIOH>
|
||||||
|
</ports>
|
||||||
|
</board>
|
|
@ -0,0 +1,15 @@
|
||||||
|
sourceRoot: ../../../../../tools/ftl/processors/boards/stm32wbxx/templates
|
||||||
|
outputRoot: ..
|
||||||
|
dataRoot: .
|
||||||
|
|
||||||
|
freemarkerLinks: {
|
||||||
|
lib: ../../../../../tools/ftl/libs
|
||||||
|
}
|
||||||
|
|
||||||
|
data : {
|
||||||
|
doc1:xml (
|
||||||
|
board.chcfg
|
||||||
|
{
|
||||||
|
}
|
||||||
|
)
|
||||||
|
}
|
|
@ -120,11 +120,11 @@
|
||||||
#define STM32_MSIRANGE_48M (11 << 4) /**< 48MHz nominal. */
|
#define STM32_MSIRANGE_48M (11 << 4) /**< 48MHz nominal. */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief HSE SYSCLK and PLL M devider prescaler.
|
* @brief HSE SYSCLK and PLL M divider prescaler.
|
||||||
*/
|
*/
|
||||||
#define STM32_HSEPRE_MASK (1 << 20) /**< HSEPRE mask. */
|
#define STM32_HSEPRE_MASK (1 << 20) /**< HSEPRE mask. */
|
||||||
#define STM32_HSEPRE_DIV1 (0 << 20) /**< HSE devided by 1. */
|
#define STM32_HSEPRE_DIV1 (0 << 20) /**< HSE divided by 1. */
|
||||||
#define STM32_HSEPRE_DIV2 (1 << 20) /**< HSE devided by 2. */
|
#define STM32_HSEPRE_DIV2 (1 << 20) /**< HSE divided by 2. */
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -189,7 +189,45 @@
|
||||||
* @name RCC_EXTCFGR register bits definitions
|
* @name RCC_EXTCFGR register bits definitions
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
/* TODO(ilya): RFCSS, C2HPREF, SHDHPREF, C2HPRE and SHDHPRE. */
|
#define STM32_SHDHPRE_MASK (15 << 0) /**< SHDHPRE field mask. */
|
||||||
|
#define STM32_SHDHPRE_DIV2 (8 << 0) /**< SYSCLK divided by 2. */
|
||||||
|
#define STM32_SHDHPRE_DIV3 (1 << 0) /**< SYSCLK divided by 3. */
|
||||||
|
#define STM32_SHDHPRE_DIV4 (9 << 0) /**< SYSCLK divided by 4. */
|
||||||
|
#define STM32_SHDHPRE_DIV5 (2 << 0) /**< SYSCLK divided by 5. */
|
||||||
|
#define STM32_SHDHPRE_DIV6 (5 << 0) /**< SYSCLK divided by 6. */
|
||||||
|
#define STM32_SHDHPRE_DIV8 (10 << 0) /**< SYSCLK divided by 8. */
|
||||||
|
#define STM32_SHDHPRE_DIV10 (6 << 0) /**< SYSCLK divided by 10. */
|
||||||
|
#define STM32_SHDHPRE_DIV16 (11 << 0) /**< SYSCLK divided by 16. */
|
||||||
|
#define STM32_SHDHPRE_DIV32 (7 << 0) /**< SYSCLK divided by 32. */
|
||||||
|
#define STM32_SHDHPRE_DIV64 (12 << 0) /**< SYSCLK divided by 64. */
|
||||||
|
#define STM32_SHDHPRE_DIV128 (13 << 0) /**< SYSCLK divided by 128. */
|
||||||
|
#define STM32_SHDHPRE_DIV256 (14 << 0) /**< SYSCLK divided by 256. */
|
||||||
|
#define STM32_SHDHPRE_DIV512 (15 << 0) /**< SYSCLK divided by 512. */
|
||||||
|
|
||||||
|
#define STM32_C2HPRE_MASK (15 << 4) /**< C2HPRE field mask. */
|
||||||
|
#define STM32_C2HPRE_DIV2 (8 << 4) /**< SYSCLK divided by 2. */
|
||||||
|
#define STM32_C2HPRE_DIV3 (1 << 4) /**< SYSCLK divided by 3. */
|
||||||
|
#define STM32_C2HPRE_DIV4 (9 << 4) /**< SYSCLK divided by 4. */
|
||||||
|
#define STM32_C2HPRE_DIV5 (2 << 4) /**< SYSCLK divided by 5. */
|
||||||
|
#define STM32_C2HPRE_DIV6 (5 << 4) /**< SYSCLK divided by 6. */
|
||||||
|
#define STM32_C2HPRE_DIV8 (10 << 4) /**< SYSCLK divided by 8. */
|
||||||
|
#define STM32_C2HPRE_DIV10 (6 << 4) /**< SYSCLK divided by 10. */
|
||||||
|
#define STM32_C2HPRE_DIV16 (11 << 4) /**< SYSCLK divided by 16. */
|
||||||
|
#define STM32_C2HPRE_DIV32 (7 << 4) /**< SYSCLK divided by 32. */
|
||||||
|
#define STM32_C2HPRE_DIV64 (12 << 4) /**< SYSCLK divided by 64. */
|
||||||
|
#define STM32_C2HPRE_DIV128 (13 << 4) /**< SYSCLK divided by 128. */
|
||||||
|
#define STM32_C2HPRE_DIV256 (14 << 4) /**< SYSCLK divided by 256. */
|
||||||
|
#define STM32_C2HPRE_DIV512 (15 << 4) /**< SYSCLK divided by 512. */
|
||||||
|
|
||||||
|
#define STM32_SHDHPREF_MASK (1 << 16) /**< SHDHPREF field mask. */
|
||||||
|
#define STM32_SHDHPREF_HCLK4RDY (1 << 16) /**< SHDHPREF HCLK4 ready. */
|
||||||
|
|
||||||
|
#define STM32_C2HPREF_MASK (1 << 17) /**< C2HPREF field mask. */
|
||||||
|
#define STM32_C2HPREF_HCLK2RDY (1 << 16) /**< C2HPREF HCLK2 ready. */
|
||||||
|
|
||||||
|
#define STM32_RFCSS_MASK (1 << 20) /**< RFCSS field mask. */
|
||||||
|
#define STM32_RFCSS_HSI16 (0 << 20) /**< HSI16 on HCLK5 and APB3. */
|
||||||
|
#define STM32_RFCSS_HSEDIV2 (1 << 20) /**< HSE/2 on HCLK5 and APB3. */
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -197,6 +235,7 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
/* TODO(ilya): TSCEN, CRCEN, SRAM1EN, DMAMUX1, DMA2EN and DMA1EN */
|
/* TODO(ilya): TSCEN, CRCEN, SRAM1EN, DMAMUX1, DMA2EN and DMA1EN */
|
||||||
|
#define STM32_DMA1EN_MASK (1 << 0) /**< DMA1EN field mask. */
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -686,7 +725,7 @@
|
||||||
#define STM32_LSECLK_MAX 32768
|
#define STM32_LSECLK_MAX 32768
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Maximum LSE clock frequency.
|
* @brief Maximum LSE clock frequency using an external source.
|
||||||
*/
|
*/
|
||||||
#define STM32_LSECLK_BYP_MAX 1000000
|
#define STM32_LSECLK_BYP_MAX 1000000
|
||||||
|
|
||||||
|
@ -696,7 +735,7 @@
|
||||||
#define STM32_LSECLK_MIN 32768
|
#define STM32_LSECLK_MIN 32768
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Minimum LSE clock frequency.
|
* @brief Minimum LSE clock frequency using an external source.
|
||||||
*/
|
*/
|
||||||
#define STM32_LSECLK_BYP_MIN 32768
|
#define STM32_LSECLK_BYP_MIN 32768
|
||||||
|
|
||||||
|
@ -708,7 +747,7 @@
|
||||||
/**
|
/**
|
||||||
* @brief Minimum PLLs input clock frequency.
|
* @brief Minimum PLLs input clock frequency.
|
||||||
*/
|
*/
|
||||||
#define STM32_PLLIN_MIN 4000000
|
#define STM32_PLLIN_MIN 2660000
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Maximum VCO clock frequency at current voltage setting.
|
* @brief Maximum VCO clock frequency at current voltage setting.
|
||||||
|
@ -718,7 +757,17 @@
|
||||||
/**
|
/**
|
||||||
* @brief Minimum VCO clock frequency at current voltage setting.
|
* @brief Minimum VCO clock frequency at current voltage setting.
|
||||||
*/
|
*/
|
||||||
#define STM32_PLLVCO_MIN 64000000
|
#define STM32_PLLVCO_MIN 96000000
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Maximum VCO clock frequency at current voltage setting.
|
||||||
|
*/
|
||||||
|
#define STM32_PLLSAI1VCO_MAX 344000000
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Minimum VCO clock frequency at current voltage setting.
|
||||||
|
*/
|
||||||
|
#define STM32_PLLSAI1VCO_MIN 64000000
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Maximum PLL-P output clock frequency.
|
* @brief Maximum PLL-P output clock frequency.
|
||||||
|
@ -728,7 +777,7 @@
|
||||||
/**
|
/**
|
||||||
* @brief Minimum PLL-P output clock frequency.
|
* @brief Minimum PLL-P output clock frequency.
|
||||||
*/
|
*/
|
||||||
#define STM32_PLLP_MIN 2064500
|
#define STM32_PLLP_MIN 3000000
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Maximum PLL-Q output clock frequency.
|
* @brief Maximum PLL-Q output clock frequency.
|
||||||
|
@ -738,7 +787,7 @@
|
||||||
/**
|
/**
|
||||||
* @brief Minimum PLL-Q output clock frequency.
|
* @brief Minimum PLL-Q output clock frequency.
|
||||||
*/
|
*/
|
||||||
#define STM32_PLLQ_MIN 8000000
|
#define STM32_PLLQ_MIN 12000000
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Maximum PLL-R output clock frequency.
|
* @brief Maximum PLL-R output clock frequency.
|
||||||
|
@ -748,7 +797,7 @@
|
||||||
/**
|
/**
|
||||||
* @brief Minimum PLL-R output clock frequency.
|
* @brief Minimum PLL-R output clock frequency.
|
||||||
*/
|
*/
|
||||||
#define STM32_PLLR_MIN 8000000
|
#define STM32_PLLR_MIN 12000000
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Maximum APB1 clock frequency.
|
* @brief Maximum APB1 clock frequency.
|
||||||
|
@ -789,7 +838,9 @@
|
||||||
#define STM32_PLLIN_MAX 16000000
|
#define STM32_PLLIN_MAX 16000000
|
||||||
#define STM32_PLLIN_MIN 4000000
|
#define STM32_PLLIN_MIN 4000000
|
||||||
#define STM32_PLLVCO_MAX 128000000
|
#define STM32_PLLVCO_MAX 128000000
|
||||||
#define STM32_PLLVCO_MIN 64000000
|
#define STM32_PLLVCO_MIN 96000000
|
||||||
|
#define STM32_PLLSAI1VCO_MAX 128000000
|
||||||
|
#define STM32_PLLSAI1VCO_MIN 64000000
|
||||||
#define STM32_PLLP_MAX 26000000
|
#define STM32_PLLP_MAX 26000000
|
||||||
#define STM32_PLLP_MIN 2064500
|
#define STM32_PLLP_MIN 2064500
|
||||||
#define STM32_PLLQ_MAX 26000000
|
#define STM32_PLLQ_MAX 26000000
|
||||||
|
@ -841,7 +892,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief HSE prescale devider.
|
* @brief HSE prescale divider.
|
||||||
*/
|
*/
|
||||||
#if STM32_HSEPRE_VALUE == 1
|
#if STM32_HSEPRE_VALUE == 1
|
||||||
#define STM32_HSEPRE STM32_HSEPRE_DIV1
|
#define STM32_HSEPRE STM32_HSEPRE_DIV1
|
||||||
|
@ -1432,7 +1483,8 @@
|
||||||
* PLLSAI1 VCO frequency range check.
|
* PLLSAI1 VCO frequency range check.
|
||||||
*/
|
*/
|
||||||
#if STM32_ACTIVATE_PLLSAI1 && \
|
#if STM32_ACTIVATE_PLLSAI1 && \
|
||||||
((STM32_PLLSAI1VCO < STM32_PLLVCO_MIN) || (STM32_PLLSAI1VCO > STM32_PLLVCO_MAX))
|
((STM32_PLLSAI1VCO < STM32_PLLSAI1VCO_MIN) || \
|
||||||
|
(STM32_PLLSAI1VCO > STM32_PLLSAI1VCO_MAX))
|
||||||
#error "STM32_PLLSAI1VCO outside acceptable range (STM32_PLLVCO_MIN...STM32_PLLVCO_MAX)"
|
#error "STM32_PLLSAI1VCO outside acceptable range (STM32_PLLVCO_MIN...STM32_PLLVCO_MAX)"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -90,9 +90,9 @@ MCU = cortex-m4
|
||||||
|
|
||||||
# Imported source files and paths.
|
# Imported source files and paths.
|
||||||
CHIBIOS := ../../../..
|
CHIBIOS := ../../../..
|
||||||
CONFDIR := ./cfg/stm32wb55rg_nucleo64
|
CONFDIR := ./cfg/stm32wb55rg_nucleo68
|
||||||
BUILDDIR := ./build/stm32wb55rg_nucleo64
|
BUILDDIR := ./build/st32wb55rg_nucleo68
|
||||||
DEPDIR := ./.dep/stm32wb55rg_nucleo64
|
DEPDIR := ./.dep/st32wb55rg_nucleo68
|
||||||
|
|
||||||
# Licensing files.
|
# Licensing files.
|
||||||
include $(CHIBIOS)/os/license/license.mk
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
|
@ -101,7 +101,7 @@ include $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32wbxx.m
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/hal/ports/STM32/STM32WBxx/platform.mk
|
include $(CHIBIOS)/os/hal/ports/STM32/STM32WBxx/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/boards/ST_NUCLEO_WB55RG/board.mk
|
include $(CHIBIOS)/os/hal/boards/ST_NUCLEO68_WB55RG/board.mk
|
||||||
include $(CHIBIOS)/os/hal/osal/rt-nil/osal.mk
|
include $(CHIBIOS)/os/hal/osal/rt-nil/osal.mk
|
||||||
# RTOS files (optional).
|
# RTOS files (optional).
|
||||||
include $(CHIBIOS)/os/rt/rt.mk
|
include $(CHIBIOS)/os/rt/rt.mk
|
|
@ -90,9 +90,9 @@ MCU = cortex-m4
|
||||||
|
|
||||||
# Imported source files and paths.
|
# Imported source files and paths.
|
||||||
CHIBIOS := ../../../..
|
CHIBIOS := ../../../..
|
||||||
CONFDIR := ./cfg/stm32wb55rg_nucleo64
|
CONFDIR := ./cfg/stm32wb55rg_nucleo68
|
||||||
BUILDDIR := ./build/stm32wb55rg_nucleo64
|
BUILDDIR := ./build/st32wb55rg_nucleo68
|
||||||
DEPDIR := ./.dep/stm32wb55rg_nucleo64
|
DEPDIR := ./.dep/st32wb55rg_nucleo68
|
||||||
|
|
||||||
# Licensing files.
|
# Licensing files.
|
||||||
include $(CHIBIOS)/os/license/license.mk
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
|
@ -101,7 +101,7 @@ include $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32wbxx.m
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/hal/ports/STM32/STM32WBxx/platform.mk
|
include $(CHIBIOS)/os/hal/ports/STM32/STM32WBxx/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/boards/ST_NUCLEO_WB55RG/board.mk
|
include $(CHIBIOS)/os/hal/boards/ST_NUCLEO68_WB55RG/board.mk
|
||||||
include $(CHIBIOS)/os/hal/osal/rt-nil/osal.mk
|
include $(CHIBIOS)/os/hal/osal/rt-nil/osal.mk
|
||||||
# RTOS files (optional).
|
# RTOS files (optional).
|
||||||
include $(CHIBIOS)/os/rt/rt.mk
|
include $(CHIBIOS)/os/rt/rt.mk
|
|
@ -90,9 +90,9 @@ MCU = cortex-m4
|
||||||
|
|
||||||
# Imported source files and paths.
|
# Imported source files and paths.
|
||||||
CHIBIOS := ../../../..
|
CHIBIOS := ../../../..
|
||||||
CONFDIR := ./cfg/stm32wb55rg_nucleo64
|
CONFDIR := ./cfg/stm32wb55rg_nucleo68
|
||||||
BUILDDIR := ./build/st32wb55rg_nucleo64
|
BUILDDIR := ./build/st32wb55rg_nucleo68
|
||||||
DEPDIR := ./.dep/st32wb55rg_nucleo64
|
DEPDIR := ./.dep/st32wb55rg_nucleo68
|
||||||
|
|
||||||
# Licensing files.
|
# Licensing files.
|
||||||
include $(CHIBIOS)/os/license/license.mk
|
include $(CHIBIOS)/os/license/license.mk
|
|
@ -90,9 +90,9 @@ MCU = cortex-m4
|
||||||
|
|
||||||
# Imported source files and paths.
|
# Imported source files and paths.
|
||||||
CHIBIOS := ../../../..
|
CHIBIOS := ../../../..
|
||||||
CONFDIR := ./cfg/stm32wb55rg_nucleo64
|
CONFDIR := ./cfg/stm32wb55rg_nucleo68
|
||||||
BUILDDIR := ./build/st32wb55rg_nucleo64
|
BUILDDIR := ./build/stm32wb55rg_nucleo68
|
||||||
DEPDIR := ./.dep/st32wb55rg_nucleo64
|
DEPDIR := ./.dep/stm32wb55rg_nucleo68
|
||||||
|
|
||||||
# Licensing files.
|
# Licensing files.
|
||||||
include $(CHIBIOS)/os/license/license.mk
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
|
@ -101,7 +101,7 @@ include $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32wbxx.m
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/hal/ports/STM32/STM32WBxx/platform.mk
|
include $(CHIBIOS)/os/hal/ports/STM32/STM32WBxx/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/boards/ST_NUCLEO_WB55RG/board.mk
|
include $(CHIBIOS)/os/hal/boards/ST_NUCLEO68_WB55RG/board.mk
|
||||||
include $(CHIBIOS)/os/hal/osal/rt-nil/osal.mk
|
include $(CHIBIOS)/os/hal/osal/rt-nil/osal.mk
|
||||||
# RTOS files (optional).
|
# RTOS files (optional).
|
||||||
include $(CHIBIOS)/os/rt/rt.mk
|
include $(CHIBIOS)/os/rt/rt.mk
|
|
@ -90,9 +90,9 @@ MCU = cortex-m4
|
||||||
|
|
||||||
# Imported source files and paths.
|
# Imported source files and paths.
|
||||||
CHIBIOS := ../../../..
|
CHIBIOS := ../../../..
|
||||||
CONFDIR := ./cfg/stm32wb55rg_nucleo64
|
CONFDIR := ./cfg/stm32wb55rg_nucleo68
|
||||||
BUILDDIR := ./build/st32wb55rg_nucleo64
|
BUILDDIR := ./build/stm32wb55rg_nucleo68
|
||||||
DEPDIR := ./.dep/st32wb55rg_nucleo64
|
DEPDIR := ./.dep/stm32wb55rg_nucleo68
|
||||||
|
|
||||||
# Licensing files.
|
# Licensing files.
|
||||||
include $(CHIBIOS)/os/license/license.mk
|
include $(CHIBIOS)/os/license/license.mk
|
||||||
|
@ -101,7 +101,7 @@ include $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32wbxx.m
|
||||||
# HAL-OSAL files (optional).
|
# HAL-OSAL files (optional).
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/hal/ports/STM32/STM32WBxx/platform.mk
|
include $(CHIBIOS)/os/hal/ports/STM32/STM32WBxx/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/boards/ST_NUCLEO_WB55RG/board.mk
|
include $(CHIBIOS)/os/hal/boards/ST_NUCLEO68_WB55RG/board.mk
|
||||||
include $(CHIBIOS)/os/hal/osal/rt-nil/osal.mk
|
include $(CHIBIOS)/os/hal/osal/rt-nil/osal.mk
|
||||||
# RTOS files (optional).
|
# RTOS files (optional).
|
||||||
include $(CHIBIOS)/os/rt/rt.mk
|
include $(CHIBIOS)/os/rt/rt.mk
|
|
@ -4,7 +4,7 @@
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:noNamespaceSchemaLocation="http://www.chibios.org/xml/schema/boards/stm32wbxx_board.xsd">
|
xsi:noNamespaceSchemaLocation="http://www.chibios.org/xml/schema/boards/stm32wbxx_board.xsd">
|
||||||
<configuration_settings>
|
<configuration_settings>
|
||||||
<templates_path>resources/gencfg/processors/boards/stm32l4xx/templates</templates_path>
|
<templates_path>resources/gencfg/processors/boards/stm32wbxx/templates</templates_path>
|
||||||
<output_path>.</output_path>
|
<output_path>.</output_path>
|
||||||
<hal_version>5.0.x</hal_version>
|
<hal_version>5.0.x</hal_version>
|
||||||
</configuration_settings>
|
</configuration_settings>
|
||||||
|
|
Loading…
Reference in New Issue