simbit18 commented on PR #18517:
URL: https://github.com/apache/nuttx/pull/18517#issuecomment-4047615304
I ran a test with this branch and this is the error that occurs with
esptool.py.
@tmedicci @fdcavalcanti @eren-terzioglu
```
esptool.py -c esp32 elf2image --ram-only-header -fs 4MB -fm dio -ff "40m" -o
nuttx.bin nuttx
Traceback (most recent call last):
esptool.py v4.8.dev4
File "/usr/local/bin/esptool.py", line 37, in <module>
esptool._main()
File "/usr/local/lib/python3.10/dist-packages/esptool/__init__.py", line
1170, in _main
Creating esp32 image...
Image has only RAM segments visible. ROM segments are hidden and SHA256
digest is not appended.
Merged 1 ELF section
main()
File "/usr/local/lib/python3.10/dist-packages/esptool/__init__.py", line
983, in main
operation_func(args)
File "/usr/local/lib/python3.10/dist-packages/esptool/cmds.py", line 1097,
in elf2image
image.save(args.output)
File "/usr/local/lib/python3.10/dist-packages/esptool/bin_image.py", line
778, in save
assert (f.tell() + 8 + self.ROM_LOADER.BOOTLOADER_FLASH_OFFSET) % (
AssertionError
make: *** [tools/Unix.mk:572: nuttx] Error 1
```
--
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]