cederom commented on issue #13824: URL: https://github.com/apache/nuttx/issues/13824#issuecomment-2416840505
WORKS LIKE A CHARM! THANK YOU @fdcavalcanti @acassis @jerpelea @radimkarnis :-) ``` % uname -a FreeBSD octagon 13.3-RELEASE-p7 FreeBSD 13.3-RELEASE-p7 GENERIC amd64 % git checkout releases/12.7 % ./tools/configure.sh -B esp32-devkitc:nsh % gmake -j8 Create version.h LN: platform/board to /XXX/nuttx-apps.git/platform/dummy Register: nsh Register: sh Cloning Espressif HAL for 3rd Party Platforms Espressif HAL for 3rd Party Platforms: 20690e67695f0a8170a19ec99e2e9a13b620e94d LD: nuttx CP: nuttx.hex MKIMAGE: ESP32 binary esptool.py -c esp32 elf2image --ram-only-header -fs 4MB -fm dio -ff 40m -o nuttx.bin nuttx esptool.py v4.8.1 Creating esp32 image... Image has only RAM segments visible. ROM segments are hidden and SHA256 digest is not appended. Merged 1 ELF section Successfully created esp32 image. Generated: nuttx.bin % gmake flash LD: nuttx CP: nuttx.hex MKIMAGE: ESP32 binary esptool.py -c esp32 elf2image --ram-only-header -fs 4MB -fm dio -ff 40m -o nuttx.bin nuttx esptool.py v4.8.1 Creating esp32 image... Image has only RAM segments visible. ROM segments are hidden and SHA256 digest is not appended. Merged 1 ELF section Successfully created esp32 image. Generated: nuttx.bin esptool.py -c esp32 -p /dev/cuaU0 -b 115200 write_flash -fs detect -fm dio -ff 40m 0x1000 nuttx.bin esptool.py v4.8.1 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: XXX Uploading stub... Running stub... Stub running... Configuring flash size... Auto-detected Flash size: 4MB Flash will be erased from 0x00001000 to 0x00032fff... Compressed 202860 bytes to 72355... Wrote 202860 bytes (72355 compressed) at 0x00001000 in 6.8 seconds (effective 238.9 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin... % cu -l /dev/cuaU0 -s 115200 Connected nsh> uname -a NuttX 12.7.0 71d57aac25 Oct 16 2024 15:22:18 xtensa esp32-devkitc ~. % evenvsdk.sh venv (venv3.9embedded) pip install esptool==4.7.0 (venv3.9embedded) gmake -j8 LD: nuttx CP: nuttx.hex MKIMAGE: ESP32 binary Unsupported esptool version: 4.7.0 expects >= 4.8.0 Upgrade using: 'pip install --upgrade esptool' and run 'make' again gmake: *** [tools/Unix.mk:558: nuttx] Error 1 ``` Also we have updated esptool system package to 4.8.1 on FreeBSD :-) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282000 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
