mirror of https://github.com/ARMmbed/mbed-os.git
STM32WL README update for custom boards
parent
8462a19207
commit
2bdd68f0d0
|
|
@ -18,7 +18,7 @@ Table of Contents
|
||||||
* [Add a custom board](#add-a-custom-board)
|
* [Add a custom board](#add-a-custom-board)
|
||||||
* [Board specific files (pinmap)](#board-specific-files-pinmap)
|
* [Board specific files (pinmap)](#board-specific-files-pinmap)
|
||||||
* [Use of custom_targets.json](#use-of-custom_targetsjson)
|
* [Use of custom_targets.json](#use-of-custom_targetsjson)
|
||||||
* [Make you custom board public](#make-you-custom-board-public)
|
* [Make your custom board public](#make-you-custom-board-public)
|
||||||
* [ST specific implementation](#st-specific-implementation)
|
* [ST specific implementation](#st-specific-implementation)
|
||||||
* [Pin configuration](#pin-configuration)
|
* [Pin configuration](#pin-configuration)
|
||||||
* [Alternate feature](#alternate-feature)
|
* [Alternate feature](#alternate-feature)
|
||||||
|
|
@ -26,7 +26,7 @@ Table of Contents
|
||||||
* [Clock selection](#clock-selection)
|
* [Clock selection](#clock-selection)
|
||||||
* [System clock](#system-clock)
|
* [System clock](#system-clock)
|
||||||
* [Low power clock](#low-power-clock)
|
* [Low power clock](#low-power-clock)
|
||||||
* [I2C TIming calculation algorothm](#i2c-timing-calculation-algorothm)
|
* [I2C Timing calculation algorithm](#i2c-timing-calculation-algorithm)
|
||||||
* [Sleep feature](#sleep-feature)
|
* [Sleep feature](#sleep-feature)
|
||||||
* [WiFi configuration](#wifi-configuration)
|
* [WiFi configuration](#wifi-configuration)
|
||||||
* [Ethernet configuration](#ethernet-configuration)
|
* [Ethernet configuration](#ethernet-configuration)
|
||||||
|
|
@ -334,9 +334,9 @@ $ mv TARGET_STM32H745ZIT TARGET_H745ZI_BOARD
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Make you custom board public
|
### Make your custom board public
|
||||||
|
|
||||||
We will be happy to add every public boards in https://github.com/ARMmbed/stm32customtargets
|
We will be happy to add every public board in https://github.com/ARMmbed/stm32customtargets
|
||||||
|
|
||||||
Make a Pull request, we will check consistency and build.
|
Make a Pull request, we will check consistency and build.
|
||||||
|
|
||||||
|
|
@ -428,7 +428,7 @@ You can change this in you local mbed_app.json:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### I2C TIming calculation algorothm
|
#### I2C Timing calculation algorithm
|
||||||
|
|
||||||
I2C drivers version 2 use I2C timing register.
|
I2C drivers version 2 use I2C timing register.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,18 @@ This ST MCU family is dual-core : based on an Arm Cortex-M4 core and an Arm Cort
|
||||||
|
|
||||||
Only M4 core is currently used by mbed-os applications.
|
Only M4 core is currently used by mbed-os applications.
|
||||||
|
|
||||||
|
* [Supported boards](#supported-boards)
|
||||||
|
* [NUCLEO_WL55JC](#nucleo_wl55jc)
|
||||||
|
* [CUSTOM boards](#custom-boards)
|
||||||
|
* [LoRa](#lora)
|
||||||
|
* [MBED-OS support](#mbed-os-support)
|
||||||
|
* [baremetal support](#baremetal-support)
|
||||||
|
* [Antenna configuration](#antenna-configuration)
|
||||||
|
* [GPIO debug pins](#gpio-debug-pins)
|
||||||
|
* [mbed-os test](#mbed-os-test)
|
||||||
|
* [Application example](#application-example)
|
||||||
|
|
||||||
|
|
||||||
# Supported boards
|
# Supported boards
|
||||||
|
|
||||||
## NUCLEO_WL55JC
|
## NUCLEO_WL55JC
|
||||||
|
|
@ -19,6 +31,12 @@ Only M4 core is currently used by mbed-os applications.
|
||||||
- Total FLASH is 256KB
|
- Total FLASH is 256KB
|
||||||
- RAM: 64 KB
|
- RAM: 64 KB
|
||||||
|
|
||||||
|
|
||||||
|
## CUSTOM boards
|
||||||
|
|
||||||
|
Check https://github.com/ARMmbed/stm32customtargets
|
||||||
|
|
||||||
|
|
||||||
# LoRa
|
# LoRa
|
||||||
|
|
||||||
## MBED-OS support
|
## MBED-OS support
|
||||||
|
|
@ -37,6 +55,18 @@ mbed_app.json:
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Antenna configuration
|
||||||
|
|
||||||
|
NUCLEO HW configuration is provided as the default configuration.
|
||||||
|
|
||||||
|
https://github.com/ARMmbed/mbed-os/blob/master/connectivity/drivers/lora/TARGET_STM32WL/STM32WL_radio_driver.cpp#L23
|
||||||
|
```
|
||||||
|
MBED_WEAK void set_antenna_switch(RBI_Switch_TypeDef state)
|
||||||
|
```
|
||||||
|
|
||||||
|
So you can overwrite it for your custom board.
|
||||||
|
|
||||||
|
|
||||||
## GPIO debug pins
|
## GPIO debug pins
|
||||||
|
|
||||||
2 pins can be configured to check RX and TX activity.
|
2 pins can be configured to check RX and TX activity.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue