Skip to content

Commit

Permalink
chore: small changes in flags
Browse files Browse the repository at this point in the history
  • Loading branch information
arcadien committed Nov 24, 2023
1 parent 79f31e1 commit 1cbc09e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ lib_deps =
# -cavrisp2
# -cdragon_isp
# -cavrispmkII
upload_command = avrdude -vv -b57600 -pm328p -c avrisp -Pcom10 $UPLOAD_FLAGS -U flash:w:$SOURCE:i

upload_command = avrdude -vv -b57600 -pm328p -c avrisp -Pcom9 $UPLOAD_FLAGS -U flash:w:$SOURCE:i

# upload_protocol=custom
# upload_speed=115200
Expand All @@ -39,18 +40,18 @@ upload_command = avrdude -vv -b57600 -pm328p -c avrisp -Pcom10 $UPLOAD_FLAGS -U
platform=native
build_type = release
test_ignore = cross/*
build_flags = -DNATIVE
debug_test = noarch/test_gun
build_flags = -DNATIVE -O0
debug_test = noarch/test_contactor
build_src_filter = ${env.src_filter} -<TargetApp.cpp> -<GunApp.cpp>

[env:native_debug]
lib_deps = ${env.lib_deps}
fakeit=https://github.com/FabioBatSilva/ArduinoFake.git
platform=native
build_type = debug
debug_build_flags = -Og -ggdb3 -g3 -DNATIVE -UAVR
debug_build_flags = -Og -ggdb3 -g3 -DNATIVE
test_ignore = cross/*
debug_test = noarch/test_gun
debug_test = native/test_gun
build_src_filter = ${env.src_filter} -<TargetApp.cpp> -<GunApp.cpp>

[env:cross]
Expand Down Expand Up @@ -87,8 +88,8 @@ upload_command = avrdude -vv -b57600 -pm328p -c avrisp -Pcom10 $UPLOAD_FLAGS -U
platform = atmelavr
board = ATmega328P
build_type = release
build_flags = -DAVR
build_flags = -DAVR -O2
test_ignore =
native/*
noarch/*
build_src_filter = ${env.src_filter} -<TargetApp.cpp> -<ConsoleTargets.cpp>
build_src_filter = ${env.src_filter} -<TargetApp.cpp> -<ConsoleTargets.cpp>

0 comments on commit 1cbc09e

Please sign in to comment.