git.gag.com Git - fw/altos/atom - src historyAltOS - the operating system for Altus Metrum productshttps://git.gag.com/?p=fw/altosKeith Packardstatic/git-favicon.pngstatic/git-logo.png2024-03-04T00:37:09Zgitwebaltos/easytimer-v2: Generate combined .ihx file for seeed testing2024-03-04T00:37:09ZKeith Packardkeithp@keithp.comKeith Packardkeithp@keithp.com2024-03-04T00:37:09Zhttps://git.gag.com/?p=fw/altos;a=commitdiff;h=d7a91278051ff75e3edc3e999a6d8096fa4deec4
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>
altos/stm32f1: Grab both TX/RX DMA mutexes while doing I2C2024-03-02T23:23:57ZKeith Packardkeithp@keithp.comKeith Packardkeithp@keithp.com2024-03-02T23:23:57Zhttps://git.gag.com/?p=fw/altos;a=commitdiff;h=a017cfce31429ef25a53a724e99b53c8267ec4ef
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>
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>
src/easymini-2.0: Add combined .dfu file for Seeed testing2024-02-13T06:58:45ZKeith Packardkeithp@keithp.comKeith Packardkeithp@keithp.com2024-02-13T06:58:45Zhttps://git.gag.com/?p=fw/altos;a=commitdiff;h=4da8e047c4df06a0fec2c0cd47d26d5f1bef0e31
src/easymini-2.0: Add combined .dfu file for Seeed testing
Provide a combined .dfu for testing EasyMini at Seeed. This
checks the baro sensor (via POST) and SoC.
Signed-off-by: Keith Packard <keithp@keithp.com>
stm32f1: Clean up some ADC definitions2024-02-03T00:31:03ZKeith Packardkeithp@keithp.comKeith Packardkeithp@keithp.com2024-02-03T00:31:03Zhttps://git.gag.com/?p=fw/altos;a=commitdiff;h=94445131d0be72f099985709dda4203259b1d947
stm32f1: Clean up some ADC definitions
The CR2 bit is called TSVREFE in the docs, use that consistently
Signed-off-by: Keith Packard <keithp@keithp.com>
altos/easytimer-v2: Set default log size to 192kB2024-01-30T02:40:06ZKeith Packardkeithp@keithp.comKeith Packardkeithp@keithp.com2024-01-30T02:40:06Zhttps://git.gag.com/?p=fw/altos;a=commitdiff;h=9419cf4f22e5cd337da54d7907fc0a5e848bd464
altos/easytimer-v2: Set default log size to 192kB
This leaves space for 4 flights.
Signed-off-by: Keith Packard <keithp@keithp.com>
altos/telelco-v3: Minor UI tweaks2024-01-29T05:14:06ZKeith Packardkeithp@keithp.comKeith Packardkeithp@keithp.com2024-01-29T05:14:06Zhttps://git.gag.com/?p=fw/altos;a=commitdiff;h=a148876e36bc3f84f11fdac57a9f69171e30c058
altos/telelco-v3: Minor UI tweaks
"Box"→"Bank" to match docs.
Auto-center text instead of pre-computing. Way easier.
Scroll found banks during startup.
Signed-off-by: Keith Packard <keithp@keithp.com>
altos/st7565: Set default contrast to 132024-01-28T08:17:27ZKeith Packardkeithp@keithp.comKeith Packardkeithp@keithp.com2024-01-28T08:17:27Zhttps://git.gag.com/?p=fw/altos;a=commitdiff;h=7977ff5291c6161d37b7c1b1548258df2e58c09e
altos/st7565: Set default contrast to 13
This seems slightly better than 16. Might need to actually keep this
in config space.
Signed-off-by: Keith Packard <keithp@keithp.com>
altos/stm32f1: Set beeper pin to 0 while off2024-01-28T07:47:45ZKeith Packardkeithp@keithp.comKeith Packardkeithp@keithp.com2024-01-28T07:47:45Zhttps://git.gag.com/?p=fw/altos;a=commitdiff;h=43d1cfd0d1458c2d4c333155902be28bfe17b6ee
altos/stm32f1: Set beeper pin to 0 while off
Make sure we don't let the timer leave it sitting high; the
magnetic beepers probably don't do the right thing in that case.
Signed-off-by: Keith Packard <keithp@keithp.com>
altos/telelco-v3.0: Show backlight/contrast value as percent2024-01-28T07:13:17ZKeith Packardkeithp@keithp.comKeith Packardkeithp@keithp.com2024-01-28T07:13:17Zhttps://git.gag.com/?p=fw/altos;a=commitdiff;h=323a6a44083f865c90c12e93775ac2dbf9352de3
altos/telelco-v3.0: Show backlight/contrast value as percent
Provide a bit more feedback about the setting.
Signed-off-by: Keith Packard <keithp@keithp.com>
altos/st7565: Diff image during update2024-01-28T07:12:05ZKeith Packardkeithp@keithp.comKeith Packardkeithp@keithp.com2024-01-28T07:12:05Zhttps://git.gag.com/?p=fw/altos;a=commitdiff;h=efe964558805a18f070f405377ef0f437ccce237
altos/st7565: Diff image during update
This minimizes the amount of data sent to the device. Mostly this is
useful to skip updates that don't change the display at all.
Signed-off-by: Keith Packard <keithp@keithp.com>
altos/telelco: Update backlight/contrast display upon change2024-01-28T07:11:15ZKeith Packardkeithp@keithp.comKeith Packardkeithp@keithp.com2024-01-28T07:11:15Zhttps://git.gag.com/?p=fw/altos;a=commitdiff;h=bf7d2aaccd41837dd2e032023107616266e22a6d
altos/telelco: Update backlight/contrast display upon change
Don't wait for the 1-second poll interval.
Signed-off-by: Keith Packard <keithp@keithp.com>
altos/draw: Add ao_text_width
Computes the total advance of the given string, not the width of the
resulting ink.
Signed-off-by: Keith Packard <keithp@keithp.com>
altos/telelco-v3: Add logo to 'info' page2024-01-28T06:03:00ZKeith Packardkeithp@keithp.comKeith Packardkeithp@keithp.com2024-01-28T06:03:00Zhttps://git.gag.com/?p=fw/altos;a=commitdiff;h=f9103d13f620cb06642aacdff9dcaf05e87d671f
altos/telelco-v3: Add logo to 'info' page
Make the info page a bit more fun
Signed-off-by: Keith Packard <keithp@keithp.com>