29 lines
No EOL
887 B
INI
29 lines
No EOL
887 B
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:d1_mini]
|
|
platform = espressif8266
|
|
board = d1_mini
|
|
framework = arduino
|
|
upload_speed = 921600
|
|
|
|
monitor_speed = 115200
|
|
|
|
|
|
build_flags =
|
|
-D ID=0 ;0=thick print, 1=good print heated plastic around charge pcb,
|
|
-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
|
|
'-D RECEIVERMAC={0x24, 0x58, 0x7C, 0xCE, 0xFA, 0xDC}'
|
|
-D CHANNEL=1 ;only channel 1 works |