-
Notifications
You must be signed in to change notification settings - Fork 4
/
platformio.ini
33 lines (28 loc) · 1.15 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
; 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
; http://docs.platformio.org/page/projectconf.html
[platformio]
lib_dir=lib
[env:d1_mini]
platform=espressif8266
board=d1_mini
framework=arduino
; generate:
; version from revision list count
; commit id
; date of build
; revision
; marks PLATFORMIO_IDE to correctly switch library platform to 'platformio' from default 'arduino'
; build_flags = !THX_REV=`git rev-list HEAD --count` && THX_CID=`git rev-list HEAD --max-count=1` && BUILD_DATE=`date +%Y-%m-%d` && echo '-DTHX_REVISION='${THX_REV} '-DTHX_CID='${THX_CID} '-DBUILD_DATE='${BUILD_DATE} && echo '-Og -ggdb -DDEBUG_ESP_PORT=Serial -DPLATFORMIO_IDE'
; upload_port=/dev/cu.wchusbserial1410
; Custom SPIFFS inclusion
; For 8-megabit EEPROM (16MB) models like RobotDyn Mini
; build_flags=-Wl,-Tesp8266.flash.2m.ld
; For 8-megabit EEPROM (16MB) models like Wemos D1 Mini
; build_flags=-Wl,-Tesp8266.flash.4m.ld