platformIO clean

This commit is contained in:
Clément SAILLANT
2023-02-27 19:36:22 +01:00
parent 31534815e9
commit 2388d031d5
+12 -23
View File
@@ -7,6 +7,7 @@
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
description = Digitally Controlled Full Analog Gain Stage
default_envs = uno
@@ -19,13 +20,12 @@ upload_port = /dev/cu.usbmodem1101
platform_packages = toolchain-atmelavr@3.70300.220127
board_build.mcu = atmega328p
board_build.f_cpu = 16000000L
debug_build_flags =
-DAVR8_BREAKPOINT_MODE=1
-Og
-g
-fno-lto
debug_build_flags =
-DAVR8_BREAKPOINT_MODE=1
-Og
-g
-fno-lto
debug_port = /dev/cu.usbmodem1101
lib_deps =
sparkfun/SparkFun MiniMoto@^1.1.0
Wire
@@ -33,39 +33,28 @@ lib_deps =
thomasfredericks/Bounce2 @ ^2.71
robtillaart/PCF8574 @ ^0.3.7
https://github.com/thijse/Arduino-Log
thijse/ArduinoLog @ ^1.1.1
donnycraft1/PIDController @ ^0.0.1
r-downing/AutoPID @ ^1.0.3
dlloydev/QuickPID @ ^3.1.4
powerbroker2/FireTimer @ ^1.0.5
jdolinay/avr-debugger @ ~1.4
jdolinay/avr-debugger @ ~1.4
[env:debug]
extends = env:uno
build_type = debug
extra_scripts = extra_script.py
platform_packages = toolchain-atmelavr@3.70300.220127
board_build.mcu = atmega328p
board_build.f_cpu = 16000000L
debug_tool = custom
debug_load_cmds = load
debug_init_cmds =
define pio_reset_halt_target
monitor reset
monitor reset
end
define pio_reset_run_target
monitor reset
detach
monitor reset
detach
end
file "$PROG_PATH"
set serial baud 115200
target remote $DEBUG_PORT
set serial baud 115200
target remote $DEBUG_PORT
monitor dwconnect
load
$INIT_BREAK