+1 :-)

BUILD HOST:
FreeBSD octagon 13.2-RELEASE-p4 FreeBSD 13.2-RELEASE-p4 GENERIC amd64 .


TARGETS:
1. ESP32.
2. ESP32-C3.
3. ESP32-S2.
4. ESP32-S3.


=== ESP32 ===

% xtensa-esp32-elf-gcc -v
Using built-in specs.
COLLECT_GCC=xtensa-esp32-elf-gcc
COLLECT_LTO_WRAPPER=/usr/home/cederom/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/../libexec/gcc/xtensa-esp32-elf/8.4.0/lto-wrapper
Target: xtensa-esp32-elf
Configured with:
/builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/gcc/configure
--build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu
--target=xtensa-esp32-elf
--prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32-elf
--exec_prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32-elf
--with-local-prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32-elf/xtensa-esp32-elf
--with-headers=/builds/idf/crosstool-NG/builds/xtensa-esp32-elf/xtensa-esp32-elf/include
--with-newlib --enable-threads=no --disable-shared
--with-pkgversion='crosstool-NG esp-2021r2-patch5'
--disable-__cxa_atexit --enable-cxx-flags=-ffunction-sections
--disable-libgomp --disable-libmudflap --disable-libmpx
--disable-libssp --disable-libquadmath --disable-libquadmath-support
--disable-libstdcxx-verbose
--with-gmp=/builds/idf/crosstool-NG/.build/xtensa-esp32-elf/buildtools
--with-mpfr=/builds/idf/crosstool-NG/.build/xtensa-esp32-elf/buildtools
--with-mpc=/builds/idf/crosstool-NG/.build/xtensa-esp32-elf/buildtools
--with-isl=/builds/idf/crosstool-NG/.build/xtensa-esp32-elf/buildtools
--enable-lto --enable-target-optspace --without-long-double-128
--disable-nls --enable-multiarch --enable-languages=c,c++
--disable-libstdcxx-verbose --enable-threads=posix
--enable-gcov-custom-rtio --enable-libstdcxx-time=yes
Thread model: posix
gcc version 8.4.0 (crosstool-NG esp-2021r2-patch5)

% /usr/bin/time -h ./tools/configure.sh -B -a ../nuttx-apps.git
esp32-devkitc:coremark
        2,88s real              1,49s user              1,61s sys

% /usr/bin/time -h gmake -j8
        14,84s real             56,33s user             32,84s sys

% /usr/bin/time -h gmake flash
        9,98s real              1,49s user              0,97s sys

% cu -l /dev/cuaU0 -s 115200
can't open log file /var/log/aculog.
Connected
ts Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4540
ho 0 tail 12 room 4
load:0x40078000,len:12344
ho 0 tail 12 room 4
load:0x40080400,len:4124
entry 0x40080680
Running CoreMark...
2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : 1218
Total time (secs): 12.180000
Iterations/Sec   : 985.221675
Iterations       : 12000
Compiler version : GCC8.4.0
Compiler flags   : -O3 -fno-strict-aliasing -fomit-frame-pointer
-ffunction-sections -fdata-sections
Parallel PThreads : 2
Memory location  : HEAP
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[1]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[1]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[1]crcstate      : 0x8e3a
[0]crcfinal      : 0xa14c
[1]crcfinal      : 0xa14c
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 985.221675 / GCC8.4.0 -O3 -fno-strict-aliasing
-fomit-frame-pointer -ffunction-sections -fdata-sections / HEAP /
2:PThreads
~
[EOT]


% /usr/bin/time -h gmake clean distclean
        6,92s real              3,12s user              4,08s sys

% /usr/bin/time -h ./tools/configure.sh -B -a ../nuttx-apps.git
esp32-devkitc:nsh
        2,88s real              1,51s user              1,59s sys

% /usr/bin/time -h gmake -j8
        15,25s real             54,93s user             34,13s sys

% /usr/bin/time -h gmake flash
LD: nuttx
CP: nuttx.hex
MKIMAGE: ESP32 binary
esptool.py -c esp32 elf2image -fs 4MB -fm dio -ff 40m -o nuttx.bin nuttx
esptool.py v4.5
Creating esp32 image...
Merged 1 ELF section
Successfully created esp32 image.
Generated: nuttx.bin (ESP32 compatible)
esptool.py -c esp32 -p /dev/cuaU0 -b 115200  write_flash -fs detect
-fm dio -ff 40m 0x10000 nuttx.bin
esptool.py v4.5
Serial port /dev/cuaU0
Connecting.........
Chip is ESP32-D0WD-V3 (revision v3.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse,
Coding Scheme None
Crystal is 40MHz
MAC: 8c:4b:14:81:0b:ec
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00010000 to 0x00031fff...
Compressed 136080 bytes to 62605...
Wrote 136080 bytes (62605 compressed) at 0x00010000 in 5.7 seconds
(effective 191.4 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
        11,09s real             1,82s user              1,24s sys

% cu -l /dev/cuaU0 -s 115200
Connected
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4540
ho 0 tail 12 room 4
load:0x40078000,len:12344
ho 0 tail 12 room 4
load:0x40080400,len:4124
entry 0x40080680

NuttShell (NSH) NuttX-12.3.0
nsh> uname -a
NuttX 12.3.0 8fdb56b5f2 Oct 19 2023 17:12:37 xtensa esp32-devkitc


=== ESP32-C3 ===

% riscv32-esp-elf-gcc -v
Using built-in specs.
COLLECT_GCC=riscv32-esp-elf-gcc
COLLECT_LTO_WRAPPER=/usr/home/cederom/.espressif/tools/riscv32-esp-elf/esp-2021r2-patch5-8.4.0/riscv32-esp-elf/bin/../libexec/gcc/riscv32-esp-elf/8.4.0/lto-wrapper
Target: riscv32-esp-elf
Configured with:
/builds/idf/crosstool-NG/.build/riscv32-esp-elf/src/gcc/configure
--build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu
--target=riscv32-esp-elf
--prefix=/builds/idf/crosstool-NG/builds/riscv32-esp-elf
--exec_prefix=/builds/idf/crosstool-NG/builds/riscv32-esp-elf
--with-local-prefix=/builds/idf/crosstool-NG/builds/riscv32-esp-elf/riscv32-esp-elf
--with-headers=/builds/idf/crosstool-NG/builds/riscv32-esp-elf/riscv32-esp-elf/include
--with-newlib --enable-threads=no --disable-shared --with-arch=rv32gc
--with-abi=ilp32 --with-pkgversion='crosstool-NG esp-2021r2-patch5'
--disable-__cxa_atexit --enable-cxx-flags=-ffunction-sections
--disable-libgomp --disable-libmudflap --disable-libmpx
--disable-libssp --disable-libquadmath --disable-libquadmath-support
--disable-libstdcxx-verbose
--with-gmp=/builds/idf/crosstool-NG/.build/riscv32-esp-elf/buildtools
--with-mpfr=/builds/idf/crosstool-NG/.build/riscv32-esp-elf/buildtools
--with-mpc=/builds/idf/crosstool-NG/.build/riscv32-esp-elf/buildtools
--with-isl=/builds/idf/crosstool-NG/.build/riscv32-esp-elf/buildtools
--enable-lto --enable-target-optspace --without-long-double-128
--disable-nls --enable-multiarch --enable-languages=c,c++
--disable-libstdcxx-verbose --enable-threads=posix
--enable-gcov-custom-rtio --enable-libstdcxx-time=yes
Thread model: posix
gcc version 8.4.0 (crosstool-NG esp-2021r2-patch5)

% /usr/bin/time -h gmake clean distclean
        7,12s real              3,21s user              4,20s sys

%  /usr/bin/time -h ./tools/configure.sh -B -a ../nuttx-apps.git
esp32c3-devkit:coremark
        2,89s real              1,47s user              1,61s sys

% /usr/bin/time -h gmake -j8 CROSSDEV=riscv32-esp-elf-
        13,72s real             52,37s user             32,84s sys

% /usr/bin/time -h gmake flash CROSSDEV=riscv32-esp-elf-
ESPTOOL_BINDIR=../esp-bootloaders
/usr/local/bin/bash: line 1: riscv64-unknown-elf-gcc: command not found
expr: syntax error
LD: nuttx
CP: nuttx.hex
MKIMAGE: ESP32-C3 binary
esptool.py -c esp32c3 elf2image -fs 4MB -fm dio -ff 40m -o nuttx.bin nuttx
esptool.py v4.5
Creating esp32c3 image...
Merged 1 ELF section
Successfully created esp32c3 image.
Generated: nuttx.bin (ESP32-C3 compatible)
esptool.py -c esp32c3 -p /dev/cuaU0 -b 115200   write_flash -fs 4MB
-fm dio -ff 40m 0x0 ../esp-bootloaders/bootloader-esp32c3.bin 0x8000
../esp-bootloaders/partition-table-esp32c3.bin 0x10000 nuttx.bin
esptool.py v4.5
Serial port /dev/cuaU0
Connecting.........
Chip is ESP32-C3 (revision v0.3)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:b1:58:00
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00004fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x0002dfff...
Warning: Image file at 0x0 is protected with a hash checksum, so not
changing the flash frequency setting. Use the --flash_frequency=keep
option instead of --flash_frequency=40m in order to remove this
warning, or use the --dont-append-digest option for the elf2image
command in order to generate an image file without a hash checksum
Compressed 20208 bytes to 12395...
Wrote 20208 bytes (12395 compressed) at 0x00000000 in 1.4 seconds
(effective 114.3 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 69...
Wrote 3072 bytes (69 compressed) at 0x00008000 in 0.1 seconds
(effective 399.0 kbit/s)...
Hash of data verified.
Compressed 122176 bytes to 45414...
Wrote 122176 bytes (45414 compressed) at 0x00010000 in 4.3 seconds
(effective 226.8 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
        10,81s real             1,65s user              1,24s sys

% cu -l /dev/cuaU0 -s 115200
Connected
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5820,len:0x16c0
load:0x403cc710,len:0x87c
load:0x403ce710,len:0x2f54
entry 0x403cc710
I (30) boot: ESP-IDF v5.1-dev-3972-g1559b6309f 2nd stage bootloader
I (30) boot: compile time Mar 15 2023 12:14:06
I (31) boot: chip revision: v0.3
I (35) boot.esp32c3: SPI Speed      : 80MHz
I (40) boot.esp32c3: SPI Mode       : DIO
I (44) boot.esp32c3: SPI Flash Size : 4MB
I (49) boot: Enabling RNG early entropy source...
I (54) boot: Partition Table:
I (58) boot: ## Label            Usage          Type ST Offset   Length
I (65) boot:  0 factory          factory app      00 00 00010000 00100000
I (73) boot: End of partition table
I (77) esp_image: segment 0: paddr=00010020 vaddr=3c010020 size=00ba4h
(  2980) map
I (86) esp_image: segment 1: paddr=00010bcc vaddr=3fc837e0 size=00168h
(   360) load
I (94) esp_image: segment 2: paddr=00010d3c vaddr=40380000 size=01ea8h
(  7848) load
I (104) esp_image: segment 3: paddr=00012bec vaddr=00000000 size=0d50ch ( 54540)
I (119) esp_image: segment 4: paddr=00020100 vaddr=42000100
size=0dc1ch ( 56348) map
I (128) boot: Loaded app from partition at offset 0x10000
I (128) boot: Disabling RNG early entropy source...
Running CoreMark...
2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : 1471
Total time (secs): 14.710000
Iterations/Sec   : 407.885792
Iterations       : 6000
Compiler version : GCC8.4.0
Compiler flags   : -O3 -fno-strict-aliasing -fomit-frame-pointer
-ffunction-sections -fdata-sections
Memory location  : HEAP
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[0]crcfinal      : 0xa14c
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 407.885792 / GCC8.4.0 -O3 -fno-strict-aliasing
-fomit-frame-pointer -ffunction-sections -fdata-sections / HEAP


% /usr/bin/time -h gmake clean distclean CROSSDEV=riscv32-esp-elf-
        8,58s real              4,22s user              5,91s sys

% /usr/bin/time -h ./tools/configure.sh -B -a ../nuttx-apps.git
esp32c3-devkit:nsh
        2,75s real              1,35s user              1,61s sys

% /usr/bin/time -h gmake -j8 CROSSDEV=riscv32-esp-elf-
        11,03s real             43,08s user             22,86s sys

% /usr/bin/time -h gmake flash CROSSDEV=riscv32-esp-elf-
ESPTOOL_BINDIR=../esp-bootloaders
/usr/local/bin/bash: line 1: riscv64-unknown-elf-gcc: command not found
expr: syntax error
LD: nuttx
CP: nuttx.hex
MKIMAGE: ESP32-C3 binary
esptool.py -c esp32c3 elf2image -fs 4MB -fm dio -ff 40m -o nuttx.bin nuttx
esptool.py v4.5
Creating esp32c3 image...
Merged 1 ELF section
Successfully created esp32c3 image.
Generated: nuttx.bin (ESP32-C3 compatible)
esptool.py -c esp32c3 -p /dev/cuaU0 -b 115200   write_flash -fs 4MB
-fm dio -ff 40m 0x0 ../esp-bootloaders/bootloader-esp32c3.bin 0x8000
../esp-bootloaders/partition-table-esp32c3.bin 0x10000 nuttx.bin
esptool.py v4.5
Serial port /dev/cuaU0
Connecting.........
Chip is ESP32-C3 (revision v0.3)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:b1:58:00
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00004fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x00035fff...
Warning: Image file at 0x0 is protected with a hash checksum, so not
changing the flash frequency setting. Use the --flash_frequency=keep
option instead of --flash_frequency=40m in order to remove this
warning, or use the --dont-append-digest option for the elf2image
command in order to generate an image file without a hash checksum
Compressed 20208 bytes to 12395...
Wrote 20208 bytes (12395 compressed) at 0x00000000 in 1.4 seconds
(effective 114.4 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 69...
Wrote 3072 bytes (69 compressed) at 0x00008000 in 0.1 seconds
(effective 403.1 kbit/s)...
Hash of data verified.
Compressed 154768 bytes to 68347...
Wrote 154768 bytes (68347 compressed) at 0x00010000 in 6.2 seconds
(effective 198.6 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
        13,90s real             1,97s user              1,81s sys

% cu -l /dev/cuaU0 -s 115200
Connected
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5820,len:0x16c0
load:0x403cc710,len:0x87c
load:0x403ce710,len:0x2f54
entry 0x403cc710
I (30) boot: ESP-IDF v5.1-dev-3972-g1559b6309f 2nd stage bootloader
I (30) boot: compile time Mar 15 2023 12:14:06
I (31) boot: chip revision: v0.3
I (35) boot.esp32c3: SPI Speed      : 80MHz
I (40) boot.esp32c3: SPI Mode       : DIO
I (44) boot.esp32c3: SPI Flash Size : 4MB
I (49) boot: Enabling RNG early entropy source...
I (54) boot: Partition Table:
I (58) boot: ## Label            Usage          Type ST Offset   Length
I (65) boot:  0 factory          factory app      00 00 00010000 00100000
I (73) boot: End of partition table
I (77) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=0384ch
( 14412) map
I (88) esp_image: segment 1: paddr=00013874 vaddr=3fc82ef0 size=001f4h
(   500) load
I (94) esp_image: segment 2: paddr=00013a70 vaddr=40380000 size=01994h
(  6548) load
I (103) esp_image: segment 3: paddr=0001540c vaddr=00000000 size=0acech ( 44268)
I (117) esp_image: segment 4: paddr=00020100 vaddr=42000100
size=15b64h ( 88932) map
I (133) boot: Loaded app from partition at offset 0x10000
I (133) boot: Disabling RNG early entropy source...

NuttShell (NSH) NuttX-12.3.0
nsh> uname -a
NuttX 12.3.0 8fdb56b5f2 Oct 19 2023 17:51:59 risc-v esp32c3-devkit


% /usr/bin/time -h gmake clean distclean CROSSDEV=riscv32-esp-elf-
        9,01s real              4,59s user              6,05s sys



=== ESP32-S2 ===

% xtensa-esp32s2-elf-gcc -v
Using built-in specs.
COLLECT_GCC=xtensa-esp32s2-elf-gcc
COLLECT_LTO_WRAPPER=/usr/home/cederom/.espressif/tools/xtensa-esp32s2-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s2-elf/bin/../libexec/gcc/xtensa-esp32s2-elf/8.4.0/lto-wrapper
Target: xtensa-esp32s2-elf
Configured with:
/builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/src/gcc/configure
--build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu
--target=xtensa-esp32s2-elf
--prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf
--exec_prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf
--with-local-prefix=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf/xtensa-esp32s2-elf
--with-headers=/builds/idf/crosstool-NG/builds/xtensa-esp32s2-elf/xtensa-esp32s2-elf/include
--with-newlib --enable-threads=no --disable-shared
--with-pkgversion='crosstool-NG esp-2021r2-patch5'
--disable-__cxa_atexit --enable-cxx-flags=-ffunction-sections
--disable-libgomp --disable-libmudflap --disable-libmpx
--disable-libssp --disable-libquadmath --disable-libquadmath-support
--disable-libstdcxx-verbose
--with-gmp=/builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/buildtools
--with-mpfr=/builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/buildtools
--with-mpc=/builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/buildtools
--with-isl=/builds/idf/crosstool-NG/.build/xtensa-esp32s2-elf/buildtools
--enable-lto --enable-target-optspace --without-long-double-128
--disable-nls --enable-multiarch --enable-languages=c,c++
--disable-libstdcxx-verbose --enable-threads=posix
--enable-gcov-custom-rtio --enable-libstdcxx-time=yes
Thread model: posix
gcc version 8.4.0 (crosstool-NG esp-2021r2-patch5)

% /usr/bin/time -h ./tools/configure.sh -B -a ../nuttx-apps.git
esp32s2-saola-1:coremark
        2,89s real              1,57s user              1,51s sys

Update .config with + use external UART dognle:
CONFIG_ESP32S2_UART0_TXPIN=2
CONFIG_ESP32S2_UART0_RXPIN=3

%  /usr/bin/time -h gmake -j8 CROSSDEV=xtensa-esp32s2-elf-
        15,76s real             54,52s user             34,26s sys

%  /usr/bin/time -h gmake flash CROSSDEV=xtensa-esp32s2-elf-
ESPTOOL_BINDIR=../esp-bootloaders
LD: nuttx
CP: nuttx.hex
MKIMAGE: ESP32-S2 binary
esptool.py -c esp32s2 elf2image -fs 4MB -fm dio -ff 40m -o nuttx.bin nuttx
esptool.py v4.5
Creating esp32s2 image...
Merged 1 ELF section
Successfully created esp32s2 image.
Generated: nuttx.bin (ESP32-S2 compatible)
esptool.py -c esp32s2 -p /dev/cuaU0 -b 115200   write_flash -fs detect
-fm dio -ff 40m 0x1000 ../esp-bootloaders/bootloader-esp32s2.bin
0x8000 ../esp-bootloaders/partition-table-esp32s2.bin 0x10000
nuttx.bin
esptool.py v4.5
Serial port /dev/cuaU0
Connecting....
Chip is ESP32-S2FNR2 (revision v0.0)
Features: WiFi, Embedded Flash 4MB, Embedded PSRAM 2MB, ADC and
temperature sensor calibration in BLK2 of efuse V1
Crystal is 40MHz
MAC: 84:f7:03:f5:00:d0
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00001000 to 0x00006fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x0002bfff...
Warning: Image file at 0x1000 is protected with a hash checksum, so
not changing the flash frequency setting. Use the
--flash_frequency=keep option instead of --flash_frequency=40m in
order to remove this warning, or use the --dont-append-digest option
for the elf2image command in order to generate an image file without a
hash checksum
Compressed 21344 bytes to 13551...
Wrote 21344 bytes (13551 compressed) at 0x00001000 in 0.3 seconds
(effective 625.5 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 69...
Wrote 3072 bytes (69 compressed) at 0x00008000 in 0.0 seconds
(effective 605.1 kbit/s)...
Hash of data verified.
Compressed 114640 bytes to 40035...
Wrote 114640 bytes (40035 compressed) at 0x00010000 in 1.1 seconds
(effective 869.5 kbit/s)...
Hash of data verified.

Leaving...
WARNING: ESP32-S2FNR2 (revision v0.0) chip was placed into download
mode using GPIO0.
esptool.py can not exit the download mode over USB. To run the app,
reset the chip manually.
To suppress this note, set --after option to 'no_reset'.
gmake: *** [tools/Unix.mk:577: flash] Error 1
        4,57s real              1,41s user              1,08s sys

% cu -l /dev/cuaU0 -s 115200
Connected
Running CoreMark...
2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : 1287
Total time (secs): 12.870000
Iterations/Sec   : 466.200466
Iterations       : 6000
Compiler version : GCC8.4.0
Compiler flags   : -O3 -fno-strict-aliasing -fomit-frame-pointer
-ffunction-sections -fdata-sections
Memory location  : HEAP
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[0]crcfinal      : 0xa14c
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 466.200466 / GCC8.4.0 -O3 -fno-strict-aliasing
-fomit-frame-pointer -ffunction-sections -fdata-sections / HEAP


%  /usr/bin/time -h gmake clean distclean CROSSDEV=xtensa-esp32s2-elf-
        7,03s real              3,18s user              4,13s sys


% /usr/bin/time -h ./tools/configure.sh -B -a ../nuttx-apps.git
esp32s2-saola-1:nsh
        2,91s real              1,50s user              1,62s sys

Update .config with + use external UART dognle:
CONFIG_ESP32S2_UART0_TXPIN=2
CONFIG_ESP32S2_UART0_RXPIN=3

%  /usr/bin/time -h gmake -j8 CROSSDEV=xtensa-esp32s2-elf-
        15,64s real             54,58s user             36,41s sys

%  /usr/bin/time -h gmake flash CROSSDEV=xtensa-esp32s2-elf-
ESPTOOL_BINDIR=../esp-bootloaders
        5,38s real              1,83s user              1,26s sys

% cu -l /dev/cuaU0 -s 115200
Connected

NuttShell (NSH) NuttX-12.3.0
nsh> uname -a
NuttX 12.3.0 8fdb56b5f2 Oct 19 2023 18:19:17 xtensa esp32s2-saola-1

%  /usr/bin/time -h gmake clean distclean CROSSDEV=xtensa-esp32s2-elf-
        7,24s real              3,46s user              4,08s sys


=== ESP32-S3 ===

Device not recignized by FreeBSD USB stack. Out of scope :-)


Besr regards :-)
Tomek


On Wed, Oct 18, 2023 at 9:18 AM Alin Jerpelea <jerpe...@gmail.com> wrote:
>
> Hello all,
> Apache NuttX 12.3.0 RC1 has been staged under [1] and it's
> time to vote on accepting it for release. Voting will be open for 72hr.
>
> A minimum of 3 binding +1 votes and more binding +1 than binding -1 are
> required to pass.
>
> The Apache requirements for approving a release can be found here [3]
> "Before voting +1 PMC members are required to download the signed
> source code package, compile it as provided, and test the resulting
> executable on their own platform, along with also verifying that the
> package meets the requirements of the ASF policy on releases."
>
> A document to walk through some of this process has been published on
> our project wiki and can be found here [4].
>
> [ ] +1 accept (indicate what you validated - e.g. performed the non-RM
> items in [4])
> [ ] -1 reject (explanation required)
>
> Thank you all,
> Alin Jerpelea
>
> SCM Information:
>   Release tag: nuttx-12.3.0-RC1
>   Hash for the release nuttx tag: 8fdb56b5f2124de351a48125a252ba4264665e3d
>   Hash for the release nuttx-apps tag: 
> 2d6d199c492196c4680ae7f5b97bb6e2a7b38649
>
> [1] https://dist.apache.org/repos/dist/dev/nuttx/12.3.0-RC1/
> [2] 
> https://raw.githubusercontent.com/apache/nuttx/nuttx-12.3.0-RC1/ReleaseNotes
> [3] https://www.apache.org/dev/release.html#approving-a-release
> [4] 
> https://cwiki.apache.org/confluence/display/NUTTX/Validating+a+staged+Release



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

Reply via email to