mirror of https://github.com/ARMmbed/mbed-os.git
|
||
---|---|---|
.. | ||
STM32Cube_FW | ||
TARGET_STM32WL54xC | ||
TARGET_STM32WL55xC | ||
TARGET_STM32WLE4x8 | ||
TARGET_STM32WLE4xB | ||
TARGET_STM32WLE4xC | ||
TARGET_STM32WLE5x8 | ||
TARGET_STM32WLE5xB | ||
TARGET_STM32WLE5xC | ||
CMakeLists.txt | ||
PeripheralNames.h | ||
README.md | ||
analogin_device.c | ||
analogout_device.c | ||
cmsis.h | ||
flash_api.c | ||
gpio_irq_device.c | ||
gpio_irq_device.h | ||
i2c_device.c | ||
i2c_device.h | ||
objects.h | ||
pin_device.h | ||
pwmout_device.c | ||
pwmout_device.h | ||
serial_device.c | ||
spi_api.c | ||
spi_device.h | ||
system_clock.c | ||
us_ticker_data.h |
README.md
STM32WL family
This ST MCU family is dual-core : based on an Arm Cortex-M4 core and an Arm Cortex-M0+ core.
Only M4 core is currently used by mbed-os applications.
Supported boards
NUCLEO_WL55JC
- Total FLASH is 256KB
- RAM: 64 KB
CUSTOM boards
Check https://github.com/ARMmbed/stm32customtargets
LoRa
MBED-OS support
Lora radio is enabled in default STM32WL configuration
baremetal support
Baremetal is supported.
mbed_app.json:
{
"requires": ["bare-metal", "lora", "stm32wl-lora-driver"]
}
Antenna configuration
NUCLEO HW configuration is provided as the default configuration.
MBED_WEAK void set_antenna_switch(RBI_Switch_TypeDef state)
So you can overwrite it for your custom board.
GPIO debug pins
2 pins can be configured to check RX and TX activity.
Example of mbed_app.json:
{
"target_overrides": {
"NUCLEO_WL55JC": {
"stm32wl-lora-driver.debug_rx": "LED1",
"stm32wl-lora-driver.debug_tx": "LED2"
}
}
}
mbed-os test
target | platform_name | test suite | result | elapsed_time (sec) | copy_method |
---|---|---|---|---|---|
NUCLEO_WL55JC-ARMC6 | NUCLEO_WL55JC | connectivity-lorawan-tests-tests-lorawan-loraradio | OK | 44.8 | default |