summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | altos: Add pyro operations to regular ignite commandsKeith Packard2013-05-26
|/ | | | | | Instead of having separate commands, just mix the two sets together. Signed-off-by: Keith Packard <keithp@keithp.com>
* Set version to 1.2.9.1Keith Packard2013-05-26
| | | | | | Mark bits to be used on Monday of NSL 2013 Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make manual pyro firing command work againKeith Packard2013-05-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: write pyro fired to correct log fieldKeith Packard2013-05-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Light pyro charges simultaneously if so configuredKeith Packard2013-05-26
| | | | | | | | Don't try to be nice to the battery, just let the pyro circuit deal with it and try to get all of the specified circuits going at the same time if they're configured to do so. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos,altosui: Add pyro state logging for TeleMegaKeith Packard2013-05-26
| | | | | | | Only in the log file (no obvious space in the telem packets), but at least we should be able to check for pyro failures. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add pyro code testing to ao_flight_test for TeleMegaKeith Packard2013-05-26
| | | | | | | This parses the pyro settings and signals when the pyro channels are fired in the output. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-mega: Dump 'pyro' state from mega logKeith Packard2013-05-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add ao-mega tool to parse TeleMega eeprom filesKeith Packard2013-05-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Missing 'break' after selecting 'mega' format detectionKeith Packard2013-05-26
| | | | | | Caused 'mega' logs to be dumped in 'mini' format which didn't work well. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Stop downloading mega eeprom on empty blockKeith Packard2013-05-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Update description of graph window to note new tabs (config and map)Keith Packard2013-05-21
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Create release notes for 1.2.1Keith Packard2013-05-21
| | | | | | Move most of the 1.2 content to the 1.2.1 block Signed-off-by: Keith Packard <keithp@keithp.com>
* Separate out cortex-m0 compiler tests in configureKeith Packard2013-05-21
| | | | | | | | The summon arm toolchain doesn't work for cortex-m0 parts, but the linaro toolchain does. Look in /usr/bin for the -m0 compiler but continue to use /opt/cortex/bin for the -m3 compiler Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Can't use inline functions because SDCC doesn't do thatKeith Packard2013-05-21
| | | | | | Sigh. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'lpc'Keith Packard2013-05-21
|\
| * Add Mini logging format. Use in EasyMinilpcKeith Packard2013-05-19
| | | | | | | | | | | | | | This is a 16-byte record that includes all of the sensor data in each sensor record, along with records for flight state changes. Signed-off-by: Keith Packard <keithp@keithp.com>
| * Merge branch 'master' into lpcKeith Packard2013-05-19
| |\
| * | altos/easymini: Initialize beep and ADC. Declare use of igniter bits.Keith Packard2013-05-19
| | | | | | | | | | | | | | | | | | This makes easymini actually work! Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/easymini: Use different pins for igniter outputsKeith Packard2013-05-19
| | | | | | | | | | | | | | | | | | | | | Was using the I2C outputs which are open drain, which makes it impossible to force them high as needed to driver our igniters. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/easymini: MS5607 chip select bits were defined wrongKeith Packard2013-05-19
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/easymini: Easymini doesn't have USB connect or VBUS wiringKeith Packard2013-05-19
| | | | | | | | | | | | | | | | | | Disable these in ao_pins.h Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Force idle mode if USB gets an address during boot timeKeith Packard2013-05-19
| | | | | | | | | | | | | | | | | | This lets EasyMini be booted to idle mode by simply plugging it into USB. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Reset SPI device at startup timeKeith Packard2013-05-19
| | | | | | | | | | | | | | | | | | Wasn't doing the reset sequence correctly (write 0, then write 1). Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Configuring wrong pin for SPI1 MOSIKeith Packard2013-05-19
| | | | | | | | | | | | | | | | | | Was setting configuration for PIO1_21 instead of PIO0_21. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Allow for alternate SPI SCLK0 pin usageKeith Packard2013-05-19
| | | | | | | | | | | | | | | | | | | | | SPI SCLK0 can appear on three different pins; let the application configure which one it wants. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Leave SPI enabled all the timeKeith Packard2013-05-19
| | | | | | | | | | | | | | | | | | Might be able to turn it off with some care; more experimentation required. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Create TX/RX busy macros for SPI driverKeith Packard2013-05-19
| | | | | | | | | | | | | | | | | | | | | Check for both fifo status *and* device busy to make sure the device is idle before we touch any registers. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Fix beeper driverKeith Packard2013-05-19
| | | | | | | | | | | | | | | | | | | | | | | | Set prescale limit, not current prescale value (pr instead of pc). Flip output 1 on PWM match (set emc toggle for channel 1). Don't hold counter in reset (turn off CRST bit). Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Missing parens around ao_gpio_set macroKeith Packard2013-05-19
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: SPI runs off main clock (48MHz), not sysclk (24MHz)Keith Packard2013-05-19
| | | | | | | | | | | | | | | | | | Update SPI speed definitions to match Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Pull ADC data from the correct registersKeith Packard2013-05-19
| | | | | | | | | | | | | | | | | | | | | | | | Was just stepping through register space arbitrarily, which would have worked for EasyMini, but might have failed later if the ADC pin usage wasn't consecutive. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Don't use loader to place USB endpoint data in USB ramKeith Packard2013-05-19
| | | | | | | | | | | | | | | | | | | | | Instead, just assign a fixed address in registers.ld. This avoids a confusing section in the elf file. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos: Add EXTI_PIN_NOCONFIGURE to exti interface, use for MS5607Keith Packard2013-05-19
| | | | | | | | | | | | | | | | | | | | | | | | This asks the EXTI code to not mess with the pin configuration so that the MS5607 driver can get interrupts on the MISO pin while still using it for SPI. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Make EXTI code work.Keith Packard2013-05-19
| | | | | | | | | | | | | | | | | | | | | | | | Clear rise/fall bits in ISR to avoid re-entering. Block interrupts around enable/disable bits. Create shared _ao_exti_set_enable function to control mask changes. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos: Use ao_spi_get/put_bit in MS5607 driverKeith Packard2013-05-19
| | | | | | | | | | | | | | | | | | Replace open-coded ao_spi_get/put and ao_gpio_set sequences Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/attiny: Fix ao_spi_get_bit/ao_spi_put_bit macrosKeith Packard2013-05-19
| | | | | | | | | | | | | | | | | | | | | | | | These were never written, so just use ao_spi_get/put_mask. A precursor to changing how the MS5607 drives the SPI bus Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos: ignore built files in easymini-v0.1Keith Packard2013-05-18
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos: Build easymini-v0.1Keith Packard2013-05-18
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos: Initialize SPI for easyminiKeith Packard2013-05-18
| | | | | | | | | | | | | | | | | | Doesn't work very well without this Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Stick USB control structure in USB memoryKeith Packard2013-05-18
| | | | | | | | | | | | | | | | | | | | | No reason to have that in regular ram, and it means we've got space for large enough stacks now Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos: Add easymini-v0.1 productKeith Packard2013-05-18
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Use separate interrupt stackKeith Packard2013-05-18
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Try a smaller stack.Keith Packard2013-05-18
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Add pin interrupt driverKeith Packard2013-05-18
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Add beep driverKeith Packard2013-05-18
| | | | | | | | | | | | | | | | | | Hardwired to our current beeper pin Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Add ADC driverKeith Packard2013-05-18
| | | | | | | | | | | | | | | | | | Uses burst mode to get the whole set of values in one interrupt Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: add gpio int, spi, adc and ct32b defines to lpc.hKeith Packard2013-05-18
| | | | | | | | | | | | | | | | | | Lots more devices Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Clean up broken IOCONF definesKeith Packard2013-05-18
| | | | | | | | | | | | | | | | | | Missing comment closes Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos/lpc: Fix ao_enable_input, add ao_enable_analogKeith Packard2013-05-18
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>