![]() |
Forum Index : Microcontroller and PC projects : Error : Not enough Global variable memory
Author | Message | ||||
ville56 Senior Member ![]() Joined: 08/06/2022 Location: AustriaPosts: 231 |
Just ran into that error ... putting a "memory" statement just before the "static" gives the following memory allocation situation. ----------------------------------- Program: 49K (38%) Program (1589 lines) 79K (62%) Free Saved Variables: 16K (100%) Free RAM: 33K (20%) 258 Variables 3K ( 1%) General 120K (79%) Free [1468] Static integer last_state Error : Not enough Global variable memory ----------------------------------- setup is PicoMite MMBasic RP2040 Edition V6.00.03 OPTION DISPLAY 40, 132 OPTION LCDPANEL ILI9488W, RLANDSCAPE,GP8,GP15,GP9,GP13 OPTION GUI CONTROLS 71 OPTION SDCARD GP22 Seems to me as if there is plenty of memory left, so I'm violating something else. Has anybody a clue for me? thanks in advance, Gerald Edited 2025-09-03 15:59 by ville56 73 de OE1HGA, Gerald |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6300 |
Too many global variables See manual page 82,83 VK7JH MMedit |
||||
ville56 Senior Member ![]() Joined: 08/06/2022 Location: AustriaPosts: 231 |
Jim, many thanks. This is what I was searching for but didn't find. I'm getting old .... 73 de OE1HGA, Gerald |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |