summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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>
| | * 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>