66 lines
2.3 KiB
INI

; 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]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
framework = arduino
board_build.core = earlephilhower
board_build.filesystem_size = 4m
build_type = debug
upload_port = /dev/cu.usbmodemJLV5port1
;Romonaga's port, Bob make sure you change this back before commit so Architeuthis Flux does not have issues
;upload_port = /dev/ttyACM0
build_flags = -Iinclude/
-Ilib/
-Imodules/jumperless/
-Iinclude/
-Ilib/JDI_MIP_Display/
-DUSE_TINYUSB
-DCFG_TUSB_CONFIG_FILE=\"custom_tusb_config.h\"
-DCFG_TUD_DESC_AUTO=0
-DPICO_DEFAULT_UART_TX_PIN=0
-DPICO_DEFAULT_UART_RX_PIN=1
-Wl,--wrap,tud_descriptor_device_cb
-Wl,--wrap,tud_descriptor_configuration_cb
-Wl,--wrap,tud_descriptor_string_cb
-Wl,--wrap,tud_msc_inquiry_cb
-Wl,--wrap,tud_msc_test_unit_ready_cb
-Wl,--wrap,tud_msc_capacity_cb
-Wl,--wrap,tud_msc_start_stop_cb
-Wl,--wrap,tud_msc_read10_cb
-Wl,--wrap,tud_msc_write10_cb
-Wl,--wrap,tud_msc_scsi_cb
-Wl,--wrap,tud_msc_is_writable_cb
-Wl,--allow-multiple-definition
-Wl,--whole-archive
-Wl,--no-whole-archive
-fvisibility=default
-lm
build_src_filter = +<*> +<../lib/micropython/port/> +<../modules/jumperless/> +<../lib/micropython/micropython_embed/shared/readline/*.c> -<../lib/micropython/micropython_embed/py/> -<../lib/micropython/micropython_embed/extmod/> -<../lib/micropython/micropython_embed/shared/runtime/> -<../lib/micropython/micropython_embed/shared/timeutils/> -<../lib/micropython/micropython_embed/genhdr/> -<../lib/micropython/micropython_embed/port/> -<**/Adafruit_USBD_MSC.cpp> -<**/FatFSUSB.cpp>
lib_ignore = FatFSUSB
lib_deps =
adafruit/Adafruit NeoPixel
bblanchon/ArduinoJson
robtillaart/INA219
adafruit/Adafruit SSD1306
adafruit/Adafruit GFX Library
powerbroker2/SafeString
adafruit/Adafruit MCP4728
adafruit/Adafruit SPIFlash
adafruit/SdFat - Adafruit Fork
#https://github.com/pschatzmann/logic-analyzer.git
; gbertaz/JDI_MIP_Display
[env:jumperless_v5]
board = jumperless_v5