Commit Graph

268 Commits

Author SHA1 Message Date
mitxela
16edb66444 Add cad files for wall hangers 2025-05-21 12:49:25 +01:00
mitxela
7c9b9b6f0e lasercut files update for easier tiling 2025-05-21 12:24:08 +01:00
mitxela
c46e7cc803 Add moshidraw file for hinge (convert to DXF or SVG later) 2025-05-21 12:23:17 +01:00
mitxela
2dd441d178 make colon cover a teeny bit taller 2025-05-21 12:07:35 +01:00
mitxela
4c8d2fa190 add side cutouts to colons for better pliability 2025-05-21 12:06:07 +01:00
mitxela
fb0785b312 flat-top LEDs have 3.15 dia 2025-05-21 12:04:07 +01:00
mitxela
ed93d83036 commit STL files 2025-05-21 12:02:56 +01:00
mitxela
65bb96ff6f cad updates from 2023-06-15 2025-05-21 11:52:47 +01:00
mitxela
30425af408 start adding cad files to this repo 2025-05-21 11:37:13 +01:00
mitxela
8e4d62cca4 Don't track these IDE files that keep changing 2024-10-22 11:17:51 +01:00
mitxela
29691bc5bc Add known firmware images to repo (2024-05-29) 2024-10-22 11:09:33 +01:00
mitxela
9007c9be64 Config file defaults, most modes off 2024-06-27 10:59:05 +01:00
mitxela
0d7561f1ab IDE settings (unsure what changed) 2024-06-27 10:31:14 +01:00
mitxela
e380791170 slightly smaller hammer (re: b91a100) 2024-06-27 10:29:33 +01:00
mitxela
b91a1004f9 sledgehammer to prevent -Os trashing launch_app() 2024-06-27 10:21:34 +01:00
mitxela
3a3db5b583 suppress maybe-uninitialised warning 2024-06-27 10:20:54 +01:00
mitxela
c110cc0b47 Pad bootloader to exactly 64K 2024-06-27 10:20:14 +01:00
mitxela
5c84802a9e Bootloader version string 2024-06-26 09:34:19 +01:00
mitxela
7b388bc2b6 env hash stuff - should probably ignore these files 2024-06-26 09:33:34 +01:00
mitxela
ea364d761a partial changes to bootloader - unfinished
f_mount doesn't actually do anything until first read (unless forced) so it's not really possible to error out at the mount stage, but we don't want any possible way to hang without enabling usb
2023-08-25 13:40:06 +01:00
mitxela
12565ff862 Clear colons in bootloader
They are off when tristated too but need to be explicitly high to remain off on the xl
2023-07-27 13:20:23 +01:00
mitxela
a11f54b005 and volatile again in the bootloader
This was working without it, so the fix is hypothetical. Might be because bootloader is -Os and time is -O3
2023-07-26 12:33:27 +01:00
mitxela
344aa32ddd another volatile optimisation victim 2023-07-25 23:12:37 +01:00
mitxela
2510c85b26 set volume label to CLOCK 2023-07-25 11:47:03 +01:00
mitxela
99af17dd31 blank date when updating on eject 2023-07-24 16:02:58 +01:00
mitxela
ce4fd5172f delay setDisplayFrequency if needed 2023-07-24 15:24:12 +01:00
mitxela
a9490dbee4 Don't write RTC during USB read/writes, pendSV could be delayed 2023-07-24 13:34:06 +01:00
mitxela
cc5e7114b8 fix countdown mode entering/exiting 2023-07-24 13:32:20 +01:00
mitxela
2a04bc99a1 Replace delayedButtonPress with resendDate
Not sure if this is better than the alternative, that is to delay CDC commands and reloaded config too.
Todo: countdown mode fixes
2023-07-23 16:50:37 +01:00
mitxela
95c0565fab Measure lookup time macro
Takes 3x longer if launched via swd instead of bootloader. QSPI quad read seems to make it slower. Definitely something odd going on
2023-07-21 16:25:53 +01:00
mitxela
becf0d46e0 possible compiler optimisation problems 2023-07-20 13:21:46 +01:00
mitxela
594e1b9eab enable config mtime checking
ftime field has a resolution of 2 seconds, so fast changes can be missed.
But this has the benefit of not wiping out CDC config when the OS does random other writes we might not have supressed (system volume information, DS_Store, etc)
2023-07-20 12:37:11 +01:00
mitxela
d8c9b44fdd remount filesystem, skip config mtime check
The remount does fix some occasional fs problems, which seems to just be stale data in fatfs window. This can be invalidated by doing USERFatFS.winsect = -1 but safest to remount properly.

The config ftime still sometimes misses changes if they're in quick succession. This might even be the OS not updating the value, or the low resolution (to the second). But realistically the config file is normally the only thing that gets changed so I don't think always reloading it is a problem.
2023-07-20 12:13:02 +01:00
mitxela
ebb289d45b manually manage Etc/ zones again 2023-07-19 19:07:21 +01:00
mitxela
178902484a zonedetect backoff on usb read too 2023-07-19 17:35:08 +01:00
mitxela
c47fc80298 Only zonedetect once per nmea 2023-07-19 17:00:33 +01:00
mitxela
020e238cf1 Priority rewrite, avoid f_read in usb context 2023-07-19 14:38:01 +01:00
mitxela
4ffda1f694 more typos 2023-07-16 12:44:43 +01:00
mitxela
a5fd433008 Typo 2023-07-16 12:17:03 +01:00
mitxela
efaaeccaf8 dos2unix generate-tzrules.py 2023-07-16 11:11:08 +01:00
mitxela
a19edcff59 Fix tzrules for zone names out of order 2023-07-16 11:09:13 +01:00
mitxela
76aa45bc56 single script for flashing and creating disk image 2023-07-16 01:09:59 +01:00
mitxela
22d4786303 mount as loop device is auto determined 2023-07-16 00:35:03 +01:00
mitxela
5178bd2fbb create dummy 'system volume information' 2023-07-16 00:22:55 +01:00
mitxela
6bb1147673 Set qspi_write_time even if write fails 2023-07-16 00:20:28 +01:00
mitxela
f5f3557090 Only reload config if modified 2023-07-16 00:19:55 +01:00
mitxela
223fdfaa50 update config template 2023-07-16 00:19:17 +01:00
mitxela
f5695408e2 Accept fake long/lat from config 2023-07-15 15:45:31 +01:00
mitxela
6b8c6ab69f day-of-week mode for no reason 2023-07-15 11:56:33 +01:00
mitxela
a24fdcc8bb if rtc valid but no tzrules file, copy out rtc rules string too 2023-07-14 16:10:37 +01:00