altos/lambdakey-v1.0: Fix obvious build errors The code is too large to run on this device at this point, but at least it doesn't fail to compile? Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Move common build definitions to src/Makefile.defs This cleans up the build process for all architectures, providing a common place to specify vpath, cflags and build rules for various common files. Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Add generic LED driver. This driver uses the generic GPIO functions and allows per-LED port and pin configuration. It supports up to 32 LEDs. Rename SoC-specific LED drivers. Remove enabled parameter to ao_led_init Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Switch to newlib-nano for libc on arm Stop using pdclib Signed-off-by: Keith Packard <keithp@keithp.com>
altos/scheme: Move ao-scheme to a separate repository 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 in We've made things smaller, so there's (barely) space for this now. Signed-off-by: Keith Packard <keithp@keithp.com>
altos/scheme: Add ports. Split scheme code up. And lots of other changes, including freeing unreferenced atoms. Signed-off-by: Keith Packard <keithp@keithp.com>
altos/lambdakey-v1.0: Get this building again 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 ARM 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 again 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 lambdakey Helpful to include the new source file. Signed-off-by: Keith Packard <keithp@keithp.com>
altos/lambdakey: Strip out unused code Make space for more lisp bits! Signed-off-by: Keith Packard <keithp@keithp.com>
altos/lisp: remove duplicate 'length' lambda from hanoi example This function is now a builtin. Signed-off-by: Keith Packard <keithp@keithp.com>
altos/lisp: Get lambdakey and nucleo-32 building again Remove exti from the build list to make things fit. Signed-off-by: Keith Packard <keithp@keithp.com>
altos/lambdakey: Get save/restore working Need the HSI clock running for the flash hardware to work. Signed-off-by: Keith Packard <keithp@keithp.com>
altos/lisp: Share mark function for mark and move These two operations both wanted to walk the referenced objects; sharing is caring. Signed-off-by: Keith Packard <keithp@keithp.com>
altos/lisp: Clean up OS integration bits, add defun 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: Add lambdakey Signed-off-by: Keith Packard <keithp@keithp.com>