Skip to content

Commit

Permalink
Final platformio environment configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
ljgreenhill committed May 28, 2024
1 parent 9468527 commit 166a6f8
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions platformio.ini
Original file line number Diff line number Diff line change
@@ -1,33 +1,11 @@
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[env:debug-linux]
platform = teensy
board = teensy35
framework = arduino
upload_protocol = teensy-cli
test_build_src = true
board_build.f_cpu = 24000000L
build_flags = -D VERBOSE -D TEENSY_OPT_SMALLEST_CODE
lib_ldf_mode = deep
extra_scripts = pre:tools/extra_script.py
test_port = /dev/ttyACM0

[env:teensy35]
platform = teensy
board = teensy35
framework = arduino
upload_protocol = teensy-cli
test_build_src = true
board_build.f_cpu = 24000000L
build_flags = -D ACS_SIM -D VERBOSE -D TEENSY_OPT_SMALLEST_CODE -D SIMULATOR
build_flags = -D VERBOSE -D TEENSY_OPT_SMALLEST_CODE
lib_ldf_mode = deep
monitor_filters = default, log2file

Expand Down

0 comments on commit 166a6f8

Please sign in to comment.