Search found 3 matches
- Sun Apr 24, 2022 5:00 pm
- Forum: Development of MicroPython
- Topic: STM32F405 Default Memory Mapping
- Replies: 1
- Views: 1852
STM32F405 Default Memory Mapping
While looking for ways to reduce memory usage on the STM32F4 chip, I discovered that MicroPython was only accessing 128K of the total 192K. Which at first confused me until I dug deeply and read in the chip specification about the 64K of CCM memory. After some testing based on the ideas from reading...
- Mon Jan 03, 2022 10:15 am
- Forum: General Discussion and Questions
- Topic: Frozen bytecode and Precedence of Folder
- Replies: 1
- Views: 8626
Re: Frozen bytecode and Precedence of Folder
Well I've created a not very appealing way to make this work. imports = [ "periphery.buzzer", "periphery.rgb_leds", "periphery.tempsensor", ] # Import from SD card if exists (otherwise, use the frozen module) sys.path[0] = "/sd" sys.path[1] = "" for module in imports: try: module_obj = __import__(mo...
- Mon Dec 27, 2021 2:05 pm
- Forum: General Discussion and Questions
- Topic: Frozen bytecode and Precedence of Folder
- Replies: 1
- Views: 8626
Frozen bytecode and Precedence of Folder
I did a quick search and found this older post but it doesn't quite answer my questions. https://forum.micropython.org/viewtopic.php?f=2&t=7961&p=45334&hilit=frozen+sd+card#p45334 My problem is I have a folder with periphery .mpy files and I'm freezing those into the firmware so that they can be imp...