altos: Switch all tick variables to AO_TICK_TYPE/AO_TICK_SIGNED Instead of trying to pick and choose which work as 16-bit values, change everything that doesn't affect external values (log, companion, radio) to AO_TICK_TYPE. Signed-off-by: Keith Packard <keithp@keithp.com>
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/stm: Make beeper driver support all possible tim234 configs And update all users to be explicit about the desired config. Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Eliminate 'pin' field from GPIO functions This was used with the 8051 bit-addressing mode to provide single-instruction access to GPIO pins. Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Define AO_LOG_FORMAT in */ao_pins.h. Use in ao_cmd.c Instead of having a global variable define the log format, use a macro instead to save data space. Signed-off-by: Keith Packard <keithp@keithp.com>
Switch from GPLv2 to GPLv2+ Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Add HAS_COMPANION to new boards with companion connectors Thanks much to Rob Derstadt for discovering this bug! TeleMetrum v2.0, TeleMega, EasyMega, TeleBalloon v2.0 all have companion connectors and yet HAS_COMPANION was not defined. This disabled companion telemetry packets on these products, but otherwise didn't have any effect. Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Update other CONFIG_EEPROM users to set LOG_ERASE_MARK All products placing config and erase marks in on-CPU EEPROM needs to configure the erase code correctly. Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Report battery voltage instead of S at startup This works on everything with a beeper except TeleMetrum v1.0 which just doesn't have enough flash space for the code. Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Create balloon-specific load for TMv2 hardware Signed-off-by: Keith Packard <keithp@keithp.com>