forked from lora-gateway/esxp1302
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
61 lines (53 loc) · 1.33 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
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
[platformio]
src_dir = main
[env]
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
framework = espidf
platform = [email protected]
extra_scripts = pre:platformio_pre.py
board_build.partitions = partitions_singleapp_large.csv
[env:esp32dev]
board = esp32dev
[env:esp32c3]
board = esp32-c3-devkitm-1
board_build.flash_mode = dio
build_flags =
-DSX1302_SPI_HOST=SPI2_HOST
-DPIN_NUM_MISO=9
-DPIN_NUM_MOSI=10
-DPIN_NUM_CLK=8
-DPIN_NUM_CS=5
-DI2C_MASTER_SDA_IO=6
-DI2C_MASTER_SCL_IO=7
-DGPS_UART_TXD=0
-DGPS_UART_RXD=1
-DUSER_BUTTON_1=2
-DUSER_BUTTON_2=3
-DSX1302_RESET_PIN=4
-DSX1302_POWER_EN_PIN=GPIO_NUM_NC
-DBLINK_GPIO=GPIO_NUM_NC
-DLED_BLUE_GPIO=GPIO_NUM_NC
-DLED_GREEN_GPIO=GPIO_NUM_NC
-DLED_RED_GPIO=GPIO_NUM_NC
[env:nodo]
board = esp32-c3-devkitm-1
board_build.flash_mode = dio
build_flags =
-DSX1302_SPI_HOST=SPI2_HOST
-DPIN_NUM_CLK=4
-DPIN_NUM_MISO=5
-DPIN_NUM_MOSI=6
-DPIN_NUM_CS=7
-DI2C_MASTER_SDA_IO=8
-DI2C_MASTER_SCL_IO=9
-DSX1302_RESET_PIN=10
-DGPS_UART_TXD=GPIO_NUM_NC
-DGPS_UART_RXD=GPIO_NUM_NC
-DUSER_BUTTON_1=GPIO_NUM_NC
-DUSER_BUTTON_2=GPIO_NUM_NC
-DSX1302_POWER_EN_PIN=GPIO_NUM_NC
-DBLINK_GPIO=GPIO_NUM_NC
-DLED_BLUE_GPIO=GPIO_NUM_NC
-DLED_GREEN_GPIO=GPIO_NUM_NC
-DLED_RED_GPIO=GPIO_NUM_NC