forked from openppg/eppg-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
59 lines (55 loc) · 1.87 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
; 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
[platformio]
default_envs =
OpenPPG-CRP2040-SP140
OpenPPG-CM0-SP140 ; Works locally, but github actions has dependency problems :(
[env]
framework = arduino
build_flags = -DUSE_TINYUSB
lib_deps =
bblanchon/ArduinoJson@6.19.3
bxparks/AceButton@1.9.1
https://github.com/ivanseidel/ArduinoThread#1a4e504c5f9c7e17efa7b453603341ffbbfb1385
dxinteractive/ResponsiveAnalogRead@1.2.1
adafruit/Adafruit BusIO@1.13.2
adafruit/Adafruit BMP3XX Library@2.1.2
adafruit/Adafruit DRV2605 Library@1.2.2
adafruit/Adafruit GFX Library@1.11.5
adafruit/Adafruit ST7735 and ST7789 Library@1.9.3
rlogiacco/CircularBuffer@1.3.3
lib_ignore =
Adafruit Circuit Playground
Adafruit seesaw Library
[env:OpenPPG-CM0-SP140]
platform = atmelsam@5.1.1
board = adafruit_feather_m0
build_flags = ${env.build_flags} -DM0_PIO
lib_deps =
${env.lib_deps}
adafruit/Adafruit SleepyDog Library@1.6.0
adafruit/Adafruit TinyUSB Library@0.10.5
extEEPROM@3.4.1
[env:OpenPPG-CRP2040-SP140]
platform = https://github.com/openppg/platform-raspberrypi.git#190d06ec0ece2f38031389c8b5eccf2bd3d349e9
board = sparkfun_promicrorp2040
board_build.core = earlephilhower
build_flags = ${env.build_flags} -DRP_PIO ;-D PICO_NO_FLASH=1 -D PICO_COPY_TO_RAM=1
board_build.filesystem_size = 14M ; 14 Mbyte for filesystem and 2 Mbyte for program
board_build.f_cpu = 80000000L ; Default is 133 MHz, slow it down to improve RFI tolerance
; ; 40 MHz
; board_build.f_flash = 40000000L
; ; 80 MHz
; board_build.f_flash = 80000000L
lib_deps =
${env.lib_deps}
EEPROM
lib_ignore =
${env.lib_ignore}