OpenMicroManipulator/firmware/MotionControllerRP/platformio.ini
2026-05-20 20:15:55 +02:00

37 lines
1.2 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
; -------------------- README ----------------------------------------------
; ON LINUX UDEV RULES NEED TO BE INSTALLED:
; sudo curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/system/99-platformio-udev.rules -o /etc/udev/rules.d/99-platformio-udev.rules
; sudo systemctl restart systemd-udevd
; replug device, then upload should work
; Also potentially uninstall official plattform with:
; pio platform uninstall raspberrypi
; --------------------------------------------------------------------------
[env:pico]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = rpipico2 # use this for RP2530
# board = rpipico # use this for RP2040
board_build.filesystem_size = 0.5m
framework = arduino
build_flags =
-include include/usb_strings.h
lib_deps =
littlefs
mryslab/NeoPixelConnect@^1.4.0