On Fri, Jun 30, 2023 at 7:53 AM Milan Obuch wrote:
> Problem here is not using additional USB/serial cable, I do it
> regularly if necessary or useful, but pins for UART0 (GPIOs 43 and 44)
> are not available on any pin, thus my attempt to use UART1. GPIOs 17
> and 18 are accessible on this board, is it not possible to use them for
> console?

Hey there Milan :-)

I just tested 12.2.0-RC0 on ESP32S2 WEMOS S2 Mini and Pico boards.. I
had to update UART pins in the config so use console over external
UART-to-USB converter.

./tools/configure.sh -B esp32s2-saola-1:coremark

You may want to use :nsh defconfig :-)

Then:

kconfig-tweak --set-val CONFIG_ESP32S2_UART0_TXPIN 2
kconfig-tweak --set-val CONFIG_ESP32S2_UART0_RXPIN 3
gmake olddefconfig

Then:

gmake -j8
gmake flash

In order to flash keep Button 0 pressed while RST then MCU will switch
into a Bootloader mode via USB-C connection. After flash press RST and
you should have console on selected pins :-)

I am working on a priority project right now, after its done I will
add board configurations for WEMOS boards that we have (you can try
that yourself its a good learning path) and some BSD build related
fixes (i.e. you need to change sed to gsed in some places).

Have fun! :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Reply via email to