aboutsummaryrefslogtreecommitdiff
path: root/test_fw/platformio.ini
diff options
context:
space:
mode:
Diffstat (limited to 'test_fw/platformio.ini')
-rw-r--r--test_fw/platformio.ini24
1 files changed, 23 insertions, 1 deletions
diff --git a/test_fw/platformio.ini b/test_fw/platformio.ini
index 661a561..d041309 100644
--- a/test_fw/platformio.ini
+++ b/test_fw/platformio.ini
@@ -1,9 +1,31 @@
+; 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:pico]
-platform = raspberrypi
+platform = https://github.com/maxgerhardt/platform-raspberrypi.git
+;platform = raspberrypi
board = pico
+board_build.core = earlephilhower
+board_build.filesystem_size = 0m
+board_build.arduino.earlephilhower.usb_manufacturer = Nathan Perry
+board_build.arduino.earlephilhower.usb_product = ocularium (v0.2.0)
+board_build.arduino.earlephilhower.usb_vid = 0x8888
+board_build.arduino.earlephilhower.usb_pid = 0x2008
+
framework = arduino
lib_deps =
adafruit/Adafruit BME680 Library@^2.0.5
etlcpp/Embedded Template Library@^20.39.4
+ arduino-libraries/SD@^1.3.0
build_flags =
-std=c++2a
+ -DPIO_FRAMEWORK_ARDUINO_ENABLE_EXCEPTIONS
+ -DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -DDEBUG_RP2040_PORT=Serial
+ -fstack-protector