summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* altos: Add lambda support to lispKeith Packard2016-11-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lisp: Separate out values from atomsKeith Packard2016-11-17
| | | | | | | | | | | 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 Packard2016-11-17
| | | | | | Along with other small fixes Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Add lisp to include directoriesKeith Packard2016-11-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/kernel: Make ao_cmd_readline public. Return char from ao_cmd_lex.Keith Packard2016-11-17
| | | | | | | 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 Packard2016-11-17
| | | | | | | | | | | 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 Packard2016-11-17
|
* Add first lisp bitsKeith Packard2016-11-17
| | | | 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>
* 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>
* altosui: Deal with connect failure in AltosConfigTDKeith Packard2016-09-02
| | | | | | | | When the USB connection times out, abort any pending operations and clean up the thread correctly. Also, deal with the serial line being closed by checking for null. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-cal-freq: --verbose option has no parameterKeith Packard2016-08-31
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup: telemega allow serial on command line, loop on accel failKeith Packard2016-08-31
| | | | | | | | | | Allow the serial number on the turnon_telemega command line, instead of reading it. When accel cal fails, loop waiting for it to succeed instead of continuing blindly. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/cc1120: remove unused status from ao_radio_fifo_write_stopKeith Packard2016-08-29
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-usbload: Check target device name to avoid mis-flashingKeith Packard2016-08-14
| | | | | | | | | Instead of blindly loading firmware, go get the old device's name and make sure it matches the new firmware. Add --force option to allow this to be overridden. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-chaosread: Parse -i and -b optionsKeith Packard2016-08-14
| | | | | | Need to pass the single-byte verisons to getopt_long Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump verison to 1.6.7Keith Packard2016-08-08
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Switch ADC fast to ADC clockKeith Packard2016-08-08
| | | | | | | Using this slower clock eliminates sampling problems with the ADC and cleans up the chaoskey raw data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Flash all LEDS during power onKeith Packard2016-08-04
| | | | | | | | | | | | | This tests the LEDS to make sure they all work on the following devices: easymega-v1.0 telebt-v3.0 teledongle-v3.0 telemega-v1.0 telemega-v2.0 telemetrum-v2.0 Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup: Add colors to chaoskey test result reportingKeith Packard2016-08-04
| | | | | | This makes them show up nice and bright in the terminal window. Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump to version 1.6.6Keith Packard2016-08-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup: Use released files for chaoskey turnonKeith Packard2016-08-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup: Test chaoskey using dieharderKeith Packard2016-08-02
| | | | | | | This uses a subset of the dieharder tests which run in reasonable time and don't appear to emit false negatives on a regular basis. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-chaosread: Eliminate double-free when serial match failsKeith Packard2016-08-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-chaosread: Add --infinite and --bytes optionsKeith Packard2016-08-02
| | | | | | | | | | | The --infinite option keeps writing data. The --bytes options pulls out bits 1-8 which should provide 8 true bits of entropy. This combination allows ao-chaosread to be fed directly into dieharder to validate the hardware. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Use standard FIPS testing for chaoskeyKeith Packard2016-08-02
| | | | | | | Check to make sure we aren't repeating a block coming from the unwhitened source, which is the standard online FIPS test for RNGs. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Clean .bin files from flash-loader dirsKeith Packard2016-08-02
| | | | | | | The .bin files are what the DFU utility uses to flash the boot loader using USB. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Hook up clock output supportKeith Packard2016-08-02
| | | | | | | This was used to try and not have two xtals on telemini, but failed because the provided clock has too much noise. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make telelcotwo control two boxes instead of two padsKeith Packard2016-08-02
| | | | | | | | telefiretwo is now a single pad box, so telelcotwo needs to switch between boxes instead of pads on the same box. Do this by re-purposing the pad arming switches into a box selector and arming switch. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add 'ao_button_get' to button driverKeith Packard2016-08-02
| | | | | | | This returns the current state of the button; useful to check what the value is at startup. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add a 'seconds' method to AltosGPSKeith Packard2016-08-02
| | | | | | | This computes the time in seconds since the epoch from GPS time information. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Stop building cc1111-based telemini v2.0 firmwareKeith Packard2016-07-27
| | | | | | This product never worked, so stop insisting that it actually build. Signed-off-by: Keith Packard <keithp@keithp.com>