summaryrefslogtreecommitdiff
path: root/src/core/ao_cmd.c
Commit message (Collapse)AuthorAge
* altos: Change 'flight-number' to 'current-flight'Keith Packard2012-12-06
| | | | | | Avoids ambiguity with stored flight info, which starts lines with 'flight'. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Shrink 'ao_version' by calling printf fewer timesKeith Packard2012-12-06
| | | | | | | Each printf call costs quite a bit of code space on the cc1111, so instead of making multiple short calls, make one longer one. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Share getnibble functionKeith Packard2012-11-30
| | | | | | | Two implementations of the same function, one in cc1111/ao_dbg.c and the other in core/ao_send_packet.c. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: remove optimization for 'help' that confuses cc1111 compilerKeith Packard2012-07-11
| | | | | | The cc1111 compiler gets this very wrong and prints piles of garbage Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Save some memory.Keith Packard2012-07-10
| | | | | | | A few minor space savings in ao_cmd.c and ao_config.c. Don't build unused conversion functions ao_altitude_to_pres and ao_temp_to_dC Signed-off-by: Keith Packard <keithp@keithp.com>
* Allow product to override maximum number of command lists (NUM_CMDS)Keith Packard2012-06-15
| | | | | | Just in case some product wants to save memory, or have more. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make 'v' command dump pressure sensor ROM valuesKeith Packard2012-06-04
| | | | | | Avoids needing a new command Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Save memory in ao_cmd.cKeith Packard2012-04-07
| | | | | | | Shrink a couple of help strings move a variable in ao_cmd from data to pdata. Signed-off-by: Keith Packard <keithp@keithp.com>
* Do radio settings solely by frequencyKeith Packard2012-03-26
| | | | | | | Compute the radio setting needed based on the calibration value provided and the requested frequency. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Export 'ao_cmd_is_white' for use by other codeKeith Packard2011-11-12
| | | | | | This function tests the current input character. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Write xdata versions of memory functions1.0.9.1Keith Packard2011-10-07
| | | | | | | | | | | | | | | | These are significantly smaller than the general pointer versions from libc on the cc1111. Signed-off-by: Keith Packard <keithp@keithp.com> Conflicts: src/Makefile.proto src/cc1111/ao_adc.c src/cc1111/ao_packet_master.c src/core/ao.h Fix up the new makefiles
* Merge remote-tracking branch 'uniarch/master' into multiarchKeith Packard2011-10-07
| | | | | | | Conflicts: src/core/ao_cmd.c Use ao_arch_reboot after waiting for a second
* altos: Add HAS_LOG for products that log to eepromKeith Packard2011-08-27
| | | | | | Some products have eeprom for config, but none for logging (like telelaunch) Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Implement remote launch protocolKeith Packard2011-08-27
| | | | | | | | Uses the radio_cmac module to provide secure communication. Keeps igniter closed for 500ms. Provides remote status for arming and ignition. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: AVR changes - create ao_arch.h files, define ao_arch_rebootKeith Packard2011-08-25
| | | | | | | | Start pulling changes needed for avr port; architecture-specific code will live in <architcture>/ao_arch.h. This first change defines the ao_arch_reboot macro to reboot the microcontroller. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Restructure altos build to prepare for multi-arch supportKeith Packard2011-08-25
Split out sources into separate directories: core: architecture and product independent bits cc1111: cc1111-specific code drivers: architecture independent drivers product: product-specific sources and Makefile fragments util: scripts for building stuff This should have no effect on the built products, but testing is encouraged Signed-off-by: Keith Packard <keithp@keithp.com>