Hai,
I have a project withe a Teensy 3.6 an i will monitor the memmory.
When the program run, i see:
==== memory report ====
free: 3670043 Kb (1835021.3%)
stack: 524480 Kb (262240.0%)
heap: 68 Kb (33.9%)
**warning: stack and heap crash possible
The response like not good.
I have use "RamMonitor.h"
Inside "RamMonitor.h", see:
// user defined consts
static const uint16_t STACKALLOCATION = 1024; // stack allocation step size: must be 32bit boundries, div'able by 4
static const uint16_t LOWMEM = 4096; // low memory warning: 4kb (less than between stack and heap)
// internal consts
static const uint32_t HWADDRESS_RAMSTART =
#if defined(__MK20DX256__)
0x1FFF8000; // teensy 3.1 (? 3.2 ?)
#elif defined(__MKL26Z64__)
0x????????; // teensy LC
#else
0x1FFFE000; // teensy 3.0
#endif
static const MemMarker MEMMARKER = 0x524D6D6D; // chars RMmm ... Ram Monitor memory marker
static const uint16_t MARKER_STEP = STACKALLOCATION / sizeof(MemMarker);
No values for the Teensy 3.6?
What can i do?
Tanks.
I have a project withe a Teensy 3.6 an i will monitor the memmory.
When the program run, i see:
==== memory report ====
free: 3670043 Kb (1835021.3%)
stack: 524480 Kb (262240.0%)
heap: 68 Kb (33.9%)
**warning: stack and heap crash possible
The response like not good.
I have use "RamMonitor.h"
Inside "RamMonitor.h", see:
// user defined consts
static const uint16_t STACKALLOCATION = 1024; // stack allocation step size: must be 32bit boundries, div'able by 4
static const uint16_t LOWMEM = 4096; // low memory warning: 4kb (less than between stack and heap)
// internal consts
static const uint32_t HWADDRESS_RAMSTART =
#if defined(__MK20DX256__)
0x1FFF8000; // teensy 3.1 (? 3.2 ?)
#elif defined(__MKL26Z64__)
0x????????; // teensy LC
#else
0x1FFFE000; // teensy 3.0
#endif
static const MemMarker MEMMARKER = 0x524D6D6D; // chars RMmm ... Ram Monitor memory marker
static const uint16_t MARKER_STEP = STACKALLOCATION / sizeof(MemMarker);
No values for the Teensy 3.6?
What can i do?
Tanks.