NuttX question
Posted: Tue Dec 13, 2016 4:42 pm
I am trying to build adn run nuttx for esp32 (ESP-WROOM-32)
I am using xtensa-esp32-elf compiler (https://dl.espressif.com/dl/xtensa-esp3 ... -59.tar.gz)
So, my building process looks as follows:
$ cd tools
$ ./configure.sh esp32-core/nsh
$ . ./setenv.sh
$ make menuconfig
Here is the first question. What values should I set for System Type -> UART Configuration -> UART0 Tx Pin / UART0 Rx Pin ?
ESP-WROOM-32 datasheet says, that pins are 35 (U0TXD) and 34 (U0RXD), but with theese values I do not see anything after bootloader info output.
$ make
$ esptool.py --chip esp32 elf2image --flash_mode dio --flash_size 2MB -o ./nuttx0.bin nuttx
$ esptool.py --chip esp32 write_flash 0x1000 ../myapp/build/bootloader/bootloader.bin 0x4000 ../myapp/build/partitions_singleapp.bin 0x10000 nuttx0.bin
bootloader and partitions_singleapp I build as a part of sample application with using esp-idf (https://github.com/espressif/esp-idf.git)
At load I see olny bootloader output and nothing more after it (but I expect nsh shell).
What am I doing wrong? I tried different values for UART0 Tx Pin / UART0 Rx Pin ( (gpio numbers insted of pin numbers, pin/gpio numbers counting from 0, etc) but without success.
I am using xtensa-esp32-elf compiler (https://dl.espressif.com/dl/xtensa-esp3 ... -59.tar.gz)
So, my building process looks as follows:
$ cd tools
$ ./configure.sh esp32-core/nsh
$ . ./setenv.sh
$ make menuconfig
Here is the first question. What values should I set for System Type -> UART Configuration -> UART0 Tx Pin / UART0 Rx Pin ?
ESP-WROOM-32 datasheet says, that pins are 35 (U0TXD) and 34 (U0RXD), but with theese values I do not see anything after bootloader info output.
$ make
$ esptool.py --chip esp32 elf2image --flash_mode dio --flash_size 2MB -o ./nuttx0.bin nuttx
$ esptool.py --chip esp32 write_flash 0x1000 ../myapp/build/bootloader/bootloader.bin 0x4000 ../myapp/build/partitions_singleapp.bin 0x10000 nuttx0.bin
bootloader and partitions_singleapp I build as a part of sample application with using esp-idf (https://github.com/espressif/esp-idf.git)
At load I see olny bootloader output and nothing more after it (but I expect nsh shell).
What am I doing wrong? I tried different values for UART0 Tx Pin / UART0 Rx Pin ( (gpio numbers insted of pin numbers, pin/gpio numbers counting from 0, etc) but without success.