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

Prepare BSP for Internal Flash filesystem #316

Merged
merged 2 commits into from
Jan 12, 2022
Merged

Conversation

hathach
Copy link
Member

@hathach hathach commented Jan 12, 2022

This PR prepare BSP for fatfs support on Internal Flash of samd21 Adafruit_InternalFlash . The board under test is ProxLight Trinkey which does not have spi flash. Changes include

  • change bossac default = 1.7 to bossac18 since 1.7 does a full chip erase every upload which destroy the filesystem. So far everything seems to work well
  • fake the SPI interface with dummy pin (SPI_INTERFACES_COUNT change to 1). This is because SdFat requires existence of SPI object to compile. Even though we use it as generic fatfs with block device API.

@ladyada please let me know if faking SPI make sense to you, otherwise, I will try to figure out another way to go around SdFat compilation.

@ladyada
Copy link
Member

ladyada commented Jan 12, 2022

oh this is annoying.... yeah sure, its ok!

@ladyada ladyada merged commit 525980e into master Jan 12, 2022
@ladyada ladyada deleted the prepare-internal-flash branch January 12, 2022 18:34
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