summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* altoslib: More AltosState hackingKeith Packard2013-09-02
| | | | | | EasyMini graphs are looking good now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Not all products have pins to control flash loaderKeith Packard2013-09-02
| | | | | | TeleGPS has no exposed pins for this function Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui: Further AltosState transition workKeith Packard2013-08-31
| | | | | | | Parses most eeprom and telem records now; altosui updated to show from AltosState info. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telegps: Initialize logging systemKeith Packard2013-08-31
| | | | | | Otherwise, very little logging works Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'master' into new-stateKeith Packard2013-08-31
|\
| * altos/lpc: Add bits for building flash loadersKeith Packard2013-08-31
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib/altosui: Fixes for state changesKeith Packard2013-08-31
| | | | | | | | | | | | | | Format for gps alt (now double). Use new code for csv file loading. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib/altosui: Get legacy telem working with new AltosState structureKeith Packard2013-08-31
| | | | | | | | | | | | Make AltosTelemetry work without AltosRecord Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib, altosui: Restructured state management now does TM eeprom filesKeith Packard2013-08-29
| | | | | | | | | | | | | | Removed uses of AltosRecord from AltosState, now just need to rewrite the other AltosState changing code to match Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Split EasyMini and TeleMini log formatsKeith Packard2013-08-29
| | | | | | | | | | | | | | Same data, but EasyMini uses a 3.0V supply while TeleMini uses 3.3V, which changes the intepretation of all of the ADC values Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib: Start restructuring AltosState harderKeith Packard2013-08-29
|/ | | | | | | Make per-packet code update state itself rather than having all state updates done centrally. Will make adding new packet types easier. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge remote-tracking branch 'origin/telemini'Keith Packard2013-08-28
|\ | | | | | | | | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com> Conflicts: src/core/ao_telemetry.c src/core/ao_telemetry.h Added both Mini and Metrum telemetry defines
| * altos: Don't use ao_data on cc1111 projectsteleminiKeith Packard2013-08-26
| | | | | | | | | | | | | | | | cc1111 ao_adc.c supplies the needed globals at this point, and linking both into the program leads to two different versions of each at different addresses (yay SDCC linker!) Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Make ao_wakeup reentrantKeith Packard2013-08-26
| | | | | | | | | | | | In case we end up invoking it from two places at once. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Check for MS5607 MISO low before sleepingKeith Packard2013-08-26
| | | | | | | | | | | | | | If the MISO line goes low before we manage to configure the interrupts, we'll miss it entirely unless we check the pin explicitly. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/telemini-v2.0: Add ao_exti.h depend. Init beeper and usb.Keith Packard2013-08-26
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Use %ld and %lu for MS5607 debug outputKeith Packard2013-08-26
| | | | | | | | | | | | The value are 'long', so use the right printf format. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/cc1111: Wake up non-ADC sensor code each timer tickKeith Packard2013-08-26
| | | | | | | | | | | | Make sure the MS5607 code gets told to sample every tick Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/cc1111: Leave pin interrupts completely disabled at init timeKeith Packard2013-08-26
| | | | | | | | | | | | | | Don't even turn in the PICTL bits as that seems to cause the chip to be unhappy. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Get telemini to copy current MS5607 state to ring.Keith Packard2013-08-26
| | | | | | | | | | | | | | The ADC code is responsible for actually inserting the non-ADC data into the ring, so do the copy there. Signed-off-by: Keith Packard <keithp@keithp.com>
| * cc1111: Hacky pin interrupt support. Only useful for TeleMini v2Keith Packard2013-08-26
| | | | | | | | | | | | This code is designed to support the MS5607 MISO interrupt bits. Signed-off-by: Keith Packard <keithp@keithp.com>
| * cc1111: Rework ADC configuration a bit, fix Tm V2 ADC usageKeith Packard2013-08-26
| | | | | | | | | | | | | | The Tm v2 ADC code was not actually fetching and storing the ADC conversion values. Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-tools: Use TeleDongle for default ao-dbg targetKeith Packard2013-08-26
| | | | | | | | | | | | Makes more sense than assuming we're still using the old TI developer board. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Build more products by defaultKeith Packard2013-08-25
| | | | | | | | | | | | We keep creating more hardware... Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Changes required by cc1111 multi-spi supportKeith Packard2013-08-25
| | | | | | | | | | | | These drivers got missed Signed-off-by: Keith Packard <keithp@keithp.com>
| * Bump version to 1.2.9.21.2.9.2Keith Packard2013-08-25
| | | | | | | | | | | | Set version for Airfest testing Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/teletiny-v2.0: Support multiple SPI busses on CC1111Keith Packard2013-08-25
| | | | | | | | | | | | Needed for TeleMini v2.0 Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add exti and spi to telemini-v2.0Keith Packard2013-08-25
| | | | | | | | | | | | No longer builds like this Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Make TeleMini v2.0 fitKeith Packard2013-08-25
| | | | | | | | | | | | Mash lots of storage locations and code around to shrink stuff down to size Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add 64-bit subtractionKeith Packard2013-08-25
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add 64x64 multiply. Test 64 ops for dest same as either sourceKeith Packard2013-08-25
| | | | | | | | | | | | | | The test change is to ensure that the destination may be one of the 64 bit sources. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Make 64x16 mul a bit fasterKeith Packard2013-08-25
| | | | | | | | | | | | the unsigned 32x32 multiply really does work, just use it Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add 64-bit add/mul/shift for SDCCKeith Packard2013-08-25
| | | | | | | | | | | | | | | | SDCC doeesn't provide a native 64-bit type (sigh), so implement the minimal operations necessary for the MS5607 conversion routine. Signed-off-by: Keith Packard <keithp@keithp.com>
| * Initial TeleMini bitsKeith Packard2013-08-25
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos/stm: Make sure we switch to MSI during timer initKeith Packard2013-08-28
| | | | | | | | | | | | | | Need to ensure that the CPU is actually using the MSI during timer init or all of the other clock changes won't work Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos/stm: Remove stale timer definesKeith Packard2013-08-28
| | | | | | | | | | | | Stuff from when we weren't using systick Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos/stm: Make sampling profiler work againKeith Packard2013-08-28
| | | | | | | | | | | | | | | | Disable the separate stack as that means we can't figure out the PC from the timer interrupt. Move ao_idle_loc after the interrupt release so that we see idle tasks correctly. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos/stm: New compiler doesn't correctly build flash bits yetKeith Packard2013-08-28
| | | | | | | | | | | | Use /opt/cortex until we make the packaged one work Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Force u-blox to 9600 baud for nowKeith Packard2013-08-28
| | | | | | | | | | | | | | | | The Max-7 parts just aren't happy switching baud rates, managing only about half the time. Someday I'll figure out why, but until then, make things work by just leaving the chips at 9600 baud Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Add debugging to ublox GPS driverKeith Packard2013-08-28
| | | | | | | | | | | | | | | | The new max 7 parts seem to be unhappy about switching baud rates, so I've added a pile of debugging to help out. Some day, I'll figure out how to make them work, this code is being left in place to help with that. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Update time for next alarm each time a task is addedKeith Packard2013-08-28
| | | | | | | | | | | | | | | | Adding a task with a sooner timeout than existing alarm tasks was not correctly updating the time to fire the next alarm, causing tasks to be delayed by the wrong amount. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: TM v2 places the MMA6555 upside down compared to TmegaKeith Packard2013-08-28
| | | | | | | | | | | | Means we need to invert the data coming out to make it work Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos/telemetrum-v2.0: Use 9600 baud for ubloxtelemetrum-v2.0Keith Packard2013-08-27
| | | | | | | | | | | | Something is up with the Max 7 Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos/telemetrum-v2.0: Fix MMA6555 SPI pin assignmentKeith Packard2013-08-27
| | | | | | | | | | | | For TM v2.0, it's on PB 3-5, not PE13-15 Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Rename TeleMetrum v2.0 ADC sense membersKeith Packard2013-08-27
| | | | | | | | | | | | Use sense_a and sense_m instead of sense[2] Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Add TeleMetrum v2.0 boot loaderKeith Packard2013-08-27
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Initial TeleMetrum v2.0 bitsKeith Packard2013-08-27
|/ | | | | | | Adds new telemetry and logging formats along with code for TeleMetrum v2.0 design. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Explicitly list the linker script needed for AVR targets.Keith Packard2013-08-25
| | | | | | | Something changed in the binutils-avr package which makes the linker fail to find the script in the default location. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'master' into telegps-v0.3Keith Packard2013-08-25
|\
| * altos: MS5607 pressure computation for low temperatures was wrongKeith Packard2013-08-25
| | | | | | | | | | | | Second correction only applies to temps < -15°C, not 15°C. Signed-off-by: Keith Packard <keithp@keithp.com>