summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * Add TeleFireTwo v0.2 projectKeith Packard2016-04-19
| | | | | | | | | | | | | | This is much like TeleFireTwo v0.1, with only one pyro channel and added siren and strobe Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telelcotwo: Add idle timeoutKeith Packard2016-04-19
| | | | | | | | | | | | | | | | Puts TeleLCOTwo in a low power state (drawing about 80µA) after a timeout (default two minutes) to keep from killing the battery if the device is left turned on. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Use simpler debounce logic for buttonsKeith Packard2016-04-19
| | | | | | | | | | | | | | | | | | | | | | Instead of waiting for a while after the transition to decide if it has stuck, signal the event right away and then ignore other transitions for the debounce interval. This seems to work just as reliably, but has the benefit of eliminating button latency at press time. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add ao_lco_two.c; alternate LCO interface codeKeith Packard2016-04-19
| | | | | | | | | | | | | | | | The LCO interface is likely to end up very device specific as the interactions depends on the input devices. Here's a version for TeleLCOTwo, which has two arming switches and a firing button. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Fix telefiretwo .gitignoreKeith Packard2016-04-19
| | | | | | | | | | | | Was ignoring the wrong built files Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add TeleLCOTwo firmwareKeith Packard2016-04-19
| | | | | | | | | | | | The LCO side of a two-channel launch controller setup. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Support pad/lco boxes with fixed box numbersKeith Packard2016-04-19
| | | | | | | | | | | | | | This allows for a configuration without adjustable box numbers on either end of the link, simplifying the UI. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Allow for pad boxes with different sensor configurationsKeith Packard2016-04-19
| | | | | | | | | | | | | | | | This allows for a pad box without a resistor from power to each FET. That resistor is needed to detect welded relays, but in a solid-state system, that's not a possibility. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: telefiretwo-v0.1 bitsKeith Packard2016-04-19
| | | | | | | | | | | | Get this board running. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add pad support for new telefire versionsKeith Packard2016-04-19
| | | | | | | | | | | | | | | | | | | | | | | | Makes the voltage divider values configurable, and allows for pyro channels that don't have the resistors necessary to check for a stuck relay. Also supports STM32L processors with wider GPIO registers, and uses the new ao_gpio_set/clr_bits functions to fire igniters rather than cc1111-specific code. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Support telefire products in cc1200 driverKeith Packard2016-04-19
| | | | | | | | | | | | Need to disable the pad code while testing the radio. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/detherm: Add servo driverKeith Packard2016-04-13
| | | | | | | | | | | | This just provides commands to test the servo with. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/detherm: Add ms5607 to dethermKeith Packard2016-04-13
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add easy mini plotting helper in test codeKeith Packard2016-04-13
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add ao_gpi_set/clr_bits functionsKeith Packard2016-04-13
| | | | | | | | | | | | These set or clear a group of bits in a single GPIO register all together. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stmf0: Add pwm and exti driversKeith Packard2016-04-02
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add detherm productKeith Packard2016-04-02
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * doc: Note that EasyMega and TeleMega report A-D continuityKeith Packard2016-04-02
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stmf0: Support HPE clock sourceKeith Packard2016-04-02
| | | | | | | | | | | | Allows the use of crystals instead of requiring USB. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stmf0: Add SPI driver.Keith Packard2016-04-02
| | | | | | | | | | | | | | This also changes the DMA interface a bit so we can select for interrupts on only the interesting channels. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Use mini logging for detherm, just without ADCKeith Packard2016-04-02
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add Detherm log format (easymini without ADC)Keith Packard2016-04-02
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Allow for flight hardware without any ADC valuesKeith Packard2016-04-02
| | | | | | | | | | | | | | Detherm has no ADC connections, so we don't need to disable the ADC when going to landed state. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add one-byte SPI output routine for LPC and STM coresKeith Packard2016-03-26
| | | | | | | | | | | | This allows for SPI output at interrupt time, one byte at a time. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/lpc: Add fast timerKeith Packard2016-03-26
| | | | | | | | | | | | This offers a faster timer callback for higher-precision operation Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stm: Allow apps to define different stack sizeKeith Packard2016-03-26
| | | | | | | | | | | | | | While 512 bytes is a reasonable size, sometimes apps don't have that much stack space. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stm: Validate current task SP in interrupt by looking at PSPKeith Packard2016-03-26
| | | | | | | | | | | | | | | | | | We use a separate stack pointer for task code, which means we can verify that it is in range in any interrupt handler. This adds checks for the task stack (under #ifdef DEBUG) that run in ao_wakeup as well as at every timer interrupt. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stm: Run scheduler code on interrupt stackKeith Packard2016-03-26
| | | | | | | | | | | | This provides a bit more room for tasks on their stack Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui,telegps: Do not allow radio calibration to be editedKeith Packard2016-03-26
| | | | | | | | | | | | | | This leads to sorrow for almost everyone. If you want to edit this, use a terminal program. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosuilib: Control map debugging output with Serial.debugKeith Packard2016-03-26
| | | | | | | | | | | | This uses the same debug control as the serial output to monitor map downloading Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: use env var LAUNCH_SITES to override default URLKeith Packard2016-03-26
| | | | | | | | | | | | This makes it easier to debug new launch site data before uploading. Signed-off-by: Keith Packard <keithp@keithp.com>
| * libaltos: Fix warning in linux libaltos codeKeith Packard2016-03-20
| | | | | | | | | | | | Just returned the wrong name of the value Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosuilib: Note that Windows now supports BluetoothKeith Packard2016-03-20
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Delay between polling for igniter status in Fire IgnitersKeith Packard2016-03-20
| | | | | | | | | | | | | | This gives a remote like time to report the full status instead of sending another request before the reply has been processed. Signed-off-by: Keith Packard <keithp@keithp.com>
| * libaltos: Add Windows BT support. Split into separate source files.Keith Packard2016-03-20
| | | | | | | | | | | | Add Bluetooth support to Windows. Split libaltos into separate files. Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-bringup: Use dfu-util to install flash loader on chaoskeyKeith Packard2016-03-18
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stmf0: Construct .bin files for flash loadersKeith Packard2016-03-18
| | | | | | | | | | | | | | This builds a .bin file which can be used with dfu-util instead of using openocd to load the initial flash loader. Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-tools: Add ao-makebinKeith Packard2016-03-18
| | | | | | | | | | | | | | | | This constructs a raw binary or DFU format file for use with dfu-util, which can be used with a bare STM processor to load code before the boot loader is available. Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-tools/lib: Add ao_hex_image_cat functionKeith Packard2016-03-18
| | | | | | | | | | | | | | This takes two images and constructs a third containing the union of the contents along with 0xff bytes for any area between them. Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-tools/lib: Remove trailing whitespace from ao-elf.cKeith Packard2016-03-18
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-tools/ao-dump-up: Remove spurious flight state stringsKeith Packard2016-03-18
| | | | | | | | | | | | MicroPeak doesn't have flight states like this... Signed-off-by: Keith Packard <keithp@keithp.com>
| * Change how we detect and install javaKeith Packard2016-03-18
| | | | | | | | | | | | | | | | | | | | Detect by finding 'javaw.exe' in the current path and extracting the version from the program itself. Install by simply opening the web browser to java.com and letting the user install it themselves. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Expose fast timer API from kernel/Keith Packard2016-03-18
| | | | | | | | | | | | This allows multiple SoCs to provide the same driver interface Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Fixed timing of panic display LED to be readableBart Massey2016-03-07
| | | | | | | | | | | | | | | | | | | | | | When we don't have a beeper, there's no way to signal a 'warble' for panic. So, elide that bit. Second, panic can't use the scheduler and timer because those may not be running (or may have failed), and so it uses a delay loop. Add a configurable scale value to the panic loop so that the LED blinks can be read. For stm32f0 devices, scale that by the sysclk value to automatically make them of reasonable length.
| * libaltos: Add unistd.h to get defines for various syscallsKeith Packard2016-03-06
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * 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>