OSX: MODIFICA SERIALE DI “FLASH” PER NodeMCU ESP-32S…
APRIRE CON TEXTEDIT: esp-idf/components/esptool_py/Kconfig.projbuild
LINEE MODIFICATE:
config ESPTOOLPY_PORT
string "Default serial port"
default "/dev/cu.SLAB_USBtoUART"
# default "/dev/ttyUSB0"
help
The serial port that's connected to the ESP chip. This can be overridden by setting the ESPPORT
environment variable.
choice ESPTOOLPY_BAUD
prompt "Default baud rate"
default ESPTOOLPY_BAUD_OTHER
# default ESPTOOLPY_BAUD_115200B
help
Default baud rate to use while communicating with the ESP chip. Can be overridden by
setting the ESPBAUD variable.
config ESPTOOLPY_BAUD_115200B
bool "115200 baud"
config ESPTOOLPY_BAUD_230400B
bool "230400 baud"
config ESPTOOLPY_BAUD_921600B
bool "921600 baud"
config ESPTOOLPY_BAUD_2MB
bool "2Mbaud"
config ESPTOOLPY_BAUD_OTHER
bool "Other baud rate"
endchoice
config ESPTOOLPY_BAUD_OTHER_VAL
int "Other baud rate value" if ESPTOOLPY_BAUD_OTHER
default 57600
# default 115200
SALVARE IL FILE…
NIK
NODEMCU ESP-32S esp-idf (OSX modifica Serial default)
-
- Posts: 9835
- Joined: Thu Nov 26, 2015 4:08 am
Re: NODEMCU ESP-32S esp-idf (OSX modifica Serial default)
Why is this modification necessary? Also, why don't you just select the relevant items using 'make menuconfig' or use a custom ESP_BAUD environment variable?
Who is online
Users browsing this forum: Emirhanuzum and 87 guests