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

Feature request: CircuitPython support #2

Open
pdp7 opened this issue Mar 17, 2019 · 1 comment
Open

Feature request: CircuitPython support #2

pdp7 opened this issue Mar 17, 2019 · 1 comment

Comments

@pdp7
Copy link

pdp7 commented Mar 17, 2019

I asked CircuitPython core developers @tannewt and @dhalbert and they indicate that it should be possible to add support in CircuitPython for the Doppler even though it does not have external SPI flash. The SAMD51 in the Doppler has 512KB internal flash which should be sufficient to create an internal file system for CircuitPython.

Dan wrote in Discord:

We had internal flash only for the SAMD51 before we got SPI and QSPI flash implemented. A good guide would be to look at the atmel-samd/boards/trinket_m0/mpconfigboard.* or other non-Express boards. You'd need to set LD_FILE = samd51x19-bootloader.ld (and double-check that file, which hasn't been used for a while and might need updating) and also set INTERNAL_FLASH_FILESYSTEM = 1.

This is the config for the Trinket M0 that Dan referenced which only has internal SAMD21 flash:
https://github.com/urish/circuitpython/blob/master/ports/atmel-samd/boards/trinket_m0/mpconfigboard.mk

Here is a SAMD51 board but it does have external SPI flash:
https://github.com/urish/circuitpython/blob/master/ports/atmel-samd/boards/itsybitsy_m4_express/mpconfigboard.h

Dan and Scott both suggested jumping on the Discord channel for future questions:
Adafruit CircuitPython Discord channel #CircuitPython

24/7 chat and support on CircuitPython including a weekly podcast.

@tannewt
Copy link

tannewt commented Mar 19, 2019

Thanks @pdp7 ! We're here to help! Just let us know what questions come up. Looks like the Doppler already uses the UF2 bootloader which is exciting!

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

No branches or pull requests

2 participants