summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* altos: Switch ao_dbg.c __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_config.c __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: switch ao_cmd __xdata to __pdataKeith Packard2011-07-06
| | | | | | Saves code space Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch const for __code in struct ao_cmdsKeith Packard2011-07-06
| | | | | | This saves quite a bit of code space when accessing these values. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_usb.c __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_telemetry.c __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_stdio.c __data to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_serial.c __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_sample.c __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_rssi.c __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_report.c __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_log.c and ao_log_big.c __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_ignite and ao_gps_sirf __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch ao_gps_skytraq and ao_gps_sirf __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Shrink ao_add_task by rolling up a memset loopKeith Packard2011-07-06
| | | | | | | This has a dramatic effect. By pulling the 'stack' variable into registers it reduces the size of this function from 550 to 231 bytes. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Shrink ao_config_callsign_setKeith Packard2011-07-06
| | | | | | | Replacing a hand-coded memset with a function call, using static space instead of stack space for an array. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Shrink ao_cmd_put16, ao_cmd_hex and ao_cmdKeith Packard2011-07-06
| | | | | | No functional changes, just reduces code size. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Compress telemetry records marked with the same timeKeith Packard2011-07-05
| | | | | | | Split telemetry transmits multiple packets with the same timestamp. Merge those into a single record when read from a file. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove debug printf.Keith Packard2011-07-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add main/drogue voltages to default graphKeith Packard2011-07-05
| | | | | | | Until we get a UI for changing the graph elements, lets add a few more potentially useful values. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Elide missing values from graphsKeith Packard2011-07-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Elide nul bytes at end of telemetry string valuesKeith Packard2011-07-05
| | | | | | | All telemetry fields are fixed length, so any embedded strings are padded with nul bytes. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Add section about TeleDongle USB line formatKeith Packard2011-07-05
| | | | | | | Describe the format of the TELEM lines sent over USB from TeleDongle to the host. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Adapt to changes in telemetry Configuration packetKeith Packard2011-07-05
| | | | | | Apogee delay added. flight_log_max changed to two bytes (in kB now). Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Chang Config and Location packetsKeith Packard2011-07-05
| | | | | | | | | Config packets get apogee delay, and have flight_log_max shrunk to two bytes. Location packets get climb_rate added. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Parse remaining standard telemetry packetsKeith Packard2011-07-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Complete new telemetry switchoverKeith Packard2011-07-04
| | | | | | | | | | | | | | This involved rewriting the GPS code to use the telemetry structures directly so that a memcpy could be used to transfer the data to the telemetry packets, saving a bunch of code space, along with fixing up the gps testing programs to deal with the structure changes. In addition, the teledongle code needed to have the monitoring code split into separate radio receiver and USB writer threads as the packets are now back-to-back, and hence come too fast to wait for the USB data to be sent to the host after each one. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add split telemetry codeKeith Packard2011-07-04
| | | | | | | This sends every packet every time, which isn't correct, but should be useful for testing. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Shrink help textKeith Packard2011-07-04
| | | | | | Reduce const space taken by command help text. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add sat info to GPS report commandKeith Packard2011-07-04
| | | | | | Plan to use this to report current flight computer state in idle mode. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Shrink const space in ao_configKeith Packard2011-07-04
| | | | | | | | Eliminate separate 'cmd' and 'help' struct entries. Use \0 trick in cmd strings to eliminate whitespace. Edit help text. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: teledongle does not need ao_packet_slave.cKeith Packard2011-07-04
| | | | | | | TeleDongle doesn't provide slave interfaces, so remove ao_packet_slave from the TD build Signed-off-by: Keith Packard <keithp@keithp.com>
* Version strings must be < 8 bytes longKeith Packard2011-07-04
| | | | | | | The new telemetry packets include the version string, so make sure its less than 8 characters long Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Fix a few minor telemetry doc mistakesKeith Packard2011-07-04
| | | | | | | Multiple 'accel' entries in the Sensor packet. Swap ground_accel and ground_pres to group accel cal data Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Complete initial telemetry descriptionKeith Packard2011-07-04
| | | | | | | Finish describing the contents and modulation scheme for telemetry data. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Add telemetry format descriptionKeith Packard2011-07-02
| | | | | | Document the telemetry packet contents. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Support raw telemetry from TeleDongleKeith Packard2011-06-28
| | | | | | | | | Use raw telemetry frames when TeleDongle supports them, this involves parsing the hex dump of the packet instead of having teledongle take the packet apart. Only the legacy format is working at this point; the altos bits for the new split telemetry frames is not written yet. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: ao_radio_recv needs byte count *including* rssi and statusKeith Packard2011-06-28
| | | | | | That's two more than the actual packet length. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Start adding new telemetry frame definitionsKeith Packard2011-06-27
| | | | | | | These use the initial 24 bytes per frame plan, which will probably get changed to 32 bytes per frame. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add checksum to TELEM output linesKeith Packard2011-06-27
| | | | | | Verify the received telemetry lines to protect against OS data loss Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add arbitrary telemetry packet monitoringKeith Packard2011-06-27
| | | | | | | This adds the ability to monitor arbitrary telemetry packets (up to 128 bytes), moving the telemetry data parsing up to the host. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Rename telemetry to telemetry_origKeith Packard2011-06-27
| | | | | | | This makes room to create a new multi-packet telemetry format without changing anything yet. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Handle old TeleDongle receiving kalman telemetry packetsKeith Packard2011-06-02
| | | | | | | | | | | The telemetry packets now send the kalman height/speed/accel values instead of the ad-hoc values. If received by an old TeleDongle box, the speed value will be of the form 0x8000abcd, which will be printed as a 32-bit value by TeleDongle. We only want the abcd part, which is the speed * 16. Detect this automatically and compute the correct values for all three. Signed-off-by: Keith Packard <keithp@keithp.com>
* Switch version to 0.9.40.9.4telebtKeith Packard2011-05-25
| | | | | | For Mayhem, so we can tell what version each board is running Signed-off-by: Keith Packard <keithp@keithp.com>
* Revert "altos: Debugging TBT issues -- check pin configuration after boot"Keith Packard2011-05-06
| | | | | | This reverts commit 514348055630edec12224c4b0964240b929759a3. Looks like this was never a problem.
* altos: clear CPU port 1 interrupt flag when handledKeith Packard2011-05-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Hook up the P1 ISR for TeleBT v0.1 bt_link lineKeith Packard2011-05-06
| | | | | | Otherwise, we're heading off into the weeds... Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Initialize beeper for telebtKeith Packard2011-05-06
| | | | | | Needed to get sounds to come out Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Debugging TBT issues -- check pin configuration after bootKeith Packard2011-05-06
| | | | | | | Make sure the serial pins are configured as peripherals Make sure the ser_reset and bt_link pins are going the right direction. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add beeper to TBT v0.1Keith Packard2011-05-06
| | | | | | It's available, let's use it. Signed-off-by: Keith Packard <keithp@keithp.com>