Skip to content

Commit

Permalink
[examples] Consistent naming for all pill boards
Browse files Browse the repository at this point in the history
  • Loading branch information
salkinium committed Mar 26, 2021
1 parent a7d3a17 commit 774c06f
Show file tree
Hide file tree
Showing 47 changed files with 41 additions and 43 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Examples STM32F1 Series
if: always()
run: |
(cd examples && ../tools/scripts/examples_compile.py stm32f1_discovery nucleo_f103rb olimexino_stm32 stm32f103c8t6_blue_pill stm32f103c8t6_black_pill)
(cd examples && ../tools/scripts/examples_compile.py stm32f1_discovery nucleo_f103rb olimexino_stm32 blue_pill_f103 black_pill_f103)
- name: Examples STM32F3 Series
if: always()
run: |
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
- name: Examples STM32F4 Without Discovery Board
if: always()
run: |
(cd examples && ../tools/scripts/examples_compile.py nucleo_f401re nucleo_f411re nucleo_f429zi nucleo_f446re stm32f411ccu_mini_f401 stm32f411ceu_mini_f411 stm32f407vet6_devebox stm32_f4ve)
(cd examples && ../tools/scripts/examples_compile.py nucleo_f401re nucleo_f411re nucleo_f429zi nucleo_f446re black_pill_f401 black_pill_f411 stm32f407vet6_devebox stm32_f4ve)
avr-examples:
runs-on: ubuntu-20.04
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<library>
<extends>modm:blue-pill</extends>
<extends>modm:black-pill-f103</extends>
<options>
<option name="modm:build:build.path">../../../build/stm32f103c8t6_blue_pill/blink</option>
<option name="modm:build:build.path">../../../build/black_pill_f103/blink</option>
<option name="modm:build:openocd.cfg">openocd.cfg</option>
</options>
<modules>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ main()
{
Board::initialize();

LedGreen::set();

while (true)
{
LedGreen::toggle();
Led::toggle();
modm::delay(Button::read() ? 100ms : 500ms);
}

Expand Down
9 changes: 9 additions & 0 deletions examples/black_pill_f401/blink/project.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<library>
<extends>modm:black-pill-f401</extends>
<options>
<option name="modm:build:build.path">../../../build/black_pill_f401/blink</option>
</options>
<modules>
<module>modm:build:scons</module>
</modules>
</library>
File renamed without changes.
9 changes: 9 additions & 0 deletions examples/black_pill_f411/blink/project.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<library>
<extends>modm:black-pill-f411</extends>
<options>
<option name="modm:build:build.path">../../../build/black_pill_f411/blink</option>
</options>
<modules>
<module>modm:build:scons</module>
</modules>
</library>
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<library>
<extends>modm:mini-f411</extends>
<extends>modm:black-pill-f411</extends>
<options>
<option name="modm:build:build.path">../../../build/stm32f411ceu_mini_f411/usb_fatfs</option>
<option name="modm:build:build.path">../../../build/black_pill_f411/usb_fatfs</option>
<option name="modm:tinyusb:config">device.msc, device.cdc</option>
</options>
<modules>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<library>
<extends>modm:blue-pill</extends>
<extends>modm:blue-pill-f103</extends>
<options>
<option name="modm:build:build.path">../../../build/stm32f103c8t6_blue_pill/adns_9800</option>
<option name="modm:build:build.path">../../../build/blue_pill_f103/adns_9800</option>
<option name="modm:build:openocd.cfg">openocd.cfg</option>
</options>
<modules>
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<library>
<extends>modm:black-pill</extends>
<extends>modm:blue-pill-f103</extends>
<options>
<option name="modm:build:build.path">../../../build/stm32f103c8t6_black_pill/blink</option>
<option name="modm:build:build.path">../../../build/blue_pill_f103/blink</option>
<option name="modm:build:openocd.cfg">openocd.cfg</option>
</options>
<modules>
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<library>
<extends>modm:blue-pill</extends>
<extends>modm:blue-pill-f103</extends>
<options>
<option name="modm:build:build.path">../../../build/stm32f103c8t6_blue_pill/can</option>
<option name="modm:build:build.path">../../../build/blue_pill_f103/can</option>
<option name="modm:build:openocd.cfg">openocd.cfg</option>
</options>
<modules>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<library>
<extends>modm:blue-pill</extends>
<extends>modm:blue-pill-f103</extends>
<options>
<option name="modm:build:build.path">../../../build/stm32f103c8t6_blue_pill/environment</option>
<option name="modm:build:build.path">../../../build/blue_pill_f103/environment</option>
<option name="modm:build:openocd.cfg">openocd.cfg</option>
</options>
<modules>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<library>
<extends>modm:blue-pill</extends>
<extends>modm:blue-pill-f103</extends>
<options>
<option name="modm:build:build.path">../../../build/stm32f103c8t6_blue_pill/graphics</option>
<option name="modm:build:build.path">../../../build/blue_pill_f103/graphics</option>
<option name="modm:build:openocd.cfg">openocd.cfg</option>
</options>
<modules>
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<library>
<extends>modm:blue-pill</extends>
<extends>modm:blue-pill-f103</extends>
<options>
<option name="modm:build:build.path">../../../build/stm32f103c8t6_blue_pill/logger</option>
<option name="modm:build:build.path">../../../build/blue_pill_f103/logger</option>
<option name="modm:build:openocd.cfg">openocd.cfg</option>
</options>
<modules>
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<library>
<extends>modm:blue-pill</extends>
<extends>modm:blue-pill-f103</extends>
<options>
<option name="modm:build:build.path">../../../build/stm32f103c8t6_blue_pill/tlc594x</option>
<option name="modm:build:build.path">../../../build/blue_pill_f103/tlc594x</option>
<option name="modm:build:openocd.cfg">openocd.cfg</option>
</options>
<modules>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<library>
<extends>modm:blue-pill</extends>
<extends>modm:blue-pill-f103</extends>
<options>
<option name="modm:build:build.path">../../../build/stm32f103c8t6_blue_pill/weight_scale_hx711</option>
<option name="modm:build:build.path">../../../build/blue_pill_f103/weight_scale_hx711</option>
<option name="modm:build:openocd.cfg">openocd.cfg</option>
</options>
<modules>
Expand Down
9 changes: 0 additions & 9 deletions examples/stm32f401ccu_mini_f401/blink/project.xml

This file was deleted.

9 changes: 0 additions & 9 deletions examples/stm32f411ceu_mini_f411/blink/project.xml

This file was deleted.

0 comments on commit 774c06f

Please sign in to comment.