diff --git a/port/rt-thread/main.py b/port/rt-thread/main.py index 87733382d..7eb334820 100644 --- a/port/rt-thread/main.py +++ b/port/rt-thread/main.py @@ -2,8 +2,12 @@ import PikaStdLib import pikaRTThread thread = pikaRTThread.Thread() +mem = PikaStdLib.MemChecker() i = 0 while i < 3: i = i + 1 print('hello PikaScript!') thread.mdelay(500) + +print('mem use max:') +mem.max()