Skip to content

Commit

Permalink
Rename yfc500 folder to more common YardForce
Browse files Browse the repository at this point in the history
  • Loading branch information
Apehaenger committed Sep 1, 2023
1 parent ee85a6b commit 5c67881
Show file tree
Hide file tree
Showing 47 changed files with 21 additions and 21 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions Firmware/CoverUI/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <stdio.h>

#ifdef HW_YFC500 // Stock "YardForce Classic 500" HardWare
#include "yfc500/main.hpp"
#include "YardForce/main.hpp"
#else // OM's Pico based HardWare
#include "pico/stdlib.h"
#include "hardware/pio.h"
Expand Down Expand Up @@ -338,7 +338,7 @@ void core1()
}
}

#ifndef HW_YFC500 // HW_Pico (HW_YFC500 is arduino based. See setup() & loop() in yfc500/main.hpp)
#ifndef HW_YFC500 // HW_Pico (HW_YFC500 is arduino based. See setup() & loop() in YardForce/main.hpp)
int main(void)
{
uint32_t last_led_update = 0;
Expand Down
38 changes: 19 additions & 19 deletions Firmware/CoverUI/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ build_src_filter =
-<LEDcontrol.cpp>
-<statemachine.cpp>
-<build/*>
-<yfc500/stm32cube/*>
-<YardForce/stm32cube/*>

build_flags =
-DHW_YFC500
Expand All @@ -59,14 +59,14 @@ build_flags =

upload_flags =
-f
yfc500/util/stlink-stm.cfg
YardForce/util/stlink-stm.cfg
upload_command = openocd $UPLOAD_FLAGS -c "init; reset halt; stm32f0x unlock 0; reset run" -c "program {$SOURCE} verify reset; shutdown;"

debug_build_flags = -O0 -g -ggdb2
debug_server =
openocd
-f
yfc500/util/stlink-stm.cfg
YardForce/util/stlink-stm.cfg
-c
reset_config none separate

Expand All @@ -81,14 +81,14 @@ build_flags =

upload_flags =
-f
yfc500/util/stlink-stm.cfg
YardForce/util/stlink-stm.cfg
upload_command = openocd $UPLOAD_FLAGS -c "init; reset halt; stm32f0x unlock 0; reset run" -c "program {$SOURCE} verify reset; shutdown;"

debug_build_flags = -O0 -g -ggdb2
debug_server =
openocd
-f
yfc500/util/stlink-stm.cfg
YardForce/util/stlink-stm.cfg
-c
reset_config none separate

Expand All @@ -104,14 +104,14 @@ build_flags =

upload_flags =
-f
yfc500/util/stlink-stm.cfg
YardForce/util/stlink-stm.cfg
upload_command = openocd $UPLOAD_FLAGS -c "init; reset halt; stm32f0x unlock 0; reset run" -c "program {$SOURCE} verify reset; shutdown;"

debug_build_flags = -O0 -g -ggdb2
debug_server =
openocd
-f
yfc500/util/stlink-stm.cfg
YardForce/util/stlink-stm.cfg
-c
reset_config none separate

Expand All @@ -126,14 +126,14 @@ build_flags =

upload_flags =
-f
yfc500/util/stlink-stm.cfg
YardForce/util/stlink-stm.cfg
upload_command = openocd $UPLOAD_FLAGS -c "init; reset halt; stm32f0x unlock 0; reset run" -c "program {$SOURCE} verify reset; shutdown;"

debug_build_flags = -O0 -g -ggdb2
debug_server =
openocd
-f
yfc500/util/stlink-stm.cfg
YardForce/util/stlink-stm.cfg
-c
reset_config none separate

Expand All @@ -154,7 +154,7 @@ platform_packages = platformio/tool-openocd@^2.1100.211028
upload_protocol = cmsis-dap
upload_flags =
-f
yfc500/util/picoprobe-stm.cfg
YardForce/util/picoprobe-stm.cfg

upload_command = openocd $UPLOAD_FLAGS -c "init; reset halt; stm32f0x unlock 0; reset run" -c "program {$SOURCE} verify reset; shutdown;"

Expand All @@ -164,7 +164,7 @@ debug_build_flags = -O0 -g -ggdb2
debug_server =
openocd
-f
yfc500/util/picoprobe-stm.cfg
YardForce/util/picoprobe-stm.cfg
-c
reset_config none separate

Expand All @@ -186,14 +186,14 @@ build_flags =

upload_flags =
-f
yfc500/util/stlink-gd.cfg
YardForce/util/stlink-gd.cfg
upload_command = openocd $UPLOAD_FLAGS -c "init; reset halt; stm32f3x unlock 0; reset run" -c "program {$SOURCE} verify reset; shutdown;"

debug_build_flags = -O0 -g -ggdb2
debug_server =
openocd
-f
yfc500/util/stlink-gd.cfg
YardForce/util/stlink-gd.cfg
-c
reset_config none separate

Expand All @@ -212,14 +212,14 @@ build_flags =

upload_flags =
-f
yfc500/util/stlink-gd.cfg
YardForce/util/stlink-gd.cfg
upload_command = openocd $UPLOAD_FLAGS -c "init; reset halt; stm32f3x unlock 0; reset run" -c "program {$SOURCE} verify reset; shutdown;"

debug_build_flags = -O0 -g -ggdb2
debug_server =
openocd
-f
yfc500/util/stlink-gd.cfg
YardForce/util/stlink-gd.cfg
-c
reset_config none separate

Expand All @@ -239,14 +239,14 @@ build_flags =

upload_flags =
-f
yfc500/util/stlink-gd.cfg
YardForce/util/stlink-gd.cfg
upload_command = openocd $UPLOAD_FLAGS -c "init; reset halt; stm32f3x unlock 0; reset run" -c "program {$SOURCE} verify reset; shutdown;"

debug_build_flags = -O0 -g -ggdb2
debug_server =
openocd
-f
yfc500/util/stlink-gd.cfg
YardForce/util/stlink-gd.cfg
-c
reset_config none separate

Expand All @@ -265,13 +265,13 @@ build_flags =

upload_flags =
-f
yfc500/util/stlink-gd.cfg
YardForce/util/stlink-gd.cfg
upload_command = openocd $UPLOAD_FLAGS -c "init; reset halt; stm32f3x unlock 0; reset run" -c "program {$SOURCE} verify reset; shutdown;"

debug_build_flags = -O0 -g -ggdb2
debug_server =
openocd
-f
yfc500/util/stlink-gd.cfg
YardForce/util/stlink-gd.cfg
-c
reset_config none separate

0 comments on commit 5c67881

Please sign in to comment.