Commit Graph

284 Commits

Author SHA1 Message Date
mitxela
529555730a Bootloader updates to explicitly protect the stack
Using both noreturn and __builting_unreachable() is superfluous but hopefully makes it twice as unlikely to optimise the jump into a tail call. Not sure if this is better than -O0 but hopefully makes some people less unhappy.
2025-07-31 11:20:20 +01:00
mitxela
fa71140552 add physical dimensions to hinge svg 2025-07-31 10:47:49 +01:00
mitxela
0d76b0f078 generate either version in openscad 2025-07-31 10:26:48 +01:00
mitxela
f2cc1f54ab cad for vtt9812fh 2025-07-25 11:03:43 +01:00
mitxela
eca890e2b2 a dubiously helpful overlay for brightness curve 2025-07-18 12:20:23 +01:00
mitxela
fd62ade91b method to convert a bunch of brightness values 2025-07-18 12:01:34 +01:00
mitxela
4fb73649ea basic support for touchscreen devices 2025-07-12 23:21:57 +01:00
mitxela
3bc2ccb08b allow pasting in brightness curve values 2025-07-12 22:30:21 +01:00
mitxela
90ac0fc267 generate binary files 2025-07-04 17:43:42 +01:00
mitxela
8ce8a867d1 compatibility with toolchain 12.3.rel1 2025-07-04 17:42:04 +01:00
mitxela
715e8b338d Ignore env hashes using clean/smudge filter
Add following to .git/config:

[filter "eclipse_env_hash"]
	clean = sed 's/env-hash=\"[-,0-9]*\"/env-hash=\"0000000000000000000\"/g'
	smudge = cat
2025-07-04 17:25:38 +01:00
mitxela
2571e62078 Revert "Don't track these IDE files that keep changing"
This reverts commit 8e4d62cca4.
2025-07-04 17:08:06 +01:00
mitxela
7a0fc54fa8 add shelfstand cad files 2025-06-29 18:19:36 +01:00
mitxela
a1e8af3cf9 Add handcrafted SVG version of moshidraw hinge 2025-06-29 17:58:50 +01:00
mitxela
122e601da9 add readme 2025-05-25 12:36:35 +01:00
mitxela
4ce85147f0 CAD files for antenna case
Specifically for the patch antenna with SMA connector crimped as close as possible. Top half (caset.stl) needs to be printed upside down with support for the cable shroud. Last modified 2023-04-19
2025-05-21 12:56:06 +01:00
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