Accessing the PyBadge SPI Flash from Makecode

Microsoft's MakeCode platform for easy blocks-style programming

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
blloyder
 
Posts: 1
Joined: Thu Mar 31, 2022 11:13 pm

Accessing the PyBadge SPI Flash from Makecode

Post by blloyder »

The PyBadge comes with 2MB of SPI flash. Is there some way of accessing that from MakeCode? I am hitting the 512KB limit of the flash memory and would like some additional storage.

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Accessing the PyBadge SPI Flash from Makecode

Post by mikeysklar »

You can use the SPI flash for storing static content (images, sounds, movies) and datalogging. The 512KB limit you are hitting is most likely the flash memory limit for a running program space. Checkout this guide for getting started with flash access from MakeCode.

https://learn.adafruit.com/data-logging ... e?view=all

Locked
Please be positive and constructive with your questions and comments.

Return to “MakeCode”