From 170abc27e58b17e244240adf5248e5f12b360b39 Mon Sep 17 00:00:00 2001 From: gxjacobs <166069663+gxjacobs@users.noreply.github.com> Date: Sat, 14 Sep 2024 13:28:41 -0700 Subject: [PATCH] updated platformio.ini for new teros21 environment --- stm32/platformio.ini | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/stm32/platformio.ini b/stm32/platformio.ini index 551631b1..d528744e 100644 --- a/stm32/platformio.ini +++ b/stm32/platformio.ini @@ -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 @@ -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 @@ -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 @@ -86,6 +84,14 @@ build_src_filter = +<*> -<.git/> - - + -<.git/> - - + +[env:example_teros21] +build_src_filter = +<*> -<.git/> - - + + +[env:example_rawTeros21] +build_src_filter = +<*> -<.git/> - - + + +build_type = debug + [env:tests] build_type = debug build_src_filter = +<*> -<.git/> - - @@ -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 \ No newline at end of file