summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* libaltos: jni_md.h moved to linux subdir in Java installKeith Packard2016-03-06
| | | | | | Add the linux subdir to CFLAGS to find it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Fix build without second USB IN endpointKeith Packard2016-03-05
| | | | | | The code for the second IN endpoint was using the wrong ifdef. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add ao-chaosreadKeith Packard2016-03-02
| | | | | | This reads from the raw descriptor to help validate the hardware. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup: Switch to v1.0 for chaoskeyKeith Packard2016-03-02
| | | | | | | Not going to build any more v0.1 boards. Also, chaoskey now uses the unique ID for a serial, so we don't need to provide a serial number. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add ChaosKey v1.0 productKeith Packard2016-03-02
| | | | | | Much like ChaosKey v0.1, just different SoC package and a few wiring changes. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/chaoskey: Add another USB endpoint to read raw dataKeith Packard2016-03-02
| | | | | | | | | | | This replaces having the single output switch based on a pin value and allows us to box the device and still fetch raw data. For now, this will use a special libusb2 program, ao-chaosread, to pull bits as I haven't figure out how to make linux provide two /dev entries for one USB device. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/chaoskey: Use SoC device ID as serial numberKeith Packard2016-02-15
| | | | | | | | | To make manufacturing these devices tractable, we don't want to require a custom firmware load for each device, but we still want a unique serial number. Fortunately, the SoC provides a 96-bit ID which we can use. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Use device ID as usb serial number if requestedKeith Packard2016-02-15
| | | | | | | | This exposes the hardware device ID (which is unique per-chip) as the USB serial number, avoiding the need to create a custom ROM image for each device. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/chaoskey: Encode both hardware and software versions in product IDKeith Packard2016-02-15
| | | | | | | We have no other way of reporting the software version, so just encode it in the product ID. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Fix location of device_id registerKeith Packard2016-02-15
| | | | | | Copied from stm32l and never fixed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Another fix for non CDC-ACM devicesKeith Packard2016-02-08
| | | | | | | Need to set the bInterfaceNumber for the actual interface to zero when there isn't an INT interface before it. Signed-off-by: Keith Packard <keithp@keithp.com>
* Clean up stmf0 adc init.Bart Massey2016-02-08
| | | | | | This better matches the documented cal sequence. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Add missing ao_gpio.cKeith Packard2016-02-07
| | | | | | This contains the code for power managing the GPIO pins Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add simple stats test to TRNG codeKeith Packard2016-02-07
| | | | | | | This detects broken hardware by making sure the standard deviation in the raw values used to compute each buffer is at least 128. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Delay TRNG ADC long enough for HV supply to stabilizeKeith Packard2016-02-07
| | | | | | | Looks like it takes about 70ms for the supply to start running right, so delay after powering it up for that long. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/chaoskey-v0.1: Add power management and change USB classesKeith Packard2016-02-07
| | | | | | | Enable power management. Expose only a single IN endpoint. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add power management to TRNG driverKeith Packard2016-02-07
| | | | | | | Support suspend/resume of the TRNG power supply, delaying after resume to wait for it to stabilize. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Allow USB drivers to skip CDC-ACM -specific descriptorsKeith Packard2016-02-07
| | | | | | | | For devices not providing the standard CDC-ACM interface, let them skip the various descriptors and interfaces to provide a more limited set of capabilities. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Add suspend/resume supportKeith Packard2016-02-07
| | | | | | Allow USB suspend to suspend USB, GPIOs and master clock. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add power management APIsKeith Packard2016-02-07
| | | | | | | This provides sequenced suspend/resume functionality, allowing modules to register for power management at configuration time. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Allow projects to specify non-default stack sizeKeith Packard2016-02-07
| | | | | | 512 may not be suitable for everyone. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: remove blank line in stmf0/ao_timer.cKeith Packard2016-02-07
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/chaoskey: Delay ADC reading for 250ms at startupKeith Packard2016-01-28
| | | | | | This lets the HV supply stabilize before we start sampling values. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/chaoskey: Add support for flipping between raw and cooked bitsKeith Packard2016-01-28
| | | | | | | | Plug the 'force bootloader' thing onto the board while it's running and it will generate raw bits instead of running them through the CRC to whiten. Useful for validating the raw hardware. Signed-off-by: Keith Packard <keithp@keithp.com>
* src/chaoskey-v0.1: Add HV enable supportKeith Packard2016-01-19
| | | | | | Turn on the HV supply when the OS starts. Signed-off-by: Keith Packard <keithp@keithp.com>
* fix argument to ao-cal-freq so devices other than /dev/ttyACM0 workRobert Garbee2016-01-16
|
* Releasing: Copy TeleMega v2.0 bits to BinariesKeith Packard2016-01-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* process updates from 1.6.1 releaseBdale Garbee2016-01-10
|
* one more time, with feeling .. this time, I've updated pdclibBdale Garbee2016-01-10
|
* submodule madnessBdale Garbee2016-01-10
|
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2016-01-10
|\
| * doc: Remove extraneous 'first off' from legal paragraphKeith Packard2016-01-10
| | | | | | | | | | | | Not helpful (bdale) Signed-off-by: Keith Packard <keithp@keithp.com>
| * doc: Remove telemini v2.0. Add telemega v2.0Keith Packard2016-01-10
| | | | | | | | | | | | Reflect hardware we've actually shipped. Signed-off-by: Keith Packard <keithp@keithp.com>
| * doc: fix typo in using external active switch circuit sectionKeith Packard2016-01-10
| | | | | | | | | | | | the -> then (bdale) Signed-off-by: Keith Packard <keithp@keithp.com>
| * doc: Update copyright year in altusmetrum docKeith Packard2016-01-10
| | | | | | | | | | | | And note that this need to be checked for each release in RELNOTES Signed-off-by: Keith Packard <keithp@keithp.com>
* | modify release procedure to reflect Keith setting version in confgure.acBdale Garbee2016-01-10
|/
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2016-01-10
|\
| * Bump version to 1.6.2, altosdroid to 10Keith Packard2016-01-10
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | modify bringup scripts to handle TeleMega v2.0Bdale Garbee2016-01-10
| |
* | now building for m4, tooBdale Garbee2016-01-10
| |
* | new build dependency on asciidocBdale Garbee2016-01-10
|/
* altos: Switch PWM constants to end up exposing µsecKeith Packard2016-01-10
| | | | | | | | This changes the constants so the clock runs at 1MHz, making the step 1µsec each. Then make the period 20000 steps, or 20ms for a 50Hz frequency as before. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Set TeleMega v2.0 PWM to support servosKeith Packard2016-01-10
| | | | | | | | Typical servos use a 50Hz signal with less than 10% duty cycle. Set the divider to 10 and the range to 64000 to provide a reasonable level of detail down in the low range. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add release notes for 1.6.2Keith Packard2016-01-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Update java library versionsKeith Packard2016-01-10
| | | | | | altoslib is API incompatible with 1.6.1 release due to altos.state updates. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove debug message from AltosMapKeith Packard2016-01-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Elide flight computer info from APRS section of TeleGPS manualKeith Packard2016-01-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Elide pyro channel information from EasyMini docsKeith Packard2016-01-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Insert inter telemetry-packet delayKeith Packard2016-01-10
| | | | | | The receivers take some time to reset the radio between packets, so make sure we don't send back-to-back telemetry too quickly by delaying after sending each telemetry packet.
* Switch TeleMega v2.0 to CC1200 radio chiptelemega-v2Keith Packard2016-01-09
| | | | | | That's what we're using, after all Signed-off-by: Keith Packard <keithp@keithp.com>