-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplatformio.ini
More file actions
89 lines (79 loc) · 3.46 KB
/
platformio.ini
File metadata and controls
89 lines (79 loc) · 3.46 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
; 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
;
; from terminal, run `pio run -e <TARGET> -t upload` to build and upload for the target environment, e.g.:
; pio run -e FLIPMOUSE -t upload
[platformio]
default_envs = FABI_RP2350 ; for Raspberry Pi Pico 2W (FABI3 with low power / battery support)
; specify your desired port to speed up the upload process
;upload_port=COM13
[env:FABI_RP2350]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = rpipico2w
framework = arduino
board_build.core = earlephilhower
platform_packages =
framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#4.7.1
lib_deps= ; required libraries and dependencies
adafruit/Adafruit BusIO@^1.14.0
adafruit/Adafruit NeoPixel@^1.11.0
greiman/SSD1306Ascii@^1.3.5
https://github.com/ChrisVeigl/LoadcellSensor
https://github.com/benjaminaigner/NAU7802-DualChannel
build_flags =
-DPIO_FRAMEWORK_ARDUINO_ENABLE_BLUETOOTH ; enable Bluetooth Stack for BTC and BLE
-DFABI ; enable FABI features (FABI3)
-DRP2350 ; enable RP2350 features (low power / battery support )
; -DFABI_BLEJOYSTICK_ENABLED ; enable BLE Joystick
board_build.filesystem_size = 1m ; configure a 1 MB file system
extra_scripts = post:scripts/copy_uf2.py ; copy the generated UF2 file to the root of the project folder
monitor_speed= 115200
[env:FABI_RP2040]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = rpipicow
framework = arduino
board_build.core = earlephilhower
platform_packages =
framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#4.7.1
lib_deps= ; required libraries and dependencies
adafruit/Adafruit BusIO@^1.14.0
adafruit/Adafruit NeoPixel@^1.11.0
greiman/SSD1306Ascii@^1.3.5
https://github.com/ChrisVeigl/LoadcellSensor
https://github.com/benjaminaigner/NAU7802-DualChannel
build_flags =
-DPIO_FRAMEWORK_ARDUINO_ENABLE_BLUETOOTH ; enable Bluetooth Stack for BTC and BLE
-DFABI ; enable FABI features (FABI3)
; -DFABI_BLEJOYSTICK_ENABLED ; enable BLE Joystick
board_build.filesystem_size = 1m ; configure a 1 MB file system
extra_scripts = post:scripts/copy_uf2.py ; copy the generated UF2 file to the root of the project folder
[env:FLIPMOUSE]
platform = raspberrypi
board = nanorp2040connect
framework = arduino
board_build.core = earlephilhower
platform_packages =
framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#4.7.1
lib_deps= ; required libraries and dependencies
adafruit/Adafruit BusIO@^1.14.0
adafruit/Adafruit NeoPixel@^1.11.0
greiman/SSD1306Ascii@^1.3.5
https://github.com/ChrisVeigl/LoadcellSensor
https://github.com/benjaminaigner/NAU7802-DualChannel
lib_ignore = MouseBLE, KeyboardBLE, JoystickBLE, HID_Bluetooth
build_flags =
-DFLIPMOUSE ; enable FLIPMOUSE features (FlipMouse3)
board_build.filesystem_size = 1m ; configure a 1 MB file system
extra_scripts = post:scripts/copy_uf2.py ; copy the generated UF2 file to the root of the project folder
; if you want to use the debug tool, uncomment the following lines
;debug_tool = cmsis-dap
;upload_protocol = cmsis-dap
;debug_speed = 30000
;build_type = debug