summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* altosui: Move AltosState.java to altoslibKeith Packard2012-01-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Pull most of AltosSerial into AltosLinkKeith Packard2012-01-02
| | | | | | Share basic command processing across java users Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Move AltosGreatCircle.java to altoslibKeith Packard2012-01-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Move AltosEepromTeleScience.java to altoslibKeith Packard2012-01-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Move more eeprom stuff to altoslibKeith Packard2012-01-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Move eeprom managment code to libraryKeith Packard2012-01-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Move AltosEepromChunk.java to libKeith Packard2012-01-02
| | | | | | Also fixes install issues with split lib Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Finish moving AltosConfigData to altoslibKeith Packard2012-01-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Move AltosConfigData.java to libraryKeith Packard2012-01-02
| | | | | | | Create a new 'AltosLink' which exposes how to talk to the remote device abstractly via 'get_reply' and 'printf' methods. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add back in the split-out Altos constants as AltosLibKeith Packard2012-01-02
| | | | | | These were pulled out of Altos.java, but not added back to git Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Complete split out of separate java libraryKeith Packard2012-01-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Clean swing/awt bits out of altoslibKeith Packard2012-01-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* move a file backKeith Packard2012-01-02
|
* altosui: Split out lots of the altosui code to a shared libraryKeith Packard2012-01-02
| | | | | | To be shared with the Android application eventually Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Split out UI-specific preferencesKeith Packard2012-01-02
| | | | | | Prepare to create library shared with android application. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: More _asm -> __asm changesKeith Packard2011-12-30
| | | | | | Missed a few last time Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Clean up for SDCC 3.1 - more keywordsKeith Packard2011-12-30
| | | | | | | | _asm -> __asm sbit -> __sbit remove variables named 'data' Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: SDCC 3.1 wants __at instead of atKeith Packard2011-12-30
| | | | | | Older SDCC would accept __at, so just replace all occurances unconditionally. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Switch teleshield to use radio slave modeKeith Packard2011-12-27
| | | | | | And bring it up at startup time by default Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add teleshield directory and bring-up codeKeith Packard2011-12-27
| | | | | | | This is cobbled together from various existing bits, but should at least provide some ability to test a teleshield board. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Create TeleMetrum v1.2 directoryKeith Packard2011-12-17
| | | | | | | The hardware is software-compatible with v1.1, but it's nice to have the right version number in all of the files. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: googleearth doesn't accept spaces between coordinates anymoreKeith Packard2011-12-17
| | | | | | it got pickier for some reason; let's not put spaces in now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix pad orientation for pre-1.1 boardsKeith Packard2011-11-13
| | | | | | | They use a different code path for accel as they don't have the VCC compensation code in place. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add startup and config (view only) pages to TTKeith Packard2011-11-12
| | | | | | The config page needs a pile of work before it's useful. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Enable packet master and debug in TTKeith Packard2011-11-12
| | | | | | The code was already getting linked in, so we might as well use it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix sdcdb settings for telemetrum v1.0Keith Packard2011-11-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Trim skytraq NMEA messages. Shrink NMEA header matching codeKeith Packard2011-11-12
| | | | | | | | | | Tell the skytraq to not bother sending a bunch of the NMEA messages that we don't parse. Explicitly look for 'G' follows by 'P' instead of having some general header matching code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Allow TT/TBT reports to escape landed stateKeith Packard2011-11-12
| | | | | | | The TM altitude reporting code kept beeping out state and altitude forever, which isn't very useful on TBT or TT. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove LCD debugging codeKeith Packard2011-11-12
| | | | | | This isn't needed anymore. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add ao_lcd_cursor_on/offKeith Packard2011-11-12
| | | | | | This shows or hides a blinking cursor on the LCD. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add configurable set of channels for TTKeith Packard2011-11-12
| | | | | | | This adds the channel list for TT, which will be configured by AltosUI. 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: Set default flight log max to 127k on TM v0.1Keith Packard2011-11-12
| | | | | | The flash part on v0.1 boards is only 128kB. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Handle internal and external telem monitoring requestsKeith Packard2011-11-12
| | | | | | | | | | | | Record separate internal vs external monitoring state, allowing both to happen at the same time, and when either is turned off, the other keeps working. This also adds disable/enable so that other radio users can temporarily take over the radio; monitoring will resume when the other radio user is finished. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Check pdata+xdata memory usage during buildKeith Packard2011-11-12
| | | | | | | | | | | The sdcc linker doesn't check the sum of pdata+xdata memory usage, it only ensures that xdata itself is small enough. This doesn't keep xdata below the end of usable ram on the cc1111 though (0xfe000). Fix up the check-stack program to also make sure all of xdata fits in available memory. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Set SPI fill value each time it is used.Keith Packard2011-11-12
| | | | | | | This ensures that the final MOSI pin value will be high after a receive is finished. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Initialize DMA config address at boot timeKeith Packard2011-11-12
| | | | | | | Instead of resetting these each time a transfer is started, just set them once at boot time. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: debounce buttonsKeith Packard2011-11-12
| | | | | | | Provide API to clear out any button events that happen during startup, and then discard button events 'too close' together. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Build TeleTerra v0.2 by defaultKeith Packard2011-11-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Deal with serial port exceptions a bit betterKeith Packard2011-11-12
| | | | | | | This catches a few exceptions and tries to make sure the serial port is closed afterwards. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make ao_xmem funcs require __xdata void * instead of castingKeith Packard2011-11-11
| | | | | | | | | | | | Having an explicit cast in the ao_xmem wrapper macros caused the compiler to generate garbage values for pdata addresses, making the upper byte 0x00 instead of the required 0xf0. Removing the casts from the ao_xmem macros exposed this problem, so a new PDATA_TO_XDATA macros was added, along with a CODE_TO_XDATA macro which serve to cast pointers, with suitable address modifications, so that things work again. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make UI Look&Feel configurableKeith Packard2011-11-11
| | | | | | Saves the preferred style and uses that for all current and new windows. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Shrink Skytraq NMEA parsing - common nmea_finish codeKeith Packard2011-11-11
| | | | | | | This shares the checksum testing across all three lines, saving another 103 bytes. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: shrink Skytraq NMEA parsing moreKeith Packard2011-11-11
| | | | | | This cuts another 78 bytes Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Shrink code size of Skytraq NMEA parserKeith Packard2011-11-11
| | | | | | | Just mess around with the code to make it smaller. These patches save 173 bytes. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: A bunch of missing .gitignore files (mostly)Keith Packard2011-10-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add i2c driver for avr chipKeith Packard2011-10-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Only update GPS data when new GPS information arrivesKeith Packard2011-10-27
| | | | | | | | Track which telemetry packets are actually producing new GPS information and only update the GPS average position and count of stable GPS reports with new GPS info, instead of on every telemetry packet. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix distance/bearing computations. Deal with large valuesKeith Packard2011-10-27
| | | | | | | | | | Lots of little math errors dealing with large distances; easily tested as the GPS currently reports lat 24 lon 121, which is a long ways from Portland. Now reports distances in km when large, otherwise in m. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Bring up basic TeleTerra v0.2 UImultiarchKeith Packard2011-10-26
| | | | | | Lots of fun stuff here -- multiple panes of information. Signed-off-by: Keith Packard <keithp@keithp.com>