Skip to content

Fix ESP32S2 compile#154

Closed
203Null wants to merge 1 commit into
adafruit:masterfrom
203Null:esp32s2-fix
Closed

Fix ESP32S2 compile#154
203Null wants to merge 1 commit into
adafruit:masterfrom
203Null:esp32s2-fix

Conversation

@203Null
Copy link
Copy Markdown

@203Null 203Null commented Oct 24, 2021

For some reason, I can't compile for ESP32 S2 but I managed to get it fixed by changing this.

Original error

Traceback (most recent call last):
File "C:\esp-idf\components\partition_table\check_sizes.py", line 148, in
main()
File "C:\esp-idf\components\partition_table\check_sizes.py", line 142, in main
check_bootloader(args.offset, int(args.bootloader_offset, 0), args.bootloader_binary)
ValueError: invalid literal for int() with base 0: 'CONFIG_BOOTLOADER_OFFSET_IN_FLASH'

@hathach
Copy link
Copy Markdown
Member

hathach commented Oct 24, 2021

could you provide the git hash of your esp-idf, make sure it is the same as one pointed by submodule under lib/ https://github.com/adafruit/tinyuf2/tree/master/lib

@203Null
Copy link
Copy Markdown
Author

203Null commented Oct 25, 2021

could you provide the git hash of your esp-idf, make sure it is the same as one pointed by submodule under lib/ https://github.com/adafruit/tinyuf2/tree/master/lib

I was using the latest development branch because I was attempting port tinyuf2 to ESP32S3. I tried to recompile with e9cf9e2978 but it won't even compile now.
I'm currently getting a lot of errors like those

/tinyuf2/lib/esp-idf/components/newlib/newlib_init.c:85:6: error: 'struct syscall_stub_table' has no member named '_retarget_lock_init';

@hathach
Copy link
Copy Markdown
Member

hathach commented Oct 29, 2021

I see, the IDF latest move lots of stuffs around and introduce more breaking changes. I am in the middle of other works, will check this out later when possible.

@hathach
Copy link
Copy Markdown
Member

hathach commented Nov 10, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants