summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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>
* altos: Don't switch to flight 0 when log fills in flightKeith Packard2016-07-27
| | | | | | | | | If the log is full at startup, we want to transmit flight 0 to let the ground station know. However, we don't want to switch to flight 0 in flight, so save the initial telemetry flight number (0 or the real flight number) at startup and use that throughout the flight. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Expose cc1200 radio test functions for telemini bringupKeith Packard2016-07-27
| | | | | | | | This exposes the cc1200 radio test function so we can load special test firmware in telemini to do the radio cal as it has no USB to perform that interactively. Signed-off-by: Keith Packard <keithp@keithp.com>
* fixup for interleaveKeith Packard2016-07-27
|
* altos: Don't access cc1120 SPI bus during recv after abort has startedKeith Packard2016-07-27
| | | | | | | | | | When the receive timeout happens, the radio may still interrupt while the SPI bus is getting shut down. If this happens, the interrupt handler shouldn't touch the SPI bus at all as it may well be turned off, which would cause the receive function to wedge waiting for a spi byte transfer to happen. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Keep telemetry and command output from interleavingKeith Packard2016-07-27
| | | | | | | | | | When monitoring telemetry, the frame needs to be sent together on one line, not split with the output of a command (like 'a') mixed in. Use a mutex for products with monitoring to keep command output and telemetry output each on separate lines. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add STM32F0 beep and SPI byte API.Keith Packard2016-07-14
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Show indicator when they switch from invalid back to validKeith Packard2016-07-12
| | | | | | | | The 'hide' value wasn't getting reset to 'false' each time the state of the indicators was checked, so indicators would get hidden and then never shown again. Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump version to 1.6.5.1 after 1.6.5 releaseKeith Packard2016-07-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add telemetrum v3.0Keith Packard2016-07-12
| | | | | | Like Telemetrum v2.0, but with cc1200 instead of cc1120 Signed-off-by: Keith Packard <keithp@keithp.com>
* Switch from GPLv2 to GPLv2+Keith Packard2016-07-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* remove debian/ from master branch, it should live only on the debian branchBdale Garbee2016-07-05
|
* updates made during 1.6.5 release processBdale Garbee2016-07-05
|
* doc: Build 1.6.5 release notesKeith Packard2016-07-03
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Credit Chuck Haskin for helping fix the SPI bug.Keith Packard2016-07-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump to 1.6.5. Add preliminary release notesKeith Packard2016-07-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/cc1111: Remove 'show tasks' commandKeith Packard2016-06-30
| | | | | | This saves space on cc1111 parts. Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump to testing version 1.6.4.2Keith Packard2016-06-29
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Use FIFO_THR pin for cc1120 transmit bufferingKeith Packard2016-06-29
| | | | | | | Instead of reading NUM_TXBYTES, set the FIFO_THR pin to indicate when 64 bytes are available in the buffer. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Leave USB enabled in flight with -DDEBUG=1Keith Packard2016-06-29
| | | | | | This leaves the command line available for diagnostics when debugging. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm: clean up ao_exti_enableKeith Packard2016-06-29
| | | | | | Was computing (1 << pin) twice for no good reason. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make task list output more usefulKeith Packard2016-06-29
| | | | | | Add the timeout value and task id Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telemini-v2.0: Remove show tasks commandKeith Packard2016-06-29
| | | | | | There's not enough memory for this command, and it isn't necessary. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make ao_delay(0) not wait foreverKeith Packard2016-06-29
| | | | | | | | | ao_delay() is implemented on top of ao_sleep_for, and ao_sleep_for uses the timeout value of 0 to indicate an infinite timeout. Calls to ao_delay for 0 ticks would unintentionally hit this case and end up waiting forever.x Signed-off-by: Keith Packard <keithp@keithp.com>