esp-gamepad/controller/platformio.ini

29 lines
939 B
INI
Raw Normal View History

2024-10-27 17:14:40 +01:00
; 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:d1_mini]
platform = espressif8266
board = d1_mini
framework = arduino
upload_speed = 921600
monitor_speed = 115200
build_flags =
2024-11-05 22:25:00 +01:00
-D ID=3 ;0=thick print, 1=good print heated plastic around charge pcb, 2=good print good fitting charge pcb, 3 = cardboard
2024-10-27 17:14:40 +01:00
-D PIN_LEFT=D5
-D PIN_RIGHT=D6
-D PIN_UP=D2 ;SDA
-D PIN_DOWN=D1 ;SCL
-D PIN_A=D4 ;D3 GPIO 0, wakes esp from deepsleep when pulled down
-D PIN_B=D3 ;D3 GPIO 0, prevents boot when pulled down
2024-10-27 18:18:42 +01:00
'-D RECEIVERMAC={0x24, 0x58, 0x7C, 0xCE, 0xFA, 0xDC}'
-D CHANNEL=1 ;only channel 1 works