File tree Expand file tree Collapse file tree 12 files changed +22
-29
lines changed
Expand file tree Collapse file tree 12 files changed +22
-29
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ jobs:
1919 steps :
2020 - uses : actions/checkout@v4
2121 - name : Cache pip
22- uses : actions/cache@v3
22+ uses : actions/cache@v4
2323 with :
2424 path : ~/.cache/pip
2525 key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
2626 restore-keys : |
2727 ${{ runner.os }}-pip-
2828 - name : Cache PlatformIO
29- uses : actions/cache@v3
29+ uses : actions/cache@v4
3030 with :
3131 path : ~/.platformio
3232 key : ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
4343 - name : Zip binaries
4444 run : zip ${{matrix.boards}}.zip .pio/build/${{matrix.boards}}/firmware.*
4545 - name : Upload binaries
46- uses : actions/upload-artifact@v3
46+ uses : actions/upload-artifact@v4
4747 with :
4848 name : ${{matrix.boards}}
4949 path : ./${{matrix.boards}}.zip
Original file line number Diff line number Diff line change @@ -33,14 +33,14 @@ jobs:
3333 steps :
3434 - uses : actions/checkout@v4
3535 - name : Cache pip
36- uses : actions/cache@v3
36+ uses : actions/cache@v4
3737 with :
3838 path : ~/.cache/pip
3939 key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
4040 restore-keys : |
4141 ${{ runner.os }}-pip-
4242 - name : Cache PlatformIO
43- uses : actions/cache@v3
43+ uses : actions/cache@v4
4444 with :
4545 path : ~/.platformio
4646 key : ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
5757 - name : Zip binaries
5858 run : zip ${{matrix.boards}}.zip .pio/build/${{matrix.boards}}/firmware.*
5959 - name : Upload binaries
60- uses : actions/upload-artifact@v3
60+ uses : actions/upload-artifact@v4
6161 with :
6262 name : ${{matrix.boards}}
6363 path : ./${{matrix.boards}}.zip
Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ jobs:
1212 steps :
1313 - uses : actions/checkout@v4
1414 - name : Cache pip
15- uses : actions/cache@v3
15+ uses : actions/cache@v4
1616 with :
1717 path : ~/.cache/pip
1818 key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
1919 restore-keys : |
2020 ${{ runner.os }}-pip-
2121 - name : Cache PlatformIO
22- uses : actions/cache@v3
22+ uses : actions/cache@v4
2323 with :
2424 path : ~/.platformio
2525 key : ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
Original file line number Diff line number Diff line change @@ -21,24 +21,17 @@ extra_configs =
2121 uCNC/src/hal/boards/esp32/esp32.ini
2222 uCNC/src/hal/boards/rp2040/rp2040.ini
2323 uCNC/src/hal/mcus/virtual/virtual.ini
24- uCNC/webconfig.ini
2524
2625[env]
2726framework = arduino
2827monitor_speed = 115200
2928monitor_eol = LF
3029monitor_echo = yes
3130monitor_filters = colorize, time
32- ; board = ${webconfig.board}
3331extra_scripts =
3432 pre:ucnc_modules.py
35- custom_ucnc_modules_url = ${webconfig.custom_ucnc_modules_url}
36- custom_ucnc_modules = ${webconfig.custom_ucnc_modules}
37- build_flags =
38- ${webconfig.build_flags}
39- ; add your custom build flags
40- lib_deps =
41- ${webconfig.lib_deps}
42- ; add you custom library dependencies
43-
44-
33+ ; user config
34+ custom_ucnc_modules_url =
35+ custom_ucnc_modules =
36+ lib_deps =
37+ build_flags =
Original file line number Diff line number Diff line change @@ -74,4 +74,5 @@ build_flags = ${common_avr.build_flags} -D BOARD=\"src/hal/boards/avr/boardmap_m
7474
7575[env:AVR-CUSTOM]
7676extends = common_avr
77+ build_flags = ${common_avr.build_flags} -DMCU =MCU_CUSTOM
7778board = ${env.board}
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ build_flags = ${common_esp32.build_flags} -D BOARD=BOARDMAP_FILE("src/hal/boards
5050
5151[env:ESP32-CUSTOM]
5252extends = common_esp32
53+ build_flags = ${common_esp32.build_flags} -DMCU =MCU_CUSTOM
5354board = ${env.board}
5455
5556# ################
Original file line number Diff line number Diff line change @@ -30,4 +30,5 @@ build_flags = ${common_lpc176x.build_flags} -D BOARD=\"src/hal/boards/lpc176x/bo
3030
3131[env:LPC176X-CUSTOM]
3232extends = common_lpc176x
33+ build_flags = ${common_lpc176x.build_flags} -DMCU =MCU_CUSTOM
3334board = ${env.board}
Original file line number Diff line number Diff line change @@ -62,4 +62,5 @@ build_flags = -D BOARD=\"src/hal/boards/rp2040/boardmap_rpi_pico_w.h\" -D ENABLE
6262
6363[env:RP2040-CUSTOM]
6464extends = common_rp2040
65+ build_flags = ${common_rp2040.build_flags} -DMCU =MCU_CUSTOM
6566board = ${env.board}
Original file line number Diff line number Diff line change @@ -35,4 +35,5 @@ board_upload.offset_address = 0x00004000
3535
3636[env:SAMD21-CUSTOM]
3737extends = common_samd21
38+ build_flags = ${common_samd21.build_flags} -DMCU =MCU_CUSTOM
3839board = ${env.board}
Original file line number Diff line number Diff line change 55[common_stm32]
66platform = platformio/ststm32@^17.5.0
77; debug with st-link
8- upload_protocol = cmsis-dap
9- debug_tool = cmsis-dap
8+ ; upload_protocol = cmsis-dap
9+ ; debug_tool = cmsis-dap
1010debug_speed = 100
1111platform_packages = platformio/tool-openocd
1212debug_build_flags = -Og -g3 -ggdb3 -gdwarf-2
@@ -97,4 +97,5 @@ build_flags = ${common_stm32.build_flags} -D BOARD=\"src/hal/boards/stm32/boardm
9797
9898[env:STM32-CUSTOM]
9999extends = common_stm32
100+ build_flags = ${common_stm32.build_flags} -DMCU =MCU_CUSTOM
100101board = ${env.board}
You can’t perform that action at this time.
0 commit comments