Damien
|
0446a0d76d
|
Change some debugging/output messages for native code generation.
|
11 years ago |
Damien
|
6d4f3462c4
|
Viper: function calls now convert constant arguments to objects.
|
11 years ago |
Damien
|
39c6c59868
|
STM: add LCD functions for pixel access; add RNG Py bindings.
|
11 years ago |
Damien
|
5c13dbf6ee
|
STM: add RNG support.
|
11 years ago |
Damien
|
087d218d95
|
Unix: add machine-specific sqrt support.
|
11 years ago |
Damien
|
6b92d451b2
|
Add len and subscr (a hack) support for strings.
|
11 years ago |
Damien
|
94658e2e25
|
Add JUMP_IF_x_OR_POP opcodes to VM.
|
11 years ago |
Damien
|
f3822fc34c
|
Fix but with optimised range being 1 over.
|
11 years ago |
Damien
|
6d42ab6625
|
Small improvements to timer module.
|
11 years ago |
Damien
|
bd8e110207
|
Add to STM code timer functionality to call Python on interrupt.
|
11 years ago |
Damien
|
f72fd0e875
|
Add optimisation for "for x in range".
|
11 years ago |
Damien
|
5bf32c3b6b
|
Built-in print function supports variable number of arguments.
|
11 years ago |
Damien
|
ae0bc08a37
|
Viper supports inplace add (trivial).
|
11 years ago |
Damien
|
40fdfe3000
|
Improve allocation of stack for byte code.
|
11 years ago |
Damien
|
03c9cfb015
|
Make byte code jumps relative.
|
11 years ago |
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 |