Skip to content

Commit

Permalink
STM32WL README update for custom boards
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromecoutant committed Jul 13, 2021
1 parent 8462a19 commit 2bdd68f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 5 deletions.
10 changes: 5 additions & 5 deletions targets/TARGET_STM/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ Table of Contents
* [Add a custom board](#add-a-custom-board)
* [Board specific files (pinmap)](#board-specific-files-pinmap)
* [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)
* [Pin configuration](#pin-configuration)
* [Alternate feature](#alternate-feature)
* [Conflict pins](#conflict-pins)
* [Clock selection](#clock-selection)
* [System clock](#system-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)
* [WiFi configuration](#wifi-configuration)
* [Ethernet configuration](#ethernet-configuration)
Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down
30 changes: 30 additions & 0 deletions targets/TARGET_STM/TARGET_STM32WL/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

* [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

## NUCLEO_WL55JC
Expand All @@ -19,6 +31,12 @@ Only M4 core is currently used by mbed-os applications.
- Total FLASH is 256KB
- RAM: 64 KB


## CUSTOM boards

Check https://github.com/ARMmbed/stm32customtargets


# LoRa

## MBED-OS support
Expand All @@ -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

2 pins can be configured to check RX and TX activity.
Expand Down

0 comments on commit 2bdd68f

Please sign in to comment.