]> git.gag.com Git - fw/altos/log
fw/altos
12 days agoaltos: fix telemetrum seeed test payload names master
Keith Packard [Sat, 31 May 2025 23:20:05 +0000 (16:20 -0700)]
altos: fix telemetrum seeed test payload names

Signed-off-by: Keith Packard <keithp@keithp.com>
2 weeks agoaltos: Add telemetrum v4.0 seeed test firmware
Keith Packard [Mon, 26 May 2025 00:32:30 +0000 (17:32 -0700)]
altos: Add telemetrum v4.0 seeed test firmware

Signed-off-by: Keith Packard <keithp@keithp.com>
6 weeks agoVersion 1.9.21
Keith Packard [Mon, 28 Apr 2025 19:52:01 +0000 (12:52 -0700)]
Version 1.9.21

Signed-off-by: Keith Packard <keithp@keithp.com>
6 weeks agodoc: Add 1.9.21 release notes
Keith Packard [Mon, 28 Apr 2025 19:49:21 +0000 (12:49 -0700)]
doc: Add 1.9.21 release notes

Signed-off-by: Keith Packard <keithp@keithp.com>
6 weeks agoaltos: Check full name in rn4678 driver
Keith Packard [Mon, 28 Apr 2025 19:38:16 +0000 (12:38 -0700)]
altos: Check full name in rn4678 driver

Factory test code uses serial number 0, leaving the BT module name set
wrong.

Signed-off-by: Keith Packard <keithp@keithp.com>
6 weeks agotweaking up the TeleBT turnon scripts for v4.0d
Bdale Garbee [Mon, 28 Apr 2025 16:26:59 +0000 (10:26 -0600)]
tweaking up the TeleBT turnon scripts for v4.0d

7 weeks agoVersion 1.9.20.1 1.9.20.1
Keith Packard [Wed, 23 Apr 2025 18:36:24 +0000 (11:36 -0700)]
Version 1.9.20.1

Patch build for baro range and picolibc 1.8.10

Signed-off-by: Keith Packard <keithp@keithp.com>
7 weeks agoaltos: Adapt to picolibc 1.8.10 changes
Keith Packard [Wed, 23 Apr 2025 18:26:48 +0000 (11:26 -0700)]
altos: Adapt to picolibc 1.8.10 changes

Signed-off-by: Keith Packard <keithp@keithp.com>
7 weeks agoaltoslib: Handle pressure values which are too low (including negative)
Keith Packard [Wed, 23 Apr 2025 16:23:00 +0000 (09:23 -0700)]
altoslib: Handle pressure values which are too low (including negative)

The atmospheric model didn't deal with pressures below the minimum
value correctly and crashed with accesses outside of the base_altitude
array.

Instead of returning errors, clamp pressure within the model and
return a fixed maximum altitude value of 100km.

Signed-off-by: Keith Packard <keithp@keithp.com>
2 months agofix confusing typo in 1.9.20 release notes
Bdale Garbee [Tue, 25 Mar 2025 16:35:48 +0000 (10:35 -0600)]
fix confusing typo in 1.9.20 release notes

2 months agoupdate Releasing with learnings from 1.9.20 release
Bdale Garbee [Mon, 24 Mar 2025 19:40:43 +0000 (13:40 -0600)]
update Releasing with learnings from 1.9.20 release

2 months agoVersion 1.9.20
Keith Packard [Mon, 24 Mar 2025 18:17:27 +0000 (11:17 -0700)]
Version 1.9.20

Signed-off-by: Keith Packard <keithp@keithp.com>
2 months agodoc: Add doc updates for version 1.9.20
Keith Packard [Mon, 24 Mar 2025 18:17:05 +0000 (11:17 -0700)]
doc: Add doc updates for version 1.9.20

Signed-off-by: Keith Packard <keithp@keithp.com>
2 months agoAdd 30v pyro voltage range support
Keith Packard [Sat, 22 Mar 2025 22:24:01 +0000 (15:24 -0700)]
Add 30v pyro voltage range support

TeleMega v7.0 uses new voltage dividers so that the pyro voltage can
range up to 30v. This means there are new telemetry and log formats.

Split out easy timer, telemetrum and telemega voltage conversion funcs
and use the as appropriate.

Signed-off-by: Keith Packard <keithp@keithp.com>
2 months agoAdd TeleMega v7.0 firmware and specs
Keith Packard [Sat, 22 Mar 2025 22:23:00 +0000 (15:23 -0700)]
Add TeleMega v7.0 firmware and specs

Add firmware to fat target, altosui build.

Signed-off-by: Keith Packard <keithp@keithp.com>
2 months agoaltos: Add 30V pyro log/telem options for telemega v7.0
Keith Packard [Sat, 22 Mar 2025 21:47:09 +0000 (14:47 -0700)]
altos: Add 30V pyro log/telem options for telemega v7.0

We switched the pyro voltage dividers so that the max range increased
from 15V to 30V. This means new log and telem formats.

Signed-off-by: Keith Packard <keithp@keithp.com>
2 months agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Fri, 21 Mar 2025 23:15:50 +0000 (17:15 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

2 months agoadd production test support for TeleGPS v4.0
Bdale Garbee [Fri, 21 Mar 2025 23:15:01 +0000 (17:15 -0600)]
add production test support for TeleGPS v4.0

2 months agoadd production support for TeleMega v7.0
Bdale Garbee [Fri, 21 Mar 2025 22:58:14 +0000 (16:58 -0600)]
add production support for TeleMega v7.0

2 months agoadd TeleMega v7 to firmware copied in Releasing
Bdale Garbee [Fri, 21 Mar 2025 22:54:35 +0000 (16:54 -0600)]
add TeleMega v7 to firmware copied in Releasing

2 months agotelemega-v7.0-seeed: Set ublox version
Keith Packard [Fri, 21 Mar 2025 22:40:05 +0000 (15:40 -0700)]
telemega-v7.0-seeed: Set ublox version

Ships with v10 part

Signed-off-by: Keith Packard <keithp@keithp.com>
2 months agotelemega-v7.0: Set ublox version to 10
Keith Packard [Fri, 21 Mar 2025 22:37:44 +0000 (15:37 -0700)]
telemega-v7.0: Set ublox version to 10

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agodoc: Add micropeak outline doc
Keith Packard [Sun, 9 Mar 2025 18:10:05 +0000 (11:10 -0700)]
doc: Add micropeak outline doc

Provide geometry for mounting micropeak.

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agoaltosui: handle another jfreechart 1.5.5 api change
Bdale Garbee [Tue, 4 Mar 2025 02:03:49 +0000 (19:03 -0700)]
altosui: handle another jfreechart 1.5.5 api change

3 months agoaltosuilib: Adapt to jfreechart 1.5.5 update
Keith Packard [Tue, 25 Feb 2025 23:12:40 +0000 (15:12 -0800)]
altosuilib: Adapt to jfreechart 1.5.5 update

Incompatible changes require source updates.

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agoaltos: move Java minimum supported version from 7 to 8
Bdale Garbee [Tue, 25 Feb 2025 20:12:35 +0000 (13:12 -0700)]
altos: move Java minimum supported version from 7 to 8

3 months agoaltos: ignore the first few battery values in telebt-v4.0-seeed
Keith Packard [Tue, 25 Feb 2025 03:47:11 +0000 (19:47 -0800)]
altos: ignore the first few battery values in telebt-v4.0-seeed

The ADC appears to get at least the first value wrong, so discard some
before we check the battery voltage.

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agoaltos: Add Makefiles for telebt v4.0 seeed test code
Keith Packard [Mon, 24 Feb 2025 21:24:05 +0000 (13:24 -0800)]
altos: Add Makefiles for telebt v4.0 seeed test code

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agoAdd telebt v4.0 seeed test code
Keith Packard [Mon, 24 Feb 2025 21:10:27 +0000 (13:10 -0800)]
Add telebt v4.0 seeed test code

Test radio, BT module and battery voltage.

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agoaltos: Allow telebt test code to redefine how BT panics are handled
Keith Packard [Mon, 24 Feb 2025 21:09:51 +0000 (13:09 -0800)]
altos: Allow telebt test code to redefine how BT panics are handled

Want to provide a consistent UX for seeed QA

Signed-off-by: Keith Packard <keithp@keithp.com>
3 months agoaltos: Use smaller crt0 for stm boot loader
Keith Packard [Sun, 16 Feb 2025 22:03:30 +0000 (14:03 -0800)]
altos: Use smaller crt0 for stm boot loader

This eliminates some of unnecessary startup code and saves a bit of
flash.

Signed-off-by: Keith Packard <keithp@keithp.com>
4 months agoaltos/telemega-v7.0-seeed: Report success with just the green LED
Keith Packard [Wed, 29 Jan 2025 06:57:39 +0000 (22:57 -0800)]
altos/telemega-v7.0-seeed: Report success with just the green LED

Don't turn them both on.

Signed-off-by: Keith Packard <keithp@keithp.com>
4 months agoaltos: Add telemega test for seeed
Keith Packard [Tue, 28 Jan 2025 19:37:40 +0000 (11:37 -0800)]
altos: Add telemega test for seeed

This runs the existing POST as well as validating flash size, battery
voltage, GPS receiver, accel range and baro range.

Signed-off-by: Keith Packard <keithp@keithp.com>
4 months agoaltos/micropeak: Ignore another GCC warning
Keith Packard [Tue, 28 Jan 2025 18:43:42 +0000 (10:43 -0800)]
altos/micropeak: Ignore another GCC warning

Signed-off-by: Keith Packard <keithp@keithp.com>
4 months agoaltos: Add TeleMega v7.0 firmware and flash loader
Keith Packard [Tue, 28 Jan 2025 18:27:38 +0000 (10:27 -0800)]
altos: Add TeleMega v7.0 firmware and flash loader

TeleMega v7.0 is nearly identical to 6.0. The only change
is to support pyro batteries up to 30V. This was done by
changing the ADC voltage dividers from 100k/27k to 100k/12k.

Signed-off-by: Keith Packard <keithp@keithp.com>
4 months agotelegps-v4.0-seeed: Test CC1200 using ao_radio_post
Keith Packard [Thu, 23 Jan 2025 17:29:15 +0000 (09:29 -0800)]
telegps-v4.0-seeed: Test CC1200 using ao_radio_post

Make sure the radio chip is alive enough to respond to SPI.

Signed-off-by: Keith Packard <keithp@keithp.com>
4 months agoaltos: Add ao_radio_post (power-on self-test) for cc1200
Keith Packard [Thu, 23 Jan 2025 17:21:26 +0000 (09:21 -0800)]
altos: Add ao_radio_post (power-on self-test) for cc1200

This function checks to make sure the radio chip is present on the SPI
bus.

Signed-off-by: Keith Packard <keithp@keithp.com>
4 months agotelegps-v4.0-seeed: Use simpler failure indicators
Keith Packard [Fri, 4 Oct 2024 04:45:11 +0000 (21:45 -0700)]
telegps-v4.0-seeed: Use simpler failure indicators

panic with one blink - flash check failed
panic with two blinks - battery voltage check failed
panic with three blinks - gps check failed
steady LED - success

Signed-off-by: Keith Packard <keithp@keithp.com>
4 months agoaltos: Add telegps v4.0 test firmware
Keith Packard [Wed, 2 Oct 2024 04:52:56 +0000 (21:52 -0700)]
altos: Add telegps v4.0 test firmware

This is custom firmware for testing TeleGPS v4.0 boards at Seeed. It
checks to make sure flash, ADC and GPS are working correctly. On
success, it will hold the green LED steady. On failure, it will blink
out a pattern identifying the failing component.

Signed-off-by: Keith Packard <keithp@keithp.com>
5 months agoinclude TeleLCO v3.0 firmware in Releasing file
Bdale Garbee [Fri, 20 Dec 2024 21:57:42 +0000 (14:57 -0700)]
include TeleLCO v3.0 firmware in Releasing file

6 months agoAdd built versions of altosdroid
Keith Packard [Wed, 27 Nov 2024 18:43:27 +0000 (10:43 -0800)]
Add built versions of altosdroid

Make sure we can recover from Android SDK failures.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 months agosrc: Add more includes to ao.h
Keith Packard [Thu, 26 Sep 2024 15:23:48 +0000 (08:23 -0700)]
src: Add more includes to ao.h

This makes sure altos has all of the C library definitions it needs
rather than on relying on the C library to expose more than POSIX
says it should.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 months agodoc: Clean up some asciidoctor complaints
Keith Packard [Thu, 22 Aug 2024 17:57:36 +0000 (10:57 -0700)]
doc: Clean up some asciidoctor complaints

Upgrade output to pdf version 1.6. Fill in short table rows.

Signed-off-by: Keith Packard <keithp@keithp.com>
8 months agoaltosdroid: Remove spurious /> in an xml file
Keith Packard [Tue, 6 Aug 2024 05:15:13 +0000 (22:15 -0700)]
altosdroid: Remove spurious /> in an xml file

oops

Signed-off-by: Keith Packard <keithp@keithp.com>
8 months agoaltosdroid: Reduce lint in java code
Keith Packard [Tue, 6 Aug 2024 05:14:42 +0000 (22:14 -0700)]
altosdroid: Reduce lint in java code

Signed-off-by: Keith Packard <keithp@keithp.com>
9 months agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Mon, 26 Aug 2024 19:28:31 +0000 (13:28 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

9 months agoadd production flash/cal/test script for TeleLCO v3.0
Bdale Garbee [Mon, 26 Aug 2024 19:28:11 +0000 (13:28 -0600)]
add production flash/cal/test script for TeleLCO v3.0

9 months agompusb-3.0: Add cast to putchar call. Make compiler happy.
Keith Packard [Thu, 22 Aug 2024 17:41:44 +0000 (10:41 -0700)]
mpusb-3.0: Add cast to putchar call. Make compiler happy.

We've added warnings about casts to catch mistakes; this one wasn't a
mistake.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 months agoaltoslib: Add TeleGPS v4 bits
Keith Packard [Wed, 14 Aug 2024 15:46:07 +0000 (08:46 -0700)]
altoslib: Add TeleGPS v4 bits

Need to adjust the ADC stuff for battery level conversions.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 months agoadd support for TeleGPS v4.0
Bdale Garbee [Wed, 14 Aug 2024 07:15:36 +0000 (01:15 -0600)]
add support for TeleGPS v4.0

10 months agomap-server: Make sample map tile fetch script use valid zoom
Keith Packard [Sun, 11 Aug 2024 22:43:01 +0000 (15:43 -0700)]
map-server: Make sample map tile fetch script use valid zoom

Need to use an in-range value or the server will just ignore it.

Signed-off-by: Keith Packard <keithp@keithp.com>
10 months agoaltoslib: Ignore content-length when fetching map tiles
Keith Packard [Sun, 11 Aug 2024 22:40:49 +0000 (15:40 -0700)]
altoslib: Ignore content-length when fetching map tiles

Apache has been "fixed" to no longer respect any content-length
provided by a CGI script. This means we don't get the length of the
image from the server anymore. Ignore it and just keep fetching until
we hit the end.

Signed-off-by: Keith Packard <keithp@keithp.com>
10 months agodoc: Add EasyMega v3 to doc/specs.inc
Keith Packard [Mon, 5 Aug 2024 18:55:37 +0000 (11:55 -0700)]
doc: Add EasyMega v3 to doc/specs.inc

New IMU setup, otherwise the same

Signed-off-by: Keith Packard <keithp@keithp.com>
10 months agoAdd a note about specs.inc to Releasing
Keith Packard [Mon, 5 Aug 2024 18:54:52 +0000 (11:54 -0700)]
Add a note about specs.inc to Releasing

Yet another release process step we missed

Signed-off-by: Keith Packard <keithp@keithp.com>
10 months agoVersion 1.9.19
Keith Packard [Fri, 2 Aug 2024 15:58:44 +0000 (08:58 -0700)]
Version 1.9.19

Signed-off-by: Keith Packard <keithp@keithp.com>
10 months agoAdd easymega v3.0 firmware to fat images
Keith Packard [Fri, 2 Aug 2024 15:57:39 +0000 (08:57 -0700)]
Add easymega v3.0 firmware to fat images

Signed-off-by: Keith Packard <keithp@keithp.com>
10 months agodoc: Version 1.9.19 release notes
Keith Packard [Fri, 2 Aug 2024 15:53:56 +0000 (08:53 -0700)]
doc: Version 1.9.19 release notes

Signed-off-by: Keith Packard <keithp@keithp.com>
10 months agocapture link for EasyMini production scripts
Bdale Garbee [Fri, 2 Aug 2024 16:26:43 +0000 (10:26 -0600)]
capture link for EasyMini production scripts

10 months agoproduction bench scripts for EasyMega v3
Bdale Garbee [Fri, 2 Aug 2024 16:25:15 +0000 (10:25 -0600)]
production bench scripts for EasyMega v3

10 months agomake EasyMini v2.1 our "current" thing to flash/cal/test
Bdale Garbee [Wed, 29 May 2024 19:54:06 +0000 (13:54 -0600)]
make EasyMini v2.1 our "current" thing to flash/cal/test

10 months agoao-accel-cal: Validate ADXL375 sensitivity
Keith Packard [Wed, 31 Jul 2024 20:12:04 +0000 (13:12 -0700)]
ao-accel-cal: Validate ADXL375 sensitivity

If the accel device is an ADXL375, make sure the Z axis sensitivity is
within the data sheet range of 18.4 to 22.6 g. Allow for rounding as the
device only records the integer value (sigh).

Signed-off-by: Keith Packard <keithp@keithp.com>
10 months agosrc: Open up the ADXL375 self test range
Keith Packard [Wed, 31 Jul 2024 19:06:43 +0000 (12:06 -0700)]
src: Open up the ADXL375 self test range

Reading the datasheet more carefully, we discover that it mentions
that the self test magnitude can vary within a rather wide range.

Signed-off-by: Keith Packard <keithp@keithp.com>
10 months agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Wed, 31 Jul 2024 18:01:27 +0000 (12:01 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

10 months agoinclude EasyMega v3 firmware in that captured in LLC repo during release
Bdale Garbee [Wed, 31 Jul 2024 18:01:00 +0000 (12:01 -0600)]
include EasyMega v3 firmware in that captured in LLC repo during release

10 months agoao-bringup: Re-add cal-freq
Keith Packard [Sat, 27 Jul 2024 21:59:39 +0000 (14:59 -0700)]
ao-bringup: Re-add cal-freq

This got deleted by mistake

Signed-off-by: Keith Packard <keithp@keithp.com>
10 months agodoc: reflect move of mailing list from lists.gag.com to groups.io
Bdale Garbee [Tue, 16 Jul 2024 23:49:31 +0000 (17:49 -0600)]
doc: reflect move of mailing list from lists.gag.com to groups.io

10 months agodoc: EasyTimer v2.0 also has mag sensor
Bdale Garbee [Tue, 16 Jul 2024 23:44:51 +0000 (17:44 -0600)]
doc: EasyTimer v2.0 also has mag sensor

10 months agodocs: correct EasyMotor v3.0 battery in specs table
Bdale Garbee [Tue, 16 Jul 2024 23:41:32 +0000 (17:41 -0600)]
docs: correct EasyMotor v3.0 battery in specs table

11 months agodoc: clarify how EasyMotor gets put into idle mode
Bdale Garbee [Tue, 25 Jun 2024 18:11:31 +0000 (12:11 -0600)]
doc: clarify how EasyMotor gets put into idle mode

11 months agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Mon, 24 Jun 2024 15:03:17 +0000 (09:03 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

11 months agodoc: add Terry Lee's TRA and NAR numbers to TeleLaunch doc as his request
Bdale Garbee [Mon, 24 Jun 2024 15:02:46 +0000 (09:02 -0600)]
doc: add Terry Lee's TRA and NAR numbers to TeleLaunch doc as his request

11 months agoaltoslib: Check for negative tick wrap when importing flight records
Keith Packard [Thu, 20 Jun 2024 22:35:38 +0000 (15:35 -0700)]
altoslib: Check for negative tick wrap when importing flight records

If the tick count wraps just as boost is detected, there may be some
data records on the device with large tick values which are recorded
after the AO_FLIGHT record. Check for these in two places which manage
16-bit tick values by wrapping tick values to negative numbers in
those cases.

Signed-off-by: Keith Packard <keithp@keithp.com>
11 months agoaltosui: Don't add pyro table to graph UI when npyro == MISSING
Keith Packard [Thu, 20 Jun 2024 22:34:44 +0000 (15:34 -0700)]
altosui: Don't add pyro table to graph UI when npyro == MISSING

For some reason, npyro is set to MISSING in some flight records. Check
for that before adding pyro info.

Signed-off-by: Keith Packard <keithp@keithp.com>
11 months agotelelco-v3.0: Support ambient light sensor
Keith Packard [Thu, 20 Jun 2024 06:02:30 +0000 (23:02 -0700)]
telelco-v3.0: Support ambient light sensor

A TEPT5700 ALS and 15k resistor from 3.3V to ground hooked to ADC10 on
PC0.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 months agoaltos/telelco-v3.0: Merge info into one screen
Keith Packard [Wed, 12 Jun 2024 03:53:25 +0000 (20:53 -0700)]
altos/telelco-v3.0: Merge info into one screen

Move all of the info bits from separate screens to a single
screen. Eliminate the contrast screen, plan on eliminating the
backlight screen once we've switched to an ALS.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 months agoaltos/telelco-v3.0: Swap version and serial on info page
Keith Packard [Tue, 11 Jun 2024 23:26:16 +0000 (16:26 -0700)]
altos/telelco-v3.0: Swap version and serial on info page

Rationale is that model and sn are part of the hardware, version is
fw, call and freq are config.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 months agoaltos/telelco-v3.0: Display good vs bad packets received
Keith Packard [Mon, 10 Jun 2024 21:31:11 +0000 (14:31 -0700)]
altos/telelco-v3.0: Display good vs bad packets received

Signed-off-by: Keith Packard <keithp@keithp.com>
12 months agoaltos/telelco-v3.0: Add "Scanning..." to startup screen
Keith Packard [Mon, 10 Jun 2024 20:47:41 +0000 (13:47 -0700)]
altos/telelco-v3.0: Add "Scanning..." to startup screen

Make it clear what's going on. Had to shrink the logo to make room, so
switched from 26 to 24 point text.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 months agoaltos/telelco-v3.0: Delete debug code
Keith Packard [Mon, 10 Jun 2024 20:37:47 +0000 (13:37 -0700)]
altos/telelco-v3.0: Delete debug code

Remove the display debugging code which is no longer used.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 months agosrc/telelco-v3.0: Increase LED test time to 1 second
Keith Packard [Mon, 10 Jun 2024 20:31:05 +0000 (13:31 -0700)]
src/telelco-v3.0: Increase LED test time to 1 second

Make it possible to verify all LEDs active during testing.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 months agoaltos/easymega-v3.0: Add combined dfu and ihx targets
Keith Packard [Tue, 21 May 2024 04:22:33 +0000 (21:22 -0700)]
altos/easymega-v3.0: Add combined dfu and ihx targets

Build these for testing the boards at Seeed

Signed-off-by: Keith Packard <keithp@keithp.com>
13 months agoaltosui: Add config and pyro tabs to graph widget
Keith Packard [Sun, 12 May 2024 02:03:51 +0000 (19:03 -0700)]
altosui: Add config and pyro tabs to graph widget

Show the flight computer configuration in the graph when available.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 months agoaltos/test: Get the flight software test code working again
Keith Packard [Sun, 12 May 2024 00:52:20 +0000 (17:52 -0700)]
altos/test: Get the flight software test code working again

This had gotten very stale; much hacking was required. I know the
TeleMega v4 code works, other things "might". At least it seems to
build without errors?

Signed-off-by: Keith Packard <keithp@keithp.com>
13 months agofirst cut at turnon scripts for EasyTimer v2
Bdale Garbee [Mon, 29 Apr 2024 17:41:48 +0000 (11:41 -0600)]
first cut at turnon scripts for EasyTimer v2

13 months agoremove garbage line from easymotor turnon script
Bdale Garbee [Mon, 29 Apr 2024 17:20:53 +0000 (11:20 -0600)]
remove garbage line from easymotor turnon script

13 months agoaltos/easymini-v2.0: Remove combined .dfu file
Keith Packard [Mon, 29 Apr 2024 04:19:58 +0000 (21:19 -0700)]
altos/easymini-v2.0: Remove combined .dfu file

This is delivered to seeed for testing the hardware.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 months agocapture things learned during 1.9.18 release
Bdale Garbee [Mon, 29 Apr 2024 02:44:55 +0000 (20:44 -0600)]
capture things learned during 1.9.18 release

13 months agoVersion 1.9.18
Keith Packard [Sun, 28 Apr 2024 22:34:13 +0000 (15:34 -0700)]
Version 1.9.18

Signed-off-by: Keith Packard <keithp@keithp.com>
13 months agodoc: Add 1.9.18 release notes
Keith Packard [Sun, 28 Apr 2024 05:30:29 +0000 (22:30 -0700)]
doc: Add 1.9.18 release notes

Signed-off-by: Keith Packard <keithp@keithp.com>
13 months agoaltos/draw: Add 'install' target
Keith Packard [Mon, 29 Apr 2024 01:34:30 +0000 (18:34 -0700)]
altos/draw: Add 'install' target

Needed for building packages; install is a no-op in this directory.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 months agoFix up fat build target
Keith Packard [Sun, 28 Apr 2024 22:49:29 +0000 (15:49 -0700)]
Fix up fat build target

Depend on all-recursive so everything gets built before we attempt to
build the fat bits.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 months agoAdd EasyTimer v2 firmware
Keith Packard [Sun, 28 Apr 2024 22:33:30 +0000 (15:33 -0700)]
Add EasyTimer v2 firmware

Signed-off-by: Keith Packard <keithp@keithp.com>
13 months agoaltosui: Support gps receiver setting
Keith Packard [Wed, 3 Jan 2024 20:31:54 +0000 (12:31 -0800)]
altosui: Support gps receiver setting

Create a combo box listing the available receiver models and allow the
user to select which one to use, including the builtin one.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 months agoaltosui: Set the beeper to 0 to disable
Keith Packard [Wed, 3 Jan 2024 20:24:08 +0000 (12:24 -0800)]
altosui: Set the beeper to 0 to disable

Don't force the beeper to the default value when the frequency is set to 0.

Signed-off-by: Keith Packard <keithp@keithp.com>
13 months agoaltos/test: Add FEC test for simple 'hello' message
Keith Packard [Fri, 19 Apr 2024 21:07:50 +0000 (14:07 -0700)]
altos/test: Add FEC test for simple 'hello' message

This just tests the FEC code using a slightly different data source
that makes sure odd lengths work correctly.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 months agoaltos/test: Adjust CRC error rate after FEC fix
Keith Packard [Thu, 28 Mar 2024 16:45:38 +0000 (09:45 -0700)]
altos/test: Adjust CRC error rate after FEC fix

The number of CRC failures during FEC testing is lower now that
the packet length bug has been fixed in the FEC encode bits.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 months agoaltos: ao_fec_prepare using wrong value for input len
Keith Packard [Wed, 27 Mar 2024 04:38:48 +0000 (21:38 -0700)]
altos: ao_fec_prepare using wrong value for input len

The FEC code always sends a multiple of four bytes, padding by two
bytes for even inputs and one byte for odd. But the preparation step
was using the wrong value for the length, so the output was getting
mangled.

Signed-off-by: Keith Packard <keithp@keithp.com>
15 months agoaltos/easytimer-v2: Generate combined .ihx file for seeed testing
Keith Packard [Mon, 4 Mar 2024 00:37:09 +0000 (16:37 -0800)]
altos/easytimer-v2: Generate combined .ihx file for seeed testing

The test plan for seeed requires a combined loader and firmware image
for a single flashing step.

Signed-off-by: Keith Packard <keithp@keithp.com>
15 months agoaltos/stm32f1: Grab both TX/RX DMA mutexes while doing I2C
Keith Packard [Sat, 2 Mar 2024 23:23:57 +0000 (16:23 -0700)]
altos/stm32f1: Grab both TX/RX DMA mutexes while doing I2C

The I2C engine appears to trigger an extra RX DMA transaction which
scrambles anything sharing the same DMA units.

Signed-off-by: Keith Packard <keithp@keithp.com>
15 months agoaltos/easymega-v3.0: Update i2c pin usage
Keith Packard [Sat, 24 Feb 2024 20:46:17 +0000 (12:46 -0800)]
altos/easymega-v3.0: Update i2c pin usage

Found an errata which means we had to swap which i2c to use with the
mag sensor. Swap the mag sensor and fire_c/fire_d.

Signed-off-by: Keith Packard <keithp@keithp.com>