Skip to content

Commit

Permalink
updated platformio.ini for new teros21 environment
Browse files Browse the repository at this point in the history
  • Loading branch information
gxjacobs authored Sep 14, 2024
1 parent 47668b8 commit 170abc2
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions stm32/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ board = WioE5
framework = stm32cube
# must explicity define LoRa-Region, for some reason it is not detected by LDF
lib_deps =
#soil_power_sensor_protobuf=symlink://../proto/c
jlab-sps-group/Soil Power Sensor Protocal Buffer@^2.0.0
soil_power_sensor_protobuf=symlink://../proto/c
ads
battery
fram
Expand All @@ -30,9 +29,6 @@ check_skip_packages=yes
check_flags =
cppcheck: --addon=cert.py --language=c

platform_packages =
platformio/toolchain-gccarmnoneeabi@1.90301.200702

build_flags =
-DDMA_CCR_SECM
-DDMA_CCR_PRIV
Expand All @@ -52,17 +48,19 @@ upload_protocol = stlink
#extra_scripts = pre:tool_openocd.py ; Add this line
#
debug_port = localhost:3333
upload_port = /dev/ttyACM0
upload_port = /dev/tty.usbmodem143202


# black magic probe (bmp)
#debug_tool = blackmagic
#upload_protocol = blackmagic

monitor_port = /dev/ttyUSB0
#/dev/tty.usbserial-14340
monitor_port = /dev/tty.usbserial-1440
monitor_speed = 115200

test_port = /dev/ttyUSB0
#/dev/tty.usbserial-14340
test_port =/dev/tty.usbserial-1440
test_speed = 115200

#debug_init_break = tbreak main
Expand All @@ -86,6 +84,14 @@ build_src_filter = +<*> -<.git/> -<main.c> -<examples/**> +<examples/calibrate_a
[env:example_sdi12]
build_src_filter = +<*> -<.git/> -<main.c> -<examples/**> +<examples/example_sdi12.c>

[env:example_teros21]
build_src_filter = +<*> -<.git/> -<main.c> -<examples/**> +<examples/example_teros21.c>

[env:example_rawTeros21]
build_src_filter = +<*> -<.git/> -<main.c> -<examples/**> +<examples/example_rawTeros21.c>

build_type = debug

[env:tests]
build_type = debug
build_src_filter = +<*> -<.git/> -<main.c> -<examples/*>
Expand All @@ -97,4 +103,4 @@ debug_test = test_ads
include_dir = Inc
src_dir = Src

default_envs = stm32, example_battery, example_adc, example_phytos, calibrate_adc, example_sdi12
default_envs = stm32, example_battery, example_adc, example_phytos, calibrate_adc, example_sdi12

0 comments on commit 170abc2

Please sign in to comment.