Damien
|
1c62d04e2e
|
Add DAC, and simple audio driver to STM code.
|
11 years ago |
Damien
|
6addc89e55
|
Byte code for SMALL_INT uses 3 bytes for integer.
|
11 years ago |
Damien
|
0c70f88734
|
Add simple PWM control command to STM code.
|
11 years ago |
Damien
|
e8674399f1
|
Add vprintf, vsnprintf to STM code.
|
11 years ago |
Damien
|
96a0addb18
|
Fixup include of stdarg and va_list definition.
|
11 years ago |
Damien
|
2f06c57f8a
|
Add simple var-arg functions; add simple string.format.
|
11 years ago |
Damien
|
0e496733fe
|
Add simple file support to board.
|
11 years ago |
Damien
|
33af3bf028
|
Change Py API names, py_get_* -> py_obj_get_*.
|
11 years ago |
Damien
|
014e19fc4d
|
Fix compiler warnings in unix/main.c.
|
11 years ago |
Damien
|
9b9e996df6
|
Support for for-loop in native thumb.
|
11 years ago |
Damien
|
1a6633a74d
|
Implement more thumb branch instructions.
|
11 years ago |
Damien
|
a53f694dc3
|
Test code for user objects.
|
11 years ago |
Damien
|
d57eba51e5
|
Add user object to runtime.
|
11 years ago |
Damien
|
6ba1314265
|
Fix bug: emit native didn't clear last_was_return in label_assign.
|
11 years ago |
Damien
|
7410e440ab
|
Add basic complex number support.
|
11 years ago |
Damien
|
fecee2b0ae
|
Floats work with MP on board; function for LCD pixel manipulation.
|
11 years ago |
Damien
|
e0b1864337
|
Small hack to temporarily fix allocation of unique_code slots.
|
11 years ago |
Damien
|
ccfc9c51ba
|
Py runtime: list.append returns None.
|
11 years ago |
Damien
|
4ebb32fb95
|
Implement: str.join, more float support, ROT_TWO in VM.
|
11 years ago |
Damien
|
4c51cbdc0b
|
Add proper FPU compile flags; disable Python float support.
|
11 years ago |
Damien
|
e8217c2a9b
|
Remove debugging print for SD card; add comment to possibly-buggy USB code.
|
11 years ago |
Damien
|
c1764e997c
|
Add syscfg and SPI libraries from STM.
|
11 years ago |
Damien
|
4a14eb0b8d
|
PC13 (SDIO detect) can handle at most 2MHz speed config.
|
11 years ago |
Damien
|
5892f4710e
|
Working SD card, but no functionality yet (was hardware error).
|
11 years ago |
Damien
|
8f7491a109
|
Add USART support, connected to stdio for REPL.
|
11 years ago |
Damien
|
9281cd66c9
|
Add simple readline history.
|
11 years ago |
Damien
|
8128941e6c
|
Add support for RTC, used as a calendar.
|
11 years ago |
Damien
|
58a1b4c6cf
|
Add USB HID support. Runs as an alternative to VCP+MSC.
|
11 years ago |
Damien
|
2839168340
|
Add py_get_array_fixed_n function.
|
11 years ago |
Damien
|
7ee80bac8e
|
Add support for SD card (not working).
|
11 years ago |
Damien
|
6f08f8ce51
|
Add working MMA support.
|
11 years ago |
Damien
|
d2c1a732e5
|
Call gc_free in gc_realloc after allocating new block.
|
11 years ago |
Damien
|
0f6545139b
|
Implement simple servo control using PWM.
|
11 years ago |
Damien
|
8b3a7c2237
|
Fix func decls with no arguments: () -> (void).
|
11 years ago |
Damien
|
94186c8239
|
Implement boot-up commands; run main script after boot.
|
11 years ago |
Damien
|
9fc7933ff2
|
Add py_get_qstr.
|
11 years ago |
Damien
|
e9f1e50be4
|
Board running boot.py, working REPL, soft reboot.
|
11 years ago |
Damien
|
ec63cce470
|
Add simple support for C modules.
|
11 years ago |
Damien
|
92c06561a3
|
Improve REPL compount statement detection.
|
11 years ago |
Damien
|
9d63932b3d
|
Add gchelper.s, to load registers and clean stack for GC.
|
11 years ago |
Damien
|
0c5827fc65
|
stm: improved GC, and cooked output for VCP.
|
11 years ago |
Damien
|
bb5316b905
|
gc: reserve first block; lexer: free vstr.
|
11 years ago |
Damien
|
fd8b6bcf55
|
Add gc_free function to force a block to be freed.
|
11 years ago |
Damien
|
7b2d3f38ce
|
Implement some more operators, mostly for small ints.
|
11 years ago |
Damien
|
1b50affca8
|
Remove unnecessary USB files from stm.
|
11 years ago |
Damien
|
d276f6357e
|
Get unix version compling.
|
11 years ago |
Damien
|
f086ecf57c
|
Shrink py_obj_base_t size to 4 machine words.
|
11 years ago |
Damien
|
eefcc79022
|
Clear ATBs on gc_init; better gc_info.
|
11 years ago |
Damien
|
3f69aca2e2
|
Make stm use garbage collector.
|
11 years ago |
Damien
|
dcced92c26
|
Add mark-sweep garbage collector.
|
11 years ago |