This repository has been archived by the owner on Jun 24, 2020. It is now read-only.
/
platformio-sample.ini
71 lines (68 loc) · 1.81 KB
/
platformio-sample.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
60
61
62
63
64
65
66
67
68
69
70
71
;FujiNet 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
; ESP32 WROVER (16MB Flash, 8MB PSRAM) based FujiNet
[env:esp32]
platform = espressif32
build_type = debug
board = fujinet_board
framework = arduino
build_flags =
;-D JTAG
-D ESP_32
-D DEBUG_S
-D BUG_UART=Serial
-D DEBUG_SPEED=921600
-D NO_GLOBAL_SERIAL
-D BLUETOOTH_SUPPORT
-D BOARD_HAS_PSRAM
-D CONFIG_SPIRAM_CACHE_WORKAROUND
-mfix-esp32-psram-cache-issue
board_build.partitions = fujinet_partitions_16MB.csv
upload_port = COM1 ; Windows
;upload_port = /dev/ttyUSB0 ; Linux
upload_speed = 921600
monitor_port = COM1 ; Windows
;monitor_port = /dev/ttyUSB0 ; Linux
monitor_speed = 921600
lib_ldf_mode = deep+
; ESP32 WROOM (4MB Flash, NO PSRAM) based FujiNet
;[env:esp32]
;platform = espressif32
;build_type = debug
;board = fujinet_board
;framework = arduino
;build_flags =
; -D ESP_32
; -D DEBUG_S
; -D BUG_UART=Serial
; -D DEBUG_SPEED=921600
; -D NO_GLOBAL_SERIAL
;board_build.partitions = fujinet_partitions_4MB.csv
;upload_port = COM1 ; Windows
;upload_port = /dev/ttyUSB0 ; Linux
;upload_speed = 921600
;monitor_port = COM1 ; Windows
;monitor_port = /dev/ttyUSB0 ; Linux
;monitor_speed = 921600
;lib_ldf_mode = deep+
;ESP8266 No Longer Supported
;[env:nodemcuv2]
;platform = espressif8266
;board = nodemcuv2
;framework = arduino
;build_flags =
; -D ESP_8266
; -D DEBUG_S
; -D BUG_UART=Serial1
; -D DEBUG_SPEED=57600
;upload_port = COM3
;upload_speed = 115200
;monitor_port = COM4
;monitor_speed = 57600