Skip to content

Add AI thinker esp32c3s 2M #6032

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 15, 2022
Merged

Add AI thinker esp32c3s 2M #6032

merged 3 commits into from
Feb 15, 2022

Conversation

prplz
Copy link

@prplz prplz commented Feb 14, 2022

This board is a c3, so it can't support tinyuf2 and with only 2MB of flash, it doesn't have space for ota partitions.

  • Add a new variable UF2_BOOTLOADER to the port makefile that is 1 when IDF_TARGET is esp32s2 or esp32s3
  • Use UF2_BOOTLOADER to select whether to use a new partition variant, partitions-xMB-no-uf2.csv.
  • Use UF2_BOOTLOADER instead of filtering out esp32c3 to select the .uf2 target

I made these changes with support for future (or past) non usb espressif chips in mind.

Tested on hardware.

Closes #5601

@prplz
Copy link
Author

prplz commented Feb 14, 2022

I have added the 4MB partition layout to fix the builds of the other c3 boards. Note this will stomp the filesystem of older c3 installations. I do not own any 4MB c3 board to test on.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea! Thank you!

@tannewt tannewt merged commit feb6533 into adafruit:main Feb 15, 2022
@prplz
Copy link
Author

prplz commented Feb 19, 2022

I just realized this breaks update_sdkconfig.py

@dhalbert
Copy link
Collaborator

Are the builds OK? I've put this in 7.2.0-rc.0.

@prplz
Copy link
Author

prplz commented Feb 19, 2022

The builds are ok, it's just a utility script for editing sdkconfigs

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.

ESP-C3-32S built-in 2MByte Flash
3 participants