Skip to content

Commit d5df967

Browse files
authored
Merge branch 'stm32duino:main' into main
2 parents 7b1fbef + 82af34e commit d5df967

File tree

7 files changed

+101
-27
lines changed

7 files changed

+101
-27
lines changed
Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,31 @@
1-
name: STM32 Core Continuous Integration
1+
name: STM32 Core build using arduino-cli
22
on:
33
push:
44
branches:
55
- main
66
paths-ignore:
7+
- .github/**
8+
- '!.github/workflows/Arduino-build.yml'
79
- '*.json'
810
- '**.md'
911
- keywords.txt
1012
- CI/**
1113
- '!CI/build/arduino-cli.py'
12-
- '!CI/build/platformio-builder.py'
1314
- '!CI/build/examples/**'
15+
- cmake/**
1416
- tools/**
15-
- '!tools/platformio-build.py'
1617
pull_request:
1718
paths-ignore:
19+
- .github/**
20+
- '!.github/workflows/Arduino-build.yml'
1821
- '*.json'
1922
- '**.md'
2023
- keywords.txt
2124
- CI/**
2225
- '!CI/build/arduino-cli.py'
23-
- '!CI/build/platformio-builder.py'
2426
- '!CI/build/examples/**'
27+
- cmake/**
2528
- tools/**
26-
- '!tools/platformio-build.py'
2729
# Allows you to run this workflow manually from the Actions tab
2830
workflow_dispatch:
2931
jobs:
@@ -47,14 +49,3 @@ jobs:
4749
run: |
4850
cat ${{ steps.Compile.outputs.compile-result }}
4951
exit 1
50-
pio_build:
51-
runs-on: ubuntu-latest
52-
name: PlatformIO test
53-
steps:
54-
# First of all, clone the repo using the checkout action.
55-
- name: Checkout
56-
uses: actions/checkout@main
57-
58-
- name: PlatformIO
59-
id: Compile
60-
uses: ./.github/actions/pio-build

.github/workflows/Cmake.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,23 @@ on:
44
push:
55
branches:
66
- main
7+
paths-ignore:
8+
- .github/**
9+
- '!.github/workflows/Cmake.yml'
10+
- '*.json'
11+
- '**.md'
12+
- keywords.txt
13+
- CI/**
14+
- tools/**
715
pull_request:
16+
paths-ignore:
17+
- .github/**
18+
- '!.github/workflows/Arduino-build.yml'
19+
- '*.json'
20+
- '**.md'
21+
- keywords.txt
22+
- CI/**
23+
- tools/**
824
# Allows you to run this workflow manually from the Actions tab
925
workflow_dispatch:
1026
jobs:
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Check Markdown Links
2+
# runs every monday at 9 am
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- '**.md'
9+
pull_request:
10+
paths:
11+
- '**.md'
12+
# Allows you to run this workflow manually from the Actions tab
13+
workflow_dispatch:
14+
jobs:
15+
linkinator:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: JustinBeckwith/linkinator-action@v1
20+
with:
21+
paths: '*.md ./CI/**/*.md, ./variants/**/*.md, ./libraries/**/*.md'
22+
verbosity: 'INFO'
23+
skip: 'www.st.com'

.github/workflows/PIO-build.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: PlatformIO build
2+
on:
3+
push:
4+
branches:
5+
- main
6+
paths-ignore:
7+
- .github/**
8+
- '!.github/actions/pio-build/**'
9+
- '!.github/workflows/PIO-build.yml'
10+
- '*.json'
11+
- '**.md'
12+
- keywords.txt
13+
- CI/**
14+
- '!CI/build/platformio-builder.py'
15+
- cmake/**
16+
- tools/**
17+
- '!tools/platformio-build.py'
18+
pull_request:
19+
paths-ignore:
20+
- .github/**
21+
- '!.github/actions/pio-build/**'
22+
- '!.github/workflows/PIO-build.yml'
23+
- '*.json'
24+
- '**.md'
25+
- keywords.txt
26+
- CI/**
27+
- '!CI/build/platformio-builder.py'
28+
- cmake/**
29+
- tools/**
30+
- '!tools/platformio-build.py'
31+
# Allows you to run this workflow manually from the Actions tab
32+
workflow_dispatch:
33+
jobs:
34+
pio_build:
35+
runs-on: ubuntu-latest
36+
name: PlatformIO test
37+
steps:
38+
# First of all, clone the repo using the checkout action.
39+
- name: Checkout
40+
uses: actions/checkout@main
41+
42+
- name: PlatformIO
43+
id: Compile
44+
uses: ./.github/actions/pio-build

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
175175

176176
| Status | Device(s) | Name | Release | Notes |
177177
| :----: | :-------: | ---- | :-----: | :---- |
178-
| :green_heart: | STM32MP157A | [STM32MP157A-DK1](https://www.st.com/en/evaluation-tools/stm32mp157a-dk1.html) | *1.8.0* | See [the documentation](https://github.com/stm32duino/Arduino_Core_STM32/tree/main/variants/STM32MP157_DK/README.md) to use this board|
179-
| :green_heart: | STM32MP157C | [STM32MP157C-DK2](https://www.st.com/en/evaluation-tools/stm32mp157c-dk2.html) | *1.8.0* | See [the documentation](https://github.com/stm32duino/Arduino_Core_STM32/tree/main/variants/STM32MP157_DK/README.md) to use this board|
178+
| :green_heart: | STM32MP157A | [STM32MP157A-DK1](https://www.st.com/en/evaluation-tools/stm32mp157a-dk1.html) | *1.8.0* | See [the documentation](https://github.com/stm32duino/Arduino_Core_STM32/tree/main/variants/STM32MP1xx/MP153AAC_MP153CAC_MP153DAC_MP153FAC_MP157AAC_MP157CAC_MP157DAC_MP157FAC/README.md) to use this board|
179+
| :green_heart: | STM32MP157C | [STM32MP157C-DK2](https://www.st.com/en/evaluation-tools/stm32mp157c-dk2.html) | *1.8.0* | See [the documentation](https://github.com/stm32duino/Arduino_Core_STM32/tree/main/variants/STM32MP1xx/MP153AAC_MP153CAC_MP153DAC_MP153FAC_MP157AAC_MP157CAC_MP157DAC_MP157FAC/README.md) to use this board|
180180

181181
### Generic STM32C0 boards
182182

@@ -293,7 +293,7 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
293293
| :green_heart: | STM32F302R6<br>STM32F302R8 | Generic Board | *2.0.0* | |
294294
| :green_heart: | STM32F303C6<br>STM32F303C8 | Generic Board | *2.4.0* | |
295295
| :green_heart: | STM32F303CB<br>STM32F303CC | Generic Board | *2.0.0* | |
296-
| :green_heart: | STM32F303CC | [RobotDyn Black Pill](https://stm32-base.org/boards/STM32F303CCT6-RobotDyn-Black-Pill) | *1.6.1* | [More info](https://robotdyn.com/catalog/development-boards/stm-boards-and-shields.html) |
296+
| :green_heart: | STM32F303CC | [RobotDyn Black Pill](https://stm32-base.org/boards/STM32F303CCT6-RobotDyn-Black-Pill) | *1.6.1* | |
297297
| :green_heart: | STM32F303K6<br>STM32F303K8 | Generic Board | *2.0.0* | |
298298
| :green_heart: | STM32F303R6<br>STM32F303R8 | Generic Board | *2.4.0* | |
299299
| :green_heart: | STM32F303RD<br>STM32F303RE | Generic Board | *2.0.0* | |
@@ -527,7 +527,7 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
527527
| :green_heart: | STM32H750IB<br>STM32H750II | Generic Board | *2.0.0* | |
528528
| :green_heart: | STM32H750IB | [Daisy](https://www.electro-smith.com/daisy/daisy) | *1.9.0* | |
529529
| :green_heart: | STM32H750IB | [Daisy Patch SM](https://www.electro-smith.com/daisy/patch-sm) | *2.2.0* | |
530-
| :green_heart: | STM32H750IB | [Daisy Petal SM](https://www.electro-smith.com/daisy/petal-125b-sm) | *2.2.0* | |
530+
| :green_heart: | STM32H750IB | [Daisy Petal SM](https://www.electro-smith.com) | *2.2.0* | |
531531
| :green_heart: | STM32H750VB | Generic Board | *2.0.0* | |
532532
| :green_heart: | STM32H750VB | [DevEBox H750VBT6](https://github.com/mcauser/MCUDEV_DEVEBOX_H7XX_M) | *2.2.0* | |
533533
| :green_heart: | STM32H750VB | [WeAct MiniSTM32H750VBT6](https://github.com/WeActStudio/MiniSTM32H7xx) | *2.2.0* | [More info](https://github.com/stm32duino/Arduino_Core_STM32/pull/1552) |
@@ -582,7 +582,7 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
582582
| :green_heart: | STM32L072KB<br>STM32L072KZ | Generic Board | *2.4.0* | |
583583
| :green_heart: | STM32L072KBT<br>STM32L072KZT | Generic Board | *2.0.0* | |
584584
| :green_heart: | STM32L072KZT | [ThunderPack v1.0](https://github.com/jgillick/ThunderPack) | *1.8.0* | |
585-
| :green_heart: | STM32L072RBT | [PX-HER0](https://piconomix.com/fwlib/_p_i_c_o_n_o_m_i_x__s_t_m32__h_e_r_o__b_o_a_r_d.html) | *1.8.0* | |
585+
| :green_heart: | STM32L072RBT | [PX-HER0](https://piconomix.com/) | *1.8.0* | |
586586
| :green_heart: | STM32L072RB<br>STM32L072RZ | Generic Board | *2.4.0* | |
587587
| :green_heart: | STM32L072RBT<br>STM32L072RZT | Generic Board | *2.0.0* | |
588588
| :green_heart: | STM32L072V8<br>STM32L072VB<br>STM32L072VZ | Generic Board | *2.4.0* |
@@ -722,7 +722,7 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
722722

723723
| Status | Device(s) | Name | Release | Notes |
724724
| :----: | :-------: | ---- | :-----: | :---- |
725-
| :green_heart: | STM32F051K6U | [Wraith V1 ESC](https://www.readytoflyquads.com/35a-wraith32-v11-32bit-blheli-esc) | *1.8.0* | |
725+
| :green_heart: | STM32F051K6U | [Wraith V1 ESC](https://www.quadsrtf.com/product/35a-wraith32-32bit-blheli-esc) | *1.8.0* | |
726726
| :green_heart: | STM32F103RCT | [STorM32 V1.31 RC](http://www.olliw.eu/storm32bgc-wiki/STorM32_Boards#STorM32-BGC_v1.3) | *2.1.0* | |
727727

728728
### [Garatronic](https://www.garatronic.fr)/[McHobby](https://shop.mchobby.be) boards
@@ -748,7 +748,7 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
748748
| :green_heart: | STM32L073RZ | [AcSIP S76S](https://www.acsip.com.tw) | *2.3.0* | |
749749
| :green_heart: | STM32F072C8<br>STM32F072CB | [Elektor LoRa Node](https://github.com/ElektorLabs/180516-Elektor_LoRa_Node) | *1.8.0* | [More info](https://www.elektormagazine.com/labs/lorawan-node-experimental-platform) |
750750
| :green_heart: | STM32L151CB | [RAK811 LoRa Tracker](https://www.rakwireless.com/en/) | *1.4.0* | [Wiki](https://github.com/stm32duino/wiki/wiki/Connectivities#lora) |
751-
| :green_heart: | STM32L051C8 | [RHF76-052](https://www.ai-thinker.com/) | *1.7.0* | Basic support |
751+
| :green_heart: | STM32L051C8 | [RHF76-052](https://lora-alliance.org/lora_products/rhf76-052/) | *1.7.0* | Basic support |
752752

753753
### [Midatronics](https://midatronics.com/) boards
754754

variants/STM32L4xx/L4R5Z(G-I)Y_L4R9Z(G-I)Y_L4S5ZIY_L4S9ZIY/variant_SWAN_R5.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ WEAK void SystemClock_Config(void)
160160
/** Configure LSE Drive Capability
161161
*/
162162
HAL_PWR_EnableBkUpAccess();
163-
__HAL_RCC_LSEDRIVE_CONFIG(RCC_LSEDRIVE_LOW);
163+
__HAL_RCC_LSEDRIVE_CONFIG(RCC_LSEDRIVE_MEDIUMLOW);
164164
/** Initializes the RCC Oscillators according to the specified parameters
165165
* in the RCC_OscInitTypeDef structure.
166166
*/

variants/STM32MP1xx/MP153AAC_MP153CAC_MP153DAC_MP153FAC_MP157AAC_MP157CAC_MP157DAC_MP157FAC/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ There are additional pins for LEDs and buttons.
245245
| PA_13 | 17 / LED_RED | USER2_BTN | Active Low, LED LD6, also connected to B4 button |
246246
| PH_7 | 18 / LED_ORANGE / LED_BUILTIN | | Active High, LED LD7 |
247247

248-
[`variant.h` of the board] has the complete information about the pinouts.
248+
[`variant_STM32MP157_DK.h` of the board] has the complete information about the pinouts.
249249

250250
## Uploading
251251

@@ -284,7 +284,7 @@ And then the Device Tree should enable TIM1 for the coprocessor, although this d
284284
};
285285
```
286286

287-
[stm32mp157c-dk2-m4-examples.dts] is a great example to begin with. For the full list of peripherals used by the Arduino firmware, see [PeripheralPins.c](/variants/STM32MP157_DK/PeripheralPins.c) of the board.
287+
[stm32mp157c-dk2-m4-examples.dts] is a great example to begin with. For the full list of peripherals used by the Arduino firmware, see [PeripheralPins_STM32MP157_DK.c](/variants/STM32MP1xx/MP153AAC_MP153CAC_MP153DAC_MP153FAC_MP157AAC_MP157CAC_MP157DAC_MP157FAC/PeripheralPins_STM32MP157_DK.c) of the board.
288288

289289
## Limitations
290290

@@ -314,7 +314,7 @@ And then the Device Tree should enable TIM1 for the coprocessor, although this d
314314
[build_opt.h description in wiki]: https://github.com/stm32duino/wiki/wiki/Customize-build-options-using-build_opt.h
315315
[virtio_log.h]: /cores/arduino/stm32/OpenAMP/virtio_log.h
316316

317-
[`variant.h` of the board]: /variants/STM32MP157_DK/variant.h
317+
[`variant_STM32MP157_DK.h` of the board]: /variants/STM32MP1xx/MP153AAC_MP153CAC_MP153DAC_MP153FAC_MP157AAC_MP157CAC_MP157DAC_MP157FAC/variant_STM32MP157_DK.h
318318

319319
[The ST Wiki page on C-Kermit]: https://wiki.st.com/stm32mpu/wiki/How_to_transfer_a_file_over_serial_console
320320
[a bug in OpenSTLinux]: https://community.st.com/s/question/0D50X0000B9vHa4/cannot-get-download-a-file-using-kermit

0 commit comments

Comments
 (0)