| Commit message (Collapse) | Author | Age | 
| | 
| 
| 
|  | 
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
|  | 
Print all ADC values on one line when using named ADC values
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
|  | 
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
| 
|  | 
Unused variables, mismatching signed/unsigned and a few other misc
warnings.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
|  | 
Unused variables, functions and labels, missing enums in switch.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
| 
|  | 
telemega moves the igniters around so that E/F are now drogue/main.
Add custom labels for ADC values to make parsing possible
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
Instead of trying to get things into the ring from a variety of
functions, go back to the simpler method of storing them in globals
and having the ADC code just pluck out the most recent values.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
| 
|  | 
This has each sensor mark a bit in the current data record which is
then sent for processing when all of the data are present.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
Make stm port parameters always be pointers; this avoids the confusion
where some macros took '&port' and others took a bare 'port', and also
unifies code to run on other processors in a consistent fashion.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
Create two new telemetry packets to hold all of the MM data.
This patch also splits the telemetry structures out of ao.h
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
| 
|  | 
Creates a task to poll the mag sensor and place the data into the
sensor data ring.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
Switches all acceleration computation to using the MegaAccel
accelerometer to ensure support for high-g flights.
MPU6000 values continue to be logged as normal
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
|  | 
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
|  | 
Yes, this is still an ugly kludge, but it's easy.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
|  | 
It was moved to the global structure. Having two is confusing.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
|  | 
Doesn't track flight state changes correctly.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
|  | 
This lets the user know which DMA has finished.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
This allows a single user of a DMA channel to reserve it for use
without needing to lock the mutex; this is required for DMA from the
ADC to work on megametrum as it wants to start DMA from an interrupt
handler, which cannot block on a mutex.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
|  | 
This is plenty fast, and provides nice stable readings.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
|   
  
  
  
  
   | 
DMA-based driver for the STM analog to digital converter.
Signed-off-by: Keith Packard <keithp@keithp.com>
 |