summaryrefslogtreecommitdiff
path: root/src/lambdakey-v1.0
Commit message (Collapse)AuthorAge
* altos/scheme: Move ao-scheme to a separate repositoryKeith Packard2018-01-10
| | | | | | This way it can be incorporated into multiple operating systems more easily. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lambdakey-v1.0: Add LED function back inKeith Packard2018-01-07
| | | | | | We've made things smaller, so there's (barely) space for this now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lambdakey-v1.0: Switch back to command buffered inputKeith Packard2018-01-06
| | | | | | Instead of just reading from stdin with no echo or editing. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/scheme: Add ports. Split scheme code up.Keith Packard2018-01-06
| | | | | | And lots of other changes, including freeing unreferenced atoms. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lambdakey-v1.0: Add back and/or macrosKeith Packard2017-12-19
| | | | | | With scheme shrinking a bit, there's now space for these useful macros. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lambdakey-v1.0: shrink scheme code to fit the ROMKeith Packard2017-12-14
| | | | | | scheme has grown a bit; adapt Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lambdakey-v1.0: Make stack largerKeith Packard2017-12-12
| | | | | | scheme doesn't like to run with less than a 1kB stack. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/kernel: Allow ao_cmd to be built without taskingKeith Packard2017-12-12
| | | | | | Useful for single-threaded applications, like lambdakey Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lambdakey-v1.0: Get this building againKeith Packard2017-12-12
| | | | | | | | | | The lambdakey can't hold a full implementation of the scheme interpreter, so use only a subset, removing floats, bigints and vectors. Also reduce the pre-loaded lisp code as well. It's pretty spare at this point; but it does fill the ROM. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Allow building with newlib + avr stdio on ARMKeith Packard2017-12-11
| | | | | | | Redefines some stdio bits so that we can build with either pdclib or newlib + avr stdio. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lambdakey-v1.0: Switch to newlib, get things compiling againKeith Packard2017-12-11
| | | | | | | scheme is now way too large to fit on this device; some subsetting is clearly indicated. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lisp: Build new ao_lisp_stack.c into test and lambdakeyKeith Packard2017-02-20
| | | | | | Helpful to include the new source file. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lambdakey: Strip out unused codeKeith Packard2017-02-20
| | | | | | Make space for more lisp bits! Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lisp: remove duplicate 'length' lambda from hanoi exampleKeith Packard2017-02-20
| | | | | | This function is now a builtin. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lisp: Get lambdakey and nucleo-32 building againKeith Packard2017-02-20
| | | | | | Remove exti from the build list to make things fit. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lambdakey: Get save/restore workingKeith Packard2017-02-20
| | | | | | Need the HSI clock running for the flash hardware to work. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lisp: Append a CRC to the saved image to validate on restoreKeith Packard2017-02-20
| | | | | | | The CRC is actually of the ROM bits, so we can tell if the restored image relates to the currently running code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lisp: Share mark function for mark and moveKeith Packard2017-02-20
| | | | | | | These two operations both wanted to walk the referenced objects; sharing is caring. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lisp: add length, pack, unpack and flushKeith Packard2017-02-20
| | | | | | lots more builtins Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lisp: Clean up OS integration bits, add defunKeith Packard2017-02-20
| | | | | | | Provide an abstraction for the OS interface so that it can build more cleanly on Linux and AltOS. Add defun macro. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lambdakey-v1.0: Tweak memory allocationsKeith Packard2017-02-20
| | | | | | With non-recursive GC, more memory is available for the heap Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lisp: more GC issues. add patomKeith Packard2017-02-20
| | | | | | | Use global ao_lisp_stack instead of local stack so that gc moves of that item work. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add lambdakeyKeith Packard2017-02-20
Signed-off-by: Keith Packard <keithp@keithp.com>