altos: Remove support for !HAS_TASK_QUEUE This uses a bit more memory, but the amount can be controlled by setting the size of the sleep hash table, which makes this fit on even the smaller devices like the early EasyMini boards. Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Use new ao_spi_speed inline to set SPI speeds using spec'd frequencies Instead of hand-adjusting SPI speeds for each driver and product based on processor supported rates, create an inline function that takes the maximum frequency supported by the device and maps that to a value supported by the SoC. This ensures that we don't accidentally drive devices faster than they want (as could happen with AO_SPI_SPEED_FAST), but do go as fast as possible in every configuration. Using an inline function means the value is computed at compile time. Signed-off-by: Keith Packard <keithp@keithp.com>
telegps-v0.1: Hack up for SDCARD debugging Disable everything not SDCARD related for debugging. Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Define CC115L spi speed in each product Different SoCs have different SPI speeds available; have each product specify the speed to use instead of trying to use 4Mhz everywhere. Signed-off-by: Keith Packard <keithp@keithp.com>
Switch from GPLv2 to GPLv2+ Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Allow use of internal EEPROM for config storage This stops exposing eeprom as 'storage' and instead exposes it with a separate eeprom API so that it can be used for config storage without also using it for flight log storage. The config code has been changed to allow it to either use storage for configuration data or eeprom. Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Add defines for the specific pins used for telegps SPI These aren't needed at this point, but who knows? Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Get CC115L radio working. This involved figuring out which GPIO signal would reliably indicate that the transmitter was finished; I ended up using the PA_PD bit for this. This also converts all of the radio users to the long packet support as the CC115L has only a 64-byte fifo, not large enough to hold either an RDF tone or a regular AltOS telemetry packet. This also renames the public API for sending APRS packets from ao_radio_send_lots to ao_radio_send_aprs, which is at least more accurate. The workings of that API haven't changed, just the name. Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Add temporary RF power settings These expose the raw cc115l and rfpa0133 register settings so that we can calibrate them against measured power outputs. I've tested them to verify that they change how much power the board consumes, so they're clearly doing something... Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Hook up the FAT16 and SD card support to telegps Signed-off-by: Keith Packard <keithp@keithp.com>
altos/telegps: Hook up cc115l driver Doesn't actually do anything yet, but should initialize the chip at least Signed-off-by: Keith Packard <keithp@keithp.com>
Add telegps initial version Just lights up the GPS and USB Signed-off-by: Keith Packard <keithp@keithp.com>