Added config for wt32-eth01 board and move upload_port config to global section
This commit is contained in:
parent
3ab7d9f6fe
commit
511b59ff25
@ -35,16 +35,17 @@ monitor_filters = esp32_exception_decoder, time, log2file, colorize
|
|||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
upload_protocol = esptool
|
upload_protocol = esptool
|
||||||
|
|
||||||
|
; Specify port here. Comment out (add ; in front of line) to use auto detection.
|
||||||
[env:generic]
|
|
||||||
board = esp32dev
|
|
||||||
monitor_port = COM4
|
monitor_port = COM4
|
||||||
upload_port = COM4
|
upload_port = COM4
|
||||||
|
|
||||||
|
|
||||||
|
[env:generic]
|
||||||
|
board = esp32dev
|
||||||
|
|
||||||
|
|
||||||
[env:olimex_esp32_poe]
|
[env:olimex_esp32_poe]
|
||||||
; https://www.olimex.com/Products/IoT/ESP32/ESP32-POE/open-source-hardware
|
; https://www.olimex.com/Products/IoT/ESP32/ESP32-POE/open-source-hardware
|
||||||
|
|
||||||
board = esp32-poe
|
board = esp32-poe
|
||||||
build_flags = ${env.build_flags}
|
build_flags = ${env.build_flags}
|
||||||
-DHOYMILES_PIN_MISO=15
|
-DHOYMILES_PIN_MISO=15
|
||||||
@ -55,13 +56,9 @@ build_flags = ${env.build_flags}
|
|||||||
-DHOYMILES_PIN_CS=5
|
-DHOYMILES_PIN_CS=5
|
||||||
-DOPENDTU_ETHERNET
|
-DOPENDTU_ETHERNET
|
||||||
|
|
||||||
monitor_port = COM3
|
|
||||||
upload_port = COM3
|
|
||||||
|
|
||||||
|
|
||||||
[env:olimex_esp32_evb]
|
[env:olimex_esp32_evb]
|
||||||
; https://www.olimex.com/Products/IoT/ESP32/ESP32-EVB/open-source-hardware
|
; https://www.olimex.com/Products/IoT/ESP32/ESP32-EVB/open-source-hardware
|
||||||
|
|
||||||
board = esp32-evb
|
board = esp32-evb
|
||||||
build_flags = ${env.build_flags}
|
build_flags = ${env.build_flags}
|
||||||
-DHOYMILES_PIN_MISO=15
|
-DHOYMILES_PIN_MISO=15
|
||||||
@ -72,9 +69,6 @@ build_flags = ${env.build_flags}
|
|||||||
-DHOYMILES_PIN_CS=17
|
-DHOYMILES_PIN_CS=17
|
||||||
-DOPENDTU_ETHERNET
|
-DOPENDTU_ETHERNET
|
||||||
|
|
||||||
monitor_port = /dev/tty.usbserial-1450
|
|
||||||
upload_port = /dev/tty.usbserial-1450
|
|
||||||
|
|
||||||
|
|
||||||
[env:d1 mini esp32]
|
[env:d1 mini esp32]
|
||||||
board = wemos_d1_mini32
|
board = wemos_d1_mini32
|
||||||
@ -87,5 +81,15 @@ build_flags =
|
|||||||
-DHOYMILES_PIN_CE=17
|
-DHOYMILES_PIN_CE=17
|
||||||
-DHOYMILES_PIN_CS=5
|
-DHOYMILES_PIN_CS=5
|
||||||
|
|
||||||
monitor_port = /dev/cu.usbserial-01E68DD0
|
|
||||||
upload_port = /dev/cu.usbserial-01E68DD0
|
[env:wt32_eth01]
|
||||||
|
; http://www.wireless-tag.com/portfolio/wt32-eth01/
|
||||||
|
board = wt32-eth01
|
||||||
|
build_flags = ${env.build_flags}
|
||||||
|
-DHOYMILES_PIN_MISO=4
|
||||||
|
-DHOYMILES_PIN_MOSI=2
|
||||||
|
-DHOYMILES_PIN_SCLK=32
|
||||||
|
-DHOYMILES_PIN_IRQ=33
|
||||||
|
-DHOYMILES_PIN_CE=14
|
||||||
|
-DHOYMILES_PIN_CS=15
|
||||||
|
-DOPENDTU_ETHERNET
|
||||||
Loading…
Reference in New Issue
Block a user