| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Needed for TeleMini v2.0
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
No longer builds like this
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Mash lots of storage locations and code around to shrink stuff down to size
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
the unsigned 32x32 multiply really does work, just use it
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
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>
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Second correction only applies to temps < -15°C, not 15°C.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| | |
Instead of waking up after every character, wait until the FIFO is
empty to reduce overhead
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| | |
The default for lpc has been raised to 512 bytes, but Em doesn't have
enough RAM for that.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| | |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Burst mode doesn't stop after one round of conversions, so we end up
getting incorrect values in whatever the last conversion register is.
Just use single conversions and take an interrupt per channel.
Also, slow down the ADC so that our values are more stable -- just
need to make sure we get the whole conversion sequence done 100 times
a second.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| | |
TeleGPS doesn't ever want RDF
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| | |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Try to recover from TX_FIFO_UNDERFLOW by resetting the chip at idle
time.
Do a calibration phase during setup.
Program power to ramp up to limit key down noise.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| | |
Instead of waking up after every character, wait until the FIFO is
empty to reduce overhead
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| | |
The default for lpc has been raised to 512 bytes, but Em doesn't have
enough RAM for that.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| |
| | |
Provides a configuration option to set the ublox serial baud rate to
something other than 57600 baud
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| | |
Override default radio power and APRS interval
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|\| |
|
| |
| |
| |
| |
| |
| |
| | |
For some reason, the MD5_Final symbol isn't resolved when linking only
against libssl.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
| |
| |
| |
| |
| | |
Only needed for the CC115L_TRACE code, and it only builds on STM
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|/
|
|
|
|
| |
This lets existing serial port users find the right function.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
Used for TeleGPS, just exposes the necessary log writing function
without also including the ADC writing code.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Support the USB boot loader, add USB pull-up support.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
|
| |
The nvic iser and icer registers read value indicates all enabled
interrupts, icer writes disable the set interrupts. Re-writing icer
with the current value ends up disabling all interrupts, not exactly
what we wanted.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
It's not used
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Make sure the processor does something sensible when the power disappears.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
| |
Instead of blinking RX/TX, report the radio status on the telefire
nodes, just like telelco does. This makes the LEDs on telefire
*exactly the same* as the LEDs on telelco, which seems like a good idea.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
Driving Enable high means anything going past on the clock and data
pair is reflected on the LEDs, which isn't terribly useful
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Reading the status byte doesn't provide very useful RSSI info
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
Now that the source of the Vcc noise has been identified, remove the
unnecessary ADC filtering.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This involved carefully moving the USB away from the IRC before
turning it off.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
There was a check to only disable USB on boards with radios, but for
EasyMini, we want to disable USB too for flight mode.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This lets us use port bits greater than 7 for M25 chip selects
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Try to reduce noise on the power supply.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
They're amazingly noisy on EasyMini, so just filter them as the only
thing we use them for is battery and pyro numbers.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
They're still very unstable (bouncing around a lot), but at least they
seem to report useful stuff now.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This gives the remote boxes time to get back to listening for messages
after receiving the packet from the found box.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This splits the fast-timer portion out of the debounce helper code and
shares that with the quadrature driver which now uses it directly.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
The 50% duty cycle wasn't actually loud enough outside.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Just reads one byte from the shift register using the SPI driver and returns it
Signed-off-by: Keith Packard <keithp@keithp.com>
|