]>
git.gag.com Git - fw/altos/log
Keith Packard [Sun, 26 Feb 2023 07:46:25 +0000 (23:46 -0800)]
altos/draw: Add logo
Captures the SVG logo polygons and allows them to be
scaled to suit.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 26 Feb 2023 07:45:25 +0000 (23:45 -0800)]
altos/draw: Use float for polygon coords
This makes polygons look way better.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 26 Feb 2023 06:39:07 +0000 (22:39 -0800)]
altos/draw: Make test drawing app emulate TeleLCO
Draw some numbers for box and pad. Also allow display of a couple of
polygons.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 26 Feb 2023 06:38:33 +0000 (22:38 -0800)]
altos/draw: Only cover ASCII
Skip the rest of latin-1
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 26 Feb 2023 06:37:16 +0000 (22:37 -0800)]
altos/draw: Add poly fill function
Fill polygons using non-zero winding rule.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 26 Feb 2023 03:22:58 +0000 (19:22 -0800)]
altos: Fill in more of the draw code
Get multiple fonts working, allow for variable-pitch fonts.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 16 Feb 2023 23:13:01 +0000 (15:13 -0800)]
Version 1.9.15
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Mon, 20 Feb 2023 00:50:40 +0000 (17:50 -0700)]
ao-bringup: turnon and test scripts for TeleMetrum v4.0 & TeleMega v6.0
Keith Packard [Sun, 19 Feb 2023 00:51:09 +0000 (16:51 -0800)]
ao-tools/ao-flash: Use 'program' instead of 'flash' for samd21
Switch to the program command, which has a 'reset' option, to get the
device back to running after loading the boot loader.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 16 Feb 2023 23:36:30 +0000 (15:36 -0800)]
doc: Add TeleMetrum v4.0 to specs and 1.9.15 release notes
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 16 Feb 2023 23:36:11 +0000 (15:36 -0800)]
altos/telemetrum-v4.0: Add .gitignore
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 16 Feb 2023 23:35:29 +0000 (15:35 -0800)]
Add TeleMetrum v4.0 firmware to releases
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 16 Feb 2023 23:12:24 +0000 (15:12 -0800)]
Add TeleMega v6.0 firmware to release
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 16 Feb 2023 23:07:20 +0000 (15:07 -0800)]
doc: Add HW specs for TeleMega v6.0
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 16 Feb 2023 23:05:27 +0000 (15:05 -0800)]
doc: Add initial 1.9.15 release notes
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Thu, 16 Feb 2023 22:52:56 +0000 (15:52 -0700)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Keith Packard [Thu, 9 Feb 2023 23:22:17 +0000 (15:22 -0800)]
altos: Fix TMega v6.0 and v5.0 IMU axes
Add documentation to each board in ao_pins.h to clarify
the required sensor axis orientations.
TeleMega v5.0 had flipped the 'across' axis sensor value signs
incorrectly, so remove that.
TeleMega v6.0 had selected the wrong axes for across and along, along
is X and across is Y for this board.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sat, 11 Feb 2023 01:58:08 +0000 (17:58 -0800)]
altoslib: Hide internals of AltosIMU
Make most of the variables private to prevent access to un-corrected
data.
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Wed, 15 Feb 2023 02:00:29 +0000 (19:00 -0700)]
altos: re-number csm85clio outputs 0..49 to match schematic and silkscreen
Bdale Garbee [Fri, 10 Feb 2023 13:52:43 +0000 (06:52 -0700)]
Merge branch 'clio'
Bdale Garbee [Fri, 10 Feb 2023 13:52:11 +0000 (06:52 -0700)]
altos: add csm84clio-v0.1 firmware
Keith Packard [Thu, 9 Feb 2023 23:22:17 +0000 (15:22 -0800)]
altos/telemega-v6.0: bmi088 axes were wrong
X is 'along', Y is 'across'.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 9 Feb 2023 22:54:19 +0000 (14:54 -0800)]
altos/telemega-v6: Remove beep freq defs and use defaults
These values came from the magnetic beeper on Tmega v5 which we aren't
using.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 9 Feb 2023 20:35:13 +0000 (12:35 -0800)]
altos: Add .gitignore for telemega v6.0
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 2 Feb 2023 19:33:35 +0000 (11:33 -0800)]
Version 1.9.14
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 2 Feb 2023 19:33:00 +0000 (11:33 -0800)]
doc: Release notes for 1.9.14
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 2 Feb 2023 02:00:24 +0000 (18:00 -0800)]
altos/drivers: Increase LCO receive timeout to 20ms
Changes in the cc1200 driver appear to have sped up the transition
from TX to RX enough that we now need to wait a bit longer for
TeleFire to return a packet. Increase the 38400 bps timeout to 20ms
and the 9600 bps timeout to 30ms.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 2 Feb 2023 01:59:28 +0000 (17:59 -0800)]
altos/drivers: Use spi duplex to fetch register values
We read register values during regular operation, so let's improve
performance a bit by making this faster.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 2 Feb 2023 00:29:42 +0000 (16:29 -0800)]
altos/telefiretwo-v0.2: Get things building again
This code got very stale and needed some config updates
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 1 Feb 2023 22:14:55 +0000 (14:14 -0800)]
drivers/cc1200: Don't disable cc1200 interrupts ever
The driver now leaves interrupts always enabled, don't disable them in
ao_radio_recv_abort as nothing will ever turn them back on.
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Fri, 20 Jan 2023 05:51:27 +0000 (22:51 -0700)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Keith Packard [Fri, 20 Jan 2023 01:28:36 +0000 (17:28 -0800)]
Version 1.9.13
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 20 Jan 2023 01:27:18 +0000 (17:27 -0800)]
doc: Update copyright year to 2023
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 20 Jan 2023 01:27:02 +0000 (17:27 -0800)]
doc: Add release notes for 1.9.13
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Fri, 20 Jan 2023 05:41:24 +0000 (22:41 -0700)]
doc: update EasyMotor behavior description for firmware 1.9.13 and later
Bdale Garbee [Fri, 20 Jan 2023 05:41:24 +0000 (22:41 -0700)]
doc: update EasyMotor behavior description for firmware 1.9.13 and later
Keith Packard [Fri, 20 Jan 2023 01:39:42 +0000 (17:39 -0800)]
Disable TM v4.0 firmware for 1.9.13
This will be in 1.9.14
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 20 Jan 2023 01:28:36 +0000 (17:28 -0800)]
Version 1.9.13
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 20 Jan 2023 01:27:18 +0000 (17:27 -0800)]
doc: Update copyright year to 2023
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 20 Jan 2023 01:27:02 +0000 (17:27 -0800)]
doc: Add release notes for 1.9.13
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 20 Jan 2023 01:20:44 +0000 (17:20 -0800)]
altos: Add makefiles for telemega v6
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 19 Jan 2023 22:04:50 +0000 (14:04 -0800)]
altos/easymotor: Move pressure conversion code to ao_motor_flight.c
This inline function uses a pile of constants which aren't defined in
ao_pins.h, so move it to ao_motor_flight.c where it is used
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 19 Jan 2023 21:20:56 +0000 (13:20 -0800)]
easymotor-v3: Fix pressure to adc conversion to use reference voltage
Wasn't taking reference voltage into account, which meant the computed values
were 3.3 times too high.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 19 Jan 2023 20:21:32 +0000 (12:21 -0800)]
Merge branch 'easymotor-flight'
Keith Packard [Thu, 19 Jan 2023 20:18:46 +0000 (12:18 -0800)]
altos/telelco: Add some debug aids for TeleLCO event stuff
Use (debug & 2) to select just event debugging.
Add 'pretend' mode to cycle through all possible pad boxes.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 28 Dec 2022 05:33:14 +0000 (21:33 -0800)]
altoslib: Add TeleMega v6 support
New sensor (bmi088) support, plus other changes as needed. Also found
some places missing TeleMega-v5 support?
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 28 Dec 2022 05:32:39 +0000 (21:32 -0800)]
ao-tools: Update ao-eeprom for TeleMega v6
Add new log file format; no other changes needed here.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 28 Dec 2022 05:31:38 +0000 (21:31 -0800)]
ao-tools: Fix buffer overflow in lib/ao-hex.c
ao_hex_file_create allocated a buffer too short when writing EOF.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 28 Dec 2022 05:30:13 +0000 (21:30 -0800)]
altos: Split AO_LOG_NORMALIZED support out in telemetry code
This avoids needing per-driver changes to the telemetry code by using
the normalized data gathering techniques.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 28 Dec 2022 05:29:12 +0000 (21:29 -0800)]
drivers: Add AO_LOG_NORMALIZED support to BMI088 command
Make this driver work in monitor idle mode
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 28 Dec 2022 05:01:06 +0000 (21:01 -0800)]
src/drivers: Ignore printf warnings in ao_aprs.c
This code uses sprintf to generate the tnc buffer, but the compiler doesn't
really understand the value limits.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 28 Dec 2022 04:24:51 +0000 (20:24 -0800)]
doc: Update docs for asciidoctor-pdf version 2.x
Some of the theming stuff changed
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 18 Dec 2022 02:01:01 +0000 (18:01 -0800)]
altos: Add TeleMega v6.0
Like TeleMega v5.0, but replaces MPU6000 with BMI088
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 28 Aug 2022 00:06:58 +0000 (17:06 -0700)]
altos: Add BMI088 test framework using Nucleo32 board for stm32f042
This allows a BMI088 chip to be connected to a nucleo-32 board
with an stm32f042 chip to be tested.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 28 Aug 2022 00:05:51 +0000 (17:05 -0700)]
drivers: Add BMI088 driver
Supports the Bosch BMI-088 3-d accel/gyro device.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Tue, 6 Dec 2022 03:26:42 +0000 (19:26 -0800)]
altos: Add timeout in MS5607 get_sample code
MISO is supposed to rise when the sample value is ready, but sometimes
we miss the interrupt which should be generated. I spent a day
attempting to fix this, but was unable to make it 100%. Instead, add a
10ms timeout, which is longer than the sample time (8.2ms), and then
read MISO directly. If the interrupt fires, we'll read a bit sooner.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Tue, 6 Dec 2022 03:51:02 +0000 (19:51 -0800)]
altos/stmf0: Add ao_spi_put_pins for MS5067 driver
TeleMini needs this on stmf0
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Tue, 6 Dec 2022 03:29:28 +0000 (19:29 -0800)]
altos/stm: Add ao_spi_put_pins for MS5607 driver
This function re-configures the GPIO mux to disconnect the SPI block
from the pins driving the MS5607.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Mon, 5 Dec 2022 00:33:02 +0000 (16:33 -0800)]
easymotor-v3.0: Clean up build bits
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Mon, 5 Dec 2022 00:32:05 +0000 (16:32 -0800)]
easymotor-v3.0: Use motor pressure to trigger data logging
Use this instead of acceleration so it can be used on the ground as
well as for staged flights.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 4 Dec 2022 22:17:58 +0000 (14:17 -0800)]
altos: Add timeout for MS5607 ADC conversion
The MS5607 should signal conversion done by pulling MISO low, but in
case it doesn't, add a 10ms timeout to wake up after the conversion
should be done.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sat, 26 Nov 2022 17:57:33 +0000 (09:57 -0800)]
altoslib: Add notes about updating ao-eeprom for new product
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sat, 26 Nov 2022 17:52:37 +0000 (09:52 -0800)]
Merge branch 'master'
Keith Packard [Sat, 26 Nov 2022 17:48:19 +0000 (09:48 -0800)]
ao-tools/ao-eeprom: Add support for TeleMega v5.0
Same as TeleMega v4.0 (ao-eeprom doesn't do much with imu data)
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 20 Nov 2022 23:57:44 +0000 (15:57 -0800)]
Add TeleMetrum v4.0 to release files
Releasing
altosui/Makefile
altosui/altos-windows.nsi.in
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 20 Nov 2022 23:56:06 +0000 (15:56 -0800)]
altoslib: Handle TeleMetrum v4.0 in idle mode
Handle config data and idle fetch stuff. Note that TM v4.0 differs
from older versions a bit as it stores config data in the SPI flash
chip, not in the SoC.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 20 Nov 2022 23:31:27 +0000 (15:31 -0800)]
altos: Enable telemetrum telemetry for telemetrum v4.0
This configuration could be done better ...
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Fri, 18 Nov 2022 20:06:12 +0000 (13:06 -0700)]
doc: add a link to a reference on ARES/RACES use of PowerPole connectors
Bdale Garbee [Fri, 18 Nov 2022 19:51:08 +0000 (12:51 -0700)]
doc: add a warning to TeleLaunch docs about siren volume levels
Keith Packard [Sun, 13 Nov 2022 07:37:29 +0000 (23:37 -0800)]
altos: Make sure APRS packets are reasonably separated
Don't let them come too close together.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 13 Nov 2022 07:35:40 +0000 (23:35 -0800)]
altos/ms5607: Fixup ms5607 changes for other chips
A couple of chips don't bother providing duplex, so allow for that.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 13 Nov 2022 07:34:34 +0000 (23:34 -0800)]
altos: Add ao_gps_utc_tick
This indicates which tick is associated with the UTC time found
in the current ao gps data
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 13 Nov 2022 07:33:29 +0000 (23:33 -0800)]
attiny, stm32l0: Note that these chips don't support spi duplex
This makes the ms5607 driver use send/recv instead.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 13 Nov 2022 06:48:28 +0000 (22:48 -0800)]
samd21: Save interrupt pin status before enabling interrupts
Make sure we capture the correct external interrupt pin state before
anything changes.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 13 Nov 2022 06:47:00 +0000 (22:47 -0800)]
altos: Avoid modulus in task queue on parts without idiv
Cortex-M0 parts don't have a hardware divide, so doing a modulus
to compute task hash indexes is super slow. Avoid that by making the sleep
queue a power of two.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 13 Nov 2022 06:38:12 +0000 (22:38 -0800)]
altos/cc1200: Simplify interrupt handling
Use PKT_SYNC_RXTX for both packet send/recv signaling. This avoids
needing to flip the interrupt sense around between tx and rx, allowing
us to leave interrupts always enabled which avoids adventures on
samd21 with interrupt configuration.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 13 Nov 2022 04:44:38 +0000 (20:44 -0800)]
telemetrum-v4.0: Correct beeper configuration
Beeper is on PA16, which is TCC2/0 with config E
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 13 Nov 2022 03:39:18 +0000 (19:39 -0800)]
telemetrum-v4.0: MS5607 doesn't share SPI controller
The PRIVATE_PINS value is a bit misleading.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 13 Nov 2022 03:38:56 +0000 (19:38 -0800)]
fixup for exti restore
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 13 Nov 2022 03:38:09 +0000 (19:38 -0800)]
samd21: AO_SPI_0_PA04_PA05_PA06 is FUNC_D
Not FUNC_C
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 13 Nov 2022 03:37:23 +0000 (19:37 -0800)]
samd21: Restore pin cfg when exti is disabled
Instead of clearing the pmux, set it back to the previous value as is
needed by ms5607.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 13 Nov 2022 03:36:52 +0000 (19:36 -0800)]
samd21: Limit SPI baud value to 1
Keep speeds slow enough
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 13 Nov 2022 03:36:10 +0000 (19:36 -0800)]
samd21: PA20 maps to SERCOM3.2 not SERCOM3.3
Flip the DIPO config around for AO_SPI_3_PA22_PA23_PA20
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 13 Nov 2022 03:35:26 +0000 (19:35 -0800)]
altos/ms5607: Use duplex for fetching data
Much more efficient than send/recv
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 10 Nov 2022 19:47:39 +0000 (11:47 -0800)]
telegps: Copy altosui 'beep feet' bits to telegps
Yeah, this is cut&paste coding. Sorry.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 10 Nov 2022 19:40:29 +0000 (11:40 -0800)]
telemetrum-v4.0: Set USE_SERIAL_1_STDIN to 0
This makes sure the serial driver knows how to manage this port
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Thu, 10 Nov 2022 19:34:49 +0000 (12:34 -0700)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Thu, 10 Nov 2022 19:34:12 +0000 (12:34 -0700)]
ao-tools: return ao-flash-lpc operaton to "full speed"
Keith Packard [Thu, 10 Nov 2022 00:29:56 +0000 (16:29 -0800)]
metro-m0: Add GPS support
Plug a ublox GPS module into D4(tx)/D3(rx)
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 10 Nov 2022 00:29:13 +0000 (16:29 -0800)]
samd21: Leave serial RX interrupts enabled
Just discard characters in the ISR. This avoids complex management of
the enable bit.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 10 Nov 2022 00:28:21 +0000 (16:28 -0800)]
drivers/ublox: Clean up some debug mode code
Not used in production, so we didn't catch a couple of type errors.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 10 Nov 2022 00:02:55 +0000 (16:02 -0800)]
telemetrum-v4.0: Remove unused file
Not sure what 'telemetrum.c' was supposed to do, but it's not used.
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Wed, 9 Nov 2022 16:06:17 +0000 (09:06 -0700)]
altosui: force Locale.ROOT during CSV export to avoid commas in decimals
Bdale Garbee [Wed, 9 Nov 2022 15:27:28 +0000 (08:27 -0700)]
TeleMetrum v4.0 work in progress
Keith Packard [Wed, 9 Nov 2022 00:25:35 +0000 (16:25 -0800)]
telemetrum-v4.0: Add beeper and fix ADC defs
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 9 Nov 2022 00:20:07 +0000 (16:20 -0800)]
metro-m0: Hook up ADC sample from A pins
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 9 Nov 2022 00:18:57 +0000 (16:18 -0800)]
samd21: Hook up AltOS style ADC
Can't use DMA; samd21 only does ADC in continuous pins. ISR per ADC,
manually step through.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 9 Nov 2022 00:17:58 +0000 (16:17 -0800)]
samd21: Hook up AltOS timer functionality
Need to run the data sampling stuff.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 9 Nov 2022 00:17:14 +0000 (16:17 -0800)]
samd21: Move DMA channel defs to ao_dma_samd21.h
This way if we need to use DMA for something else, we've got
a central place to set things up.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 9 Nov 2022 00:16:40 +0000 (16:16 -0800)]
samd21: Get beep code working
Only supports TCC currently.
Signed-off-by: Keith Packard <keithp@keithp.com>