circuitpython/stm
Damien George c5966128c7 Implement proper exception type hierarchy.
Each built-in exception is now a type, with base type BaseException.
C exceptions are created by passing a pointer to the exception type to
make an instance of.  When raising an exception from the VM, an
instance is created automatically if an exception type is raised (as
opposed to an exception instance).

Exception matching (RT_BINARY_OP_EXCEPTION_MATCH) is now proper.

Handling of parse error changed to match new exceptions.

mp_const_type renamed to mp_type_type for consistency.
2014-02-15 16:10:44 +00:00
..
cc3k Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
cmsis stm: Upgrade to latest CMSIS libraries. 2014-01-19 16:43:33 +00:00
fatfs stm: Mount SD card on 1:/ if present. 2014-02-08 16:00:15 +00:00
stmperiph stm: Mount SD card on 1:/ if present. 2014-02-08 16:00:15 +00:00
stmusb Initial support for Netduino 2014-02-03 23:26:05 -08:00
stmusbd stm: If SD card inserted on hard reset, it is the medium for USB MSD. 2014-02-13 23:21:02 +00:00
stmusbh stm: USB host mode working! Restructure stm library directories. 2014-01-26 17:41:01 +00:00
.gitignore Inital commit of stm32f4xx framework. 2013-10-13 00:42:20 +01:00
Makefile Change mp_obj_type_t.name from const char * to qstr. 2014-02-15 11:34:50 +00:00
adc.c Implement proper exception type hierarchy. 2014-02-15 16:10:44 +00:00
adc.h stm: Improved ADC module; add BOARD_NAME config value. 2014-01-25 16:30:47 +00:00
audio.c Revamp qstrs: they now include length and hash. 2014-01-21 21:40:13 +00:00
audio.h Add DAC, and simple audio driver to STM code. 2013-11-04 23:05:48 +00:00
delay.s Inital commit of stm32f4xx framework. 2013-10-13 00:42:20 +01:00
file.c Implement proper exception type hierarchy. 2014-02-15 16:10:44 +00:00
file.h Move file obj to separate module 2014-01-24 17:14:13 +02:00
flash.c Partially implement proper flash storage. 2013-10-18 23:44:05 +01:00
flash.h Partially implement proper flash storage. 2013-10-18 23:44:05 +01:00
font_petme128_8x8.h Inital commit of stm32f4xx framework. 2013-10-13 00:42:20 +01:00
gccollect.c stm: Tidy up memory labels; optimise GC root scanning. 2014-02-10 22:50:44 +00:00
gccollect.h stm: Tidy up memory labels; optimise GC root scanning. 2014-02-10 22:50:44 +00:00
gchelper.s stm: Tidy up memory labels; optimise GC root scanning. 2014-02-10 22:50:44 +00:00
i2c.c Implement proper exception type hierarchy. 2014-02-15 16:10:44 +00:00
i2c.h Added i2c python interface object 2013-12-28 19:23:33 -05:00
lcd.c Change mp_obj_type_t.name from const char * to qstr. 2014-02-15 11:34:50 +00:00
lcd.h STM: add LCD functions for pixel access; add RNG Py bindings. 2013-11-09 20:15:48 +00:00
led.c Implement proper exception type hierarchy. 2014-02-15 16:10:44 +00:00
led.h stm: Clean up main.c; disable libgcc by default. 2014-01-21 23:28:03 +00:00
lexerfatfs.c Search paths properly on import and execute __init__.py if it exists. 2014-02-05 23:57:48 +00:00
lexerfatfs.h stm: Add stm import support. 2014-01-16 22:09:13 +00:00
main.c Implement proper exception type hierarchy. 2014-02-15 16:10:44 +00:00
malloc0.c Generalize malloc-via-gc-heap support, make it available to unix port. 2014-02-11 16:20:02 +02:00
mma.c stm: LCD support for PYBv4; fix MMA reading code. 2014-01-23 18:10:42 +00:00
mma.h Add module object, to be used eventually for import. 2014-01-02 21:30:26 +00:00
mpconfigport.h stm: Add specific UINT_FMT and INT_FMT. 2014-02-11 21:58:08 +00:00
pendsv.c stm: Add support for ctrl-C to interrupt running Python. 2014-02-01 16:04:34 +00:00
pendsv.h stm: Add support for ctrl-C to interrupt running Python. 2014-02-01 16:04:34 +00:00
printf.c stm: Remove unneccesary include of mpconfigport (already in mpconfig). 2014-01-27 23:52:47 +00:00
pybwlan.c Remove mp_obj_new_exception_msg_1_arg and _2_arg. 2014-02-12 23:02:19 +00:00
pybwlan.h stm: initial commit of working CC3000 driver, based on Adafruit. 2013-12-05 20:38:23 +00:00
qstrdefsport.h Change mp_obj_type_t.name from const char * to qstr. 2014-02-15 11:34:50 +00:00
rtc.c stm: Increase timeout for RTC LSE startup; use backup regs. 2014-01-28 23:47:28 +00:00
rtc.h Move RTC to Separate Module 2014-01-23 13:49:06 +02:00
sdcard.c Implement proper exception type hierarchy. 2014-02-15 16:10:44 +00:00
sdcard.h stm: If SD card inserted on hard reset, it is the medium for USB MSD. 2014-02-13 23:21:02 +00:00
servo.c Implement proper exception type hierarchy. 2014-02-15 16:10:44 +00:00
servo.h Change object representation from 1 big union to individual structs. 2013-12-21 18:17:45 +00:00
startup_stm32f40xx.s stm: Tidy up memory labels; optimise GC root scanning. 2014-02-10 22:50:44 +00:00
std.h stm: Provide malloc()/realloc()/free(), as forwarding to gc_*() functions. 2014-02-11 18:09:50 +02:00
stm32f405.ld stm: Tidy up memory labels; optimise GC root scanning. 2014-02-10 22:50:44 +00:00
stm32fxxx_it.c Initial support for Netduino 2014-02-03 23:26:05 -08:00
stm32fxxx_it.h Working SysTick, code factoring, some boot-up code. 2013-10-19 14:40:54 +01:00
storage.c stm: Mount SD card on 1:/ if present. 2014-02-08 16:00:15 +00:00
storage.h stm: Mount SD card on 1:/ if present. 2014-02-08 16:00:15 +00:00
string0.c stm: Remove unused, useless and not-to-be-used strndup. 2014-02-10 22:55:15 +00:00
system_stm32f4xx.c Remove hardcoded PLL_M value 2014-01-21 14:43:13 +02:00
systick.c Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
systick.h Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
timer.c Revamp qstrs: they now include length and hash. 2014-01-21 21:40:13 +00:00
timer.h Add to STM code timer functionality to call Python on interrupt. 2013-11-06 23:04:33 +00:00
usart.c Implement proper exception type hierarchy. 2014-02-15 16:10:44 +00:00
usart.h stm: Re-instate C debugging USART port (disabled by default). 2014-01-13 00:20:06 +00:00
usb.c Implement proper exception type hierarchy. 2014-02-15 16:10:44 +00:00
usb.h Merge branch 'iabdalkader-master' 2014-02-01 16:17:06 +00:00
usrsw.c Initial support for Netduino 2014-02-03 23:26:05 -08:00
usrsw.h stm: rename sw_xx to switch_xx; change Python bindings to new version. 2014-01-05 14:04:55 +00:00