Closed GoogleCodeExporter closed 9 years ago
r568
- Copied plat_reportError from desktop.
- Enabled HAVE_DEBUG_INFO in mbed/pmfeatures.h
Cannot create system regression test.
Tested manually on mbed target using ipm.
Mainlined directly.
Test output:
ipm> import sys; sys.heap(); sys.gc(); sys.heap()
(22688, 28672)
(23616, 28672)
ipm> import mbed
ipm> dir(mbed)
['set_led', 'TextLCD', 'I2C', 'SPI', 'Serial', 'PwmOut', 'DigitalOut',
'DigitalIn', 'AnalogOut', 'AnalogIn', '__doc__']
ipm> mbed.set_led(2,1)
ipm> 4/0
Traceback (most recent call first):
File "<ipm>", line 1, in <ipm>
File "../lib/ipm.py", line 99, in ipm
File "main.py", line 14, in main
ZeroDivisionError detected by FileId 0x00 line 0
ipm>
Original comment by dwhall...@gmail.com
on 7 Aug 2010 at 9:14
Original issue reported on code.google.com by
dwhall...@gmail.com
on 7 Aug 2010 at 4:35