Hi,
I have successfully compiled pForth (using Atmel Studio) for
arduino.org's Tian board (which has a ATSAMD21G18 MCU - 32Kb of SRAM installed).
My problem is that pForth's crashes on the MCU with an out of memory error, and sometimes it will just hang! My question is that how much SRAM does pForth need to work (.text .data .bss .stack), and is there anyway of reducing it's memory footprint on these types of MCUs? I've defined PF_NO_MALLOC as well as using Atmel's own pAlloc library, however, the device still doesn't work, and the only messages you see are as follows:
pForth Embedded
PForth V27-LE/LE/32, built Feb 15 2017 16:04:05 (static)
and:
CreateTaskContext: insufficient memory
Regards