Skip to content
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

fix(spi_nand_flash): fix memory alignment issue occurring on esp32c3 #480

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RathiSonika
Copy link
Collaborator

Change description

ESP32-C3 is based on the RISC-V architecture and does not allow uint16_t to be memory-aligned like ESP32. As a result, reading bad blocks caused a memory alignment error. This PR fixes the issue.

@RathiSonika RathiSonika changed the title fix(spi_nand_flash): fix memmory alignment issue occurring on esp32c3 fix(spi_nand_flash): fix memory alignment issue occurring on esp32c3 Mar 3, 2025
@RathiSonika RathiSonika force-pushed the fix/nand_flash_mem_alignment_issue branch from 7e9f8a8 to 749a430 Compare March 3, 2025 08:47
@RathiSonika RathiSonika requested a review from igrr March 3, 2025 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant