summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* include EasyMega MakefilesBdale Garbee2014-05-15
|
* working?Bdale Garbee2014-05-15
|
* lose the (old) easymega-v1.0 directory in favor of my fresher 0.1Bdale Garbee2014-05-15
|
* altos: Make quadrature debounce per-pin rather than per-deviceKeith Packard2014-05-15
| | | | | | | Debouncing per-pin means we don't lose transitions, which makes counting a lot more precise. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telemini-v2.0: Enable beep frequency configurationKeith Packard2014-05-15
| | | | | | Now that there's space for this, add it in. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telemini-v2.0: Remove old baro->alt conversion tableKeith Packard2014-05-15
| | | | | | TeleMini doesn't have two baro sensors... Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/cc1111: Switch P1_0 from a green LED to USB pullupKeith Packard2014-05-15
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/cc1111: Add support for CPU-driven USB pullupKeith Packard2014-05-15
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/cc1111: Errata fix isn't needed for discontinued productsKeith Packard2014-05-13
| | | | | | And, doesn't fit in memory for some of them, so don't compile it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/cc1111: Wait for xtal to be stableKeith Packard2014-05-13
| | | | | | | Errata http://www.ti.com/lit/er/swrz022c/swrz022c.pdf says that the xtal is stable bit is bogus and that you need to just delay for a while. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge remote-tracking branch 'origin/master'Keith Packard2014-05-12
|\
| * update TeleMega turn-on script and Releasing for new stable firmware homeBdale Garbee2014-05-12
| |
| * fix copyright yearBdale Garbee2014-05-09
| |
* | ao-tools/ao-usbload: Check image flash usage against device flash availabilityKeith Packard2014-05-12
| | | | | | | | | | | | | | For devices which report the range of valid flash addresses from their boot loader, check the loaded image to make sure it fits within that range. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos/flash-loader: Check memory addresses against flash spaceKeith Packard2014-05-12
| | | | | | | | | | | | | | | | | | | | | | This validates memory read/write requests to make sure they are within the available flash memory space. This also reports the flash base and bounds addresses in the 'version' command so that the loader can validate the image before attempting to write it. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos/stm: Use #define'd constants for GPIO register addressesKeith Packard2014-05-12
| | | | | | | | | | | | | | This lets the compiler short-circuit the tests in ao_enable_gpio and ao_disable_gpio to save a bit of code space and time. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos/stm: Figure out available flash space based on chip id registersKeith Packard2014-05-12
| | | | | | | | | | | | | | Look at the flash size and the device id registers to figure out how much flash is available. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos/stm: White space fix in ao_boot_pin.cKeith Packard2014-05-12
| |
* | altos/stm: Use flash address of boot loader instead of 0x0Keith Packard2014-05-12
| | | | | | | | | | | | | | Flash is at 0x08000000, but when the chip boots, it can be at 0x0 as well. Use the 0x08000000 address when rebooting to flash Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Assume all LPC products will have 32KB of flashKeith Packard2014-05-12
| | | | | | | | | | | | | | If we ever use something smaller than this, we'll need to figure out how to tell how much memory the device has. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Report amount of program space available in the version commandKeith Packard2014-05-12
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Add LED test command to pca9922 driverKeith Packard2014-05-12
| | | | | | | | | | | | This lets you control the LEDs from the command line to test things. Signed-off-by: Keith Packard <keithp@keithp.com>
* | ao-bringup: Use official binaries for EasyMini turnonKeith Packard2014-05-12
| | | | | | | | | | | | | | | | Don't use locally built ones, use the official ones found in ~/altusmetrumllc/Binaries to ensure that all devices are shipped with known firmware. Signed-off-by: Keith Packard <keithp@keithp.com>
* | ao-bringup: test-baro should accept altitudes a bit below sea levelKeith Packard2014-05-12
| | | | | | | | | | | | | | Testing baro sensors on a particularly high pressure day at Keith's house yields altitudes down to -20m or so. Signed-off-by: Keith Packard <keithp@keithp.com>
* | atosui: Hide Callsign and RSSI tabs for devices without a radioKeith Packard2014-05-12
| | | | | | | | | | | | | | When doing Monitor Idle with EasyMini, it's nice to not put fields on the screen which won't ever have useful data in them. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Simplify quadrature trackingKeith Packard2014-05-09
| | | | | | | | | | | | | | | | | | | | | | | | Set the timer to 200Hz for a 5ms debounce interval. Then, simply look for transitions ending in both bits in the encoder being off, which indicates the the encoder is resting in a detent. If bit '2' is turning off, the encoder was rotated clockwise, otherwise the encoder was rotated counter clockwise. This is a lot more reliable, although still not perfect. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Clean up trailing whitespace in ao_pad.cKeith Packard2014-05-08
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Fix byte offsets in the mega AO_LOG_FLIGHT packetsKeith Packard2014-05-08
| | | | | | | | | | | | Just comments, but even those should be correct Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: ublox driver always offers course data when it has a fixKeith Packard2014-05-08
| | | | | | | | | | | | | | Set the AO_GPS_COURSE_VALID bit to signal that this part of the GPS data is valid. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Add GPS course, ground speed and climb rate to graphsKeith Packard2014-05-08
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib: Parse remaining mega AO_LOG_FLIGNT and AO_LOG_GPS_TIME fieldsKeith Packard2014-05-08
| | | | | | | | | | | | | | GPS fields past 'day' were not getting parsed. Ground values for the IMU were not getting parsed, but a false 'temperature' value was being read. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib: Add a comment to remind us to fix the IMU code to deal with ↵Keith Packard2014-05-08
| | | | | | | | | | | | calibration Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: 8051 64 * 16 multiply function was broken for negative 64-bitKeith Packard2014-05-08
|/ | | | | | It was jumping around the actual multiply when the 64-bit argument was negative. Signed-off-by: Keith Packard <keithp@keithp.com>
* relay control implemented, this project is now completeBdale Garbee2014-05-08
|
* first cut of usbrelay-v0.1 support .. LEDs wiggle, not switching relay yetBdale Garbee2014-05-08
|
* altosui: Add configuration UI for beeper toneKeith Packard2014-05-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add configurable beep toneKeith Packard2014-05-02
| | | | | | | | | | This lets you directly set the mid-range beep tone; the high and low tones remain set off of that in the same ratio as before. Note that none of the cc1111 products get this feature as they don't have enough flash space anymore... Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: For telelco discovery packets, retry 5 times with shorter timeoutKeith Packard2014-04-30
| | | | | | | | A timeout of 10ms is more than enough to receive a query packet, but if we miss it during device discovery, it's a pain, so retry 5 times to make sure we find everyone. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Clean up ao-sym structure an initializersKeith Packard2014-04-30
| | | | | | | Remove unused 'default_addr' field. Use named initializers when setting up the struct. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-load: Make ao_sym static to avoid collision with ao-editaltosKeith Packard2014-04-30
| | | | | | | | ao-load doesn't use ao-editaltos at this point, but does share the same name for the symbol table. To make the linker happier, make the ao-load version static. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-telem: Dump orientation field from TeleMega sensor telemetry packetKeith Packard2014-04-30
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Mark TeleMega additional pyro ignitor fired points in graphsKeith Packard2014-04-30
| | | | | | Add markers to indicate when each additional pyro channel fires Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Track pyro firing state when reading mega eeprom filesKeith Packard2014-04-30
| | | | | | | TeleMega records whether each pyro has been fired in the eeprom file; track that in the AltosState record. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add extra ignitors to graphable objectsKeith Packard2014-04-29
| | | | | | List all of the available extra ignitors as possible things to graph. Signed-off-by: Keith Packard <keithp@keithp.com>
* ugly hack (just make sleep longer) to work around ttyACM* discovery issueBdale Garbee2014-04-13
|
* altos: Switch beeping to farnsworth spacingKeith Packard2014-04-12
| | | | | | | Use 17wpm/12wpm farnsworth spacing for the state reports. Leave the numeric reports running slowly as those require counting. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Make lines in graphs 2 units wideKeith Packard2014-04-12
| | | | | | This makes the graphs a lot easier to read. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui/altosuilib/libaltos: Remove trailing whitespaceKeith Packard2014-04-11
| | | | | | Just cleaning up the source code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add 'microwater' productKeith Packard2014-04-11
| | | | | | | This is a custom firmware spin for micropeak designed for use with water rockets that sets the boost detect altitude to 10m instead of 30m. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Disable flight log configuration while flights are storedKeith Packard2014-04-06
| | | | | | | | The log code won't let you resize the maximum flight log while there is still data on the flight computer; the code to figure that out in the UI was busted, leaving users confused about why it wasn't working. Signed-off-by: Keith Packard <keithp@keithp.com>