summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * altos/lisp: Separate out values from atomsKeith Packard2017-02-20
| | | | | | | | | | | | | | | | | | | | | | This enables changing values of atoms declared as constants, should enable lets, and with some work, even lexical scoping. this required changing the constant computation to run ao_lisp_collect() before dumping the block of constant data, and that uncovered some minor memory manager bugs. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/lisp: add set/setq and ' in readerKeith Packard2017-02-20
| | | | | | | | | | | | Along with other small fixes Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stmf0: Add lisp to include directoriesKeith Packard2017-02-20
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/kernel: Make ao_cmd_readline public. Return char from ao_cmd_lex.Keith Packard2017-02-20
| | | | | | | | | | | | | | With these two changes, the readline function can be used by other code. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/lisp: Change lisp objects to use ao_poly everywhere. Add constKeith Packard2017-02-20
| | | | | | | | | | | | | | | | | | | | | | This makes all lisp objects use 16-bit ints for references so we can hold more stuff in small amounts of memory. Also adds a separate constant pool of lisp objects for builtins, initial atoms and constant lisp code. Now builds (and runs!) on the nucleo-32 boards. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add lisp readerKeith Packard2017-02-20
| |
| * Add first lisp bitsKeith Packard2017-02-20
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * use elf, not ihxBdale Garbee2017-01-25
| |
| * stop using /usr/share for binaries in remaining turnon scriptsBdale Garbee2017-01-25
| |
| * altos/chaoskey: Add a metainfo for the ChaosKeyRichard Hughes2017-01-10
| | | | | | | | | | This provides the information necessary to reflash chaoskey using standard Linux device firmware tooling.
| * altos/arm: Align data so that gcc 5.4 doesn't do byte-accesses. Add -Wcast-alignKeith Packard2016-12-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gcc 5.4.1 tracks alignment of data through assignments, so that a uint32_t pointer which comes from byte-aligned uint8_t data: extern uint8_t foo[]; uint32_t *q = (void *) foo; Fetches and stores through this pointer are done bytewise. This is slow (meh), but if q references a device register, things to bad very quickly. This patch works around this bug in the compiler by adding __attribute__((aligned(4))) tags to some variables, or changing them from uint8_t to uint32_t. Places doing this will now be caught as I've added -Wcast-align to the compiler flags. That required adding (void *) casts, after the relevant code was checked to make sure the compiler could tell that the addresses were aligned. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stm: Make ao_usb_set_address static. Saves a bunch of text spaceKeith Packard2016-12-12
| | | | | | | | | | | | | | I'm sure this makes the function end up in-lined, which saves enough text space to fit the flash loader in ROM again. Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-bringup: Improve EasyMini turnon and test scriptsKeith Packard2016-11-17
| | | | | | | | | | | | | | | | Wait less time before trying the test script. Have the test script wait for the device to appear. And then use colors to help make the results clear. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/test: Fix testsKeith Packard2016-10-30
| | | | | | | | | | | | | | A couple of fixups for ao_flight_test to dump pyro info only when running in debug mode, and to change the aprs testing Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/nucleo-32: Add basic support for STM32F042 Nucleo-32 boardKeith Packard2016-10-30
| | | | | | | | | | | | This hooks up the LED, USB and the USART. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stmf0: Add USART supportKeith Packard2016-10-30
| | | | | | | | | | | | | | The STM32F0 usart can be operated much like the STM32L usart, but the registers are all moved around. Signed-off-by: Keith Packard <keithp@keithp.com>
| * augment TeleDongle turn on script to support serial number on command lineBdale Garbee2016-10-02
| |
| * Update pdclib to version using arm-specific 'ar' programKeith Packard2016-09-22
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * Fix release note html to remove xml bitsKeith Packard2016-09-05
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | prepare to uploaddebian/1.6.8-5Bdale Garbee2017-04-22
| |
* | altos/telegps: Inherit LDFLAGS from lpc make specificationKeith Packard2017-04-22
| | | | | | | | | | | | | | Somethings messed up with cortex-M0 linking, and this isn't helping as it overrides the LDFLAGS coming from the architecture. Signed-off-by: Keith Packard <keithp@keithp.com>
* | ao-tools/ao-flash-lpc: Adapt to current openocd LPC supportKeith Packard2017-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | Openocd 0.9.0 has generalized the lpc11xx support for all lpc11xx processors, not just the lpc11u14. This replaces the specific lpc11u14.cfg with the general lpc11xx.cfg file. Unlike the build we were using, this doesn't adjust the 'verify' command to adapt for the checksum which gets added during the flashing process. Hence, we disable verification and trust that if the flash loader works to load the OS, it's fine. Signed-off-by: Keith Packard <keithp@keithp.com>
* | ao-elftohex: Add conditions for skipping ELF sectionsKeith Packard2017-04-22
| | | | | | | | | | | | | | | | | | Skip sections with size 0, or which are of type SHT_NOBITS or which don't have the SHF_ALLOC flag set. This avoids crashing on sections which don't have any data to copy. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos/lpc,altos/stmf0: Use -n flag to work around link editor issueKeith Packard2017-04-22
| | | | | | | | | | | | | | | | | | Something changed in the link editor which makes it complain about 'no space for program headers' on LPC and STMF0 builds. Somehow, adding the '-n' flag to the linking step fixes it. It doesn't appear to break the build, so I guess it's ok? Signed-off-by: Keith Packard <keithp@keithp.com>
* | need patch to handle cherry-pickdebian/1.6.8-4Bdale Garbee2017-01-25
| |
* | add changelog entry for Debian package buildBdale Garbee2017-01-25
| |
* | altos/arm: Align data so that gcc 5.4 doesn't do byte-accesses. Add -Wcast-alignKeith Packard2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gcc 5.4.1 tracks alignment of data through assignments, so that a uint32_t pointer which comes from byte-aligned uint8_t data: extern uint8_t foo[]; uint32_t *q = (void *) foo; Fetches and stores through this pointer are done bytewise. This is slow (meh), but if q references a device register, things to bad very quickly. This patch works around this bug in the compiler by adding __attribute__((aligned(4))) tags to some variables, or changing them from uint8_t to uint32_t. Places doing this will now be caught as I've added -Wcast-align to the compiler flags. That required adding (void *) casts, after the relevant code was checked to make sure the compiler could tell that the addresses were aligned. Signed-off-by: Keith Packard <keithp@keithp.com>
* | need a patch to handle cherry-pickdebian/1.6.8-3Bdale Garbee2016-12-13
| |
* | update changelog for Debian buildBdale Garbee2016-12-13
| |
* | altos/stm: Make ao_usb_set_address static. Saves a bunch of text spaceKeith Packard2016-12-13
| | | | | | | | | | | | | | I'm sure this makes the function end up in-lined, which saves enough text space to fit the flash loader in ROM again. Signed-off-by: Keith Packard <keithp@keithp.com>
* | we need a patch to handle pdclib changedebian/1.6.8-2Bdale Garbee2016-10-02
| |
* | update changelog for Debian buildBdale Garbee2016-10-02
| |
* | Update pdclib to version using arm-specific 'ar' programKeith Packard2016-10-02
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | update changelog for Debian builddebian/1.6.8-1Bdale Garbee2016-09-05
| |
* | Merge branch 'branch-1.6' into debianBdale Garbee2016-09-05
|\ \
| * | update Changelog for release1.6.8branch-1.6Bdale Garbee2016-09-05
| | |
| * | Merge branch 'master' into branch-1.6Bdale Garbee2016-09-05
| |\|
| | * Remove pyro wizard file from masterKeith Packard2016-09-05
| | | | | | | | | | | | | | | | | | This isn't done yet. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * Bump version to 1.6.8Keith Packard2016-09-05
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altosui: Don't ship TeleMetrum v3.0 firmware (yet)Keith Packard2016-09-05
| | | | | | | | | | | | | | | | | | We haven't finished this yet, so don't deliver firmware for it. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * Add 1.6.8 release notesKeith Packard2016-09-03
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altos/stm: Set SPI slave DMA priority to HIGH/VERY_HIGHKeith Packard2016-09-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | Set spi slave DMA priority MOSI to HIGH and MISO to VERY_HIGH. Slave SPI doesn't have the luxury of slowing down when the system is busy, so provide it maximum memory bandwidth to try and keep up with the master. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altos/stm: Set i2c recv DMA to HIGHKeith Packard2016-09-03
| | | | | | | | | | | | | | | | | | | | | Make sure receive DMA is higher than any TX dma so that it always runs in preference. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altos/stm: Set MISO DMA priority to HIGH to avoid OVRKeith Packard2016-09-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | When the MISO DMA priority is too low, and the processor gets busy, it's possible for SPI input to overrun the processor, which causes the MISO DMA to get out of sync and never finish. Set the MISO DMA priority to HIGH to avoid this. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altos/stm: Create funcs to set SPI DMA parametersKeith Packard2016-09-03
| | | | | | | | | | | | | | | | | | | | | | | | Instead of having nearly duplicate versions of the SPI DMA configuration calls, create helper funcs that do most of the work so that the SPI API funcs are shorter and clearer. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * altos/stm: Make ao_spi_duplex out pointer constKeith Packard2016-09-03
| | | | | | | | | | | | | | | | | | Provides a bit better typechecking opportunities for this function. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * Bump version to 1.6.7.1Keith Packard2016-09-02
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| | * ao-tools/ao-cal-freq: Re-open usb device each tryKeith Packard2016-09-02
| | | | | | | | | | | | | | | | | | | | | | | | Instead of trying to re-use the same file descriptor, close and re-open the device each time around the loop to avoid getting stuck when calibrating TeleMega boards. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * ao-tools/ao-usbload: Fix -f flag, remove debug hacksKeith Packard2016-09-02
| | | | | | | | | | | | | | | | | | | | | | | | The code to validate the usb id and product name had some debug hacks left enabled, which caused it to fail. The short -f version of the force flag was also not getting parsed correctly. Signed-off-by: Keith Packard <keithp@keithp.com>
| | * ao-bringup/turnon_telemetrum: serial on cmd line. Loop on accel failKeith Packard2016-09-02
| | | | | | | | | | | | | | | | | | These make the script easier to use Signed-off-by: Keith Packard <keithp@keithp.com>