File system greater than 30k for V2?

Questions and discussion about running MicroPython on a micro:bit board.
Target audience: MicroPython users with a micro:bit.
Post Reply
kjw
Posts: 9
Joined: Wed Jun 17, 2020 11:34 am

File system greater than 30k for V2?

Post by kjw » Fri Aug 06, 2021 11:21 pm

The micro:bit V2 has 512kB flash (double that of the V1) but it appears to still have the same ~30kB reserved for files? I wanted to do a bit of audio sample playback and I can't fit it all into 30k. Is there an easy way to change/extend this?

kjw
Posts: 9
Joined: Wed Jun 17, 2020 11:34 am

Re: File system greater than 30k for V2?

Post by kjw » Wed Oct 13, 2021 10:21 pm

I squashed as much as I could into the 30k: Instructables: PIR Movement Alarm With BBC Micro:bit and External Speaker - YouTube video in step 5 with the sample playback.

Would be nice to see this raised and perhaps with a marker/warning showing when you go above 30k for projects developed on the V2 but designed to be compatible with V1.

kjw
Posts: 9
Joined: Wed Jun 17, 2020 11:34 am

Re: File system greater than 30k for V2?

Post by kjw » Sat Oct 23, 2021 2:37 pm

It would also be useful to be able to change the playback rate. I ended up duplicating the samples to play a file at half speed for Halloween laughing skeleton using Cytron EDU:BIT and BBC micro:bit (YouTube). For anyone interested, more detail on that in Instructables: Halloween Spooky Ghost With BBC Micro:bit on Cytron EDU:BIT.

Post Reply