Joey Castillo
73aac153e2
note for future testing
2025-03-08 17:18:16 -05:00
Joey Castillo
138e91c6ef
display glass autodetection
2025-03-08 13:43:11 -05:00
joeycastillo
b00faa2b03
accelerometer: new hardware swaps interrupt wiring
2024-11-18 21:39:12 -05:00
joeycastillo
83c7f18dd0
use char instead of uint8_t to match gossamer API
2024-10-27 14:27:55 -04:00
joeycastillo
1e359c0f7c
classic LCD was looking a bit dim
2024-10-19 15:43:53 -04:00
joeycastillo
19376625d1
more accelerometer work
2024-10-19 12:35:46 -04:00
joeycastillo
bc4c3cbd38
use gossamer 0.0.1
2024-10-14 21:19:09 -04:00
joeycastillo
4795818098
only build sensor features if sensor is available
2024-10-12 11:16:01 -04:00
joeycastillo
c238511795
refactor watch I2C for gossamer
2024-10-08 22:44:08 -04:00
joeycastillo
4f297932ac
refactor watch SPI for gossamer
2024-10-08 22:44:08 -04:00
joeycastillo
cdcb612432
refactor watch UART for gossamer
2024-10-08 22:38:11 -04:00
joeycastillo
42871ad951
clear all of seconds display when going to sleep
2024-10-06 12:01:41 -04:00
joeycastillo
997f091c16
use updated gossamer typedefs
2024-10-05 10:36:58 -04:00
joeycastillo
e5b458fe3b
blink colon when clock is in sleep mode (custom LCD only)
2024-09-29 15:49:51 -04:00
joeycastillo
4b8b092594
tick_animation is now sleep_animation (which just displays an indicator on new LCD)
2024-09-29 15:24:43 -04:00
joeycastillo
3795b8494a
support new sleep indicator
2024-09-29 15:24:43 -04:00
joeycastillo
e2ac434c3b
move buzzer sequence timing to TC0
2024-09-29 12:43:12 -04:00
joeycastillo
e4db48281d
lol, GCLK3 is 1024 Hz in gossamer
2024-09-29 12:27:20 -04:00
joeycastillo
38f68fd165
clock SLCD frame counters from external crystal for more accurate tick/tock animation
2024-09-29 11:25:49 -04:00
joeycastillo
2ac3a1db2f
fix sleep mode animation
2024-09-29 11:14:26 -04:00
joeycastillo
e8cedeac6c
rename enum, rearrange watch_tcc.h
2024-09-22 14:26:49 -04:00
joeycastillo
2e738db673
add buzzer volume control
2024-09-22 13:34:46 -04:00
joeycastillo
dbf31b4e28
new name for irq handlers
2024-09-18 21:28:55 -04:00
joeycastillo
24598ec280
restore buzzer sequence functionality
2024-09-18 18:21:35 -04:00
joeycastillo
66f7a8802e
remove dependency on Atmel HRI in storage module
2024-09-18 17:44:14 -04:00
joeycastillo
d0ca6a025a
bring in deep sleep / external wake functions
2024-09-18 17:37:20 -04:00
joeycastillo
c02c89c880
clean up location of buzzer functions, notes
2024-09-18 17:25:41 -04:00
joeycastillo
422cea8ff6
simpler USB CDC with gossamer / yield (no need for TC0/TC1)
2024-09-18 17:14:06 -04:00
joeycastillo
da11c14684
use gossamer GPIO calls here
2024-09-18 17:13:11 -04:00
joeycastillo
2bbd78a99d
remove ASF calls for TRNG
2024-09-18 17:09:20 -04:00
joeycastillo
7ee3eeac49
clean up location of some private functions
2024-09-18 17:05:10 -04:00
joeycastillo
6706452353
port ADC functions to gossamer
2024-09-18 16:10:12 -04:00
joeycastillo
9e32cbc523
port SLCD to gossamer, add new string display options
2024-09-18 16:04:55 -04:00
joeycastillo
ac88e2de8c
port external interrupts to gossamer framework
2024-09-18 15:29:31 -04:00
joeycastillo
29d6ce42f1
bring in RTC functionality
2024-09-18 15:06:38 -04:00
joeycastillo
0585a1d0d8
consolidate buzzer and LED into TCC file
2024-09-18 14:53:46 -04:00
joeycastillo
29f020e207
port buzzer and LED functions to gossamer framework
2024-09-18 14:47:53 -04:00
joeycastillo
5ba64844e2
port GPIO functions to new framework
2024-09-18 14:33:07 -04:00
joeycastillo
02f7469400
remove ASF code, config
2024-09-18 13:56:49 -04:00
Joseph Bryant
cae5d8a33f
wait for RTC SYNCBUSY in watch_register_extwake_callback
2024-08-30 16:20:32 -03:00
Jose Castillo
d98d14d236
Add support for Sensor Watch Pro ( #412 )
...
* Sensor Watch Pro board definition
* Disable hot-plugging on SWCLK
* Add rainbow test
* Move interrupt mapping to board config
* New color definition for Pro boards in makefile
2024-07-06 11:07:02 -04:00
joeycastillo
89a2af92ef
silence warnings
2024-07-06 08:52:41 -04:00
Matheus Afonso Martins Moreira
35c0a4be87
Merge branch 'usb-improvements' into advanced
...
- Change newline prints to also send carriage return
- Introduce shell module for serial shell with argument parsing
- Introduce shell command list for compile time command registration
- Refactor file system commands for shell subsystem
- Introduce new shell commands:
- 'help' command
- 'flash' command to reset into bootloader
- 'stress' tests CDC serial writes of various lengths
- optional delay parameter
- Harden USB handling
- Hangs less
- Drops fewer inputs
- Circular buffers for both reads and writes
Reported-by: Edward Shin <contact@edwardsh.in>
Tested-by: Edward Shin <contact@edwardsh.in>
Tested-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Tested-on-hardware-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Reviewed-by: James Haggerty <james@gruemail.com>
Reviewed-by: Wesley Aptekar-Cassels <me@wesleyac.com>
Reviewed-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Signed-off-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/344
2024-03-08 06:51:34 -03:00
Matheus Afonso Martins Moreira
592e18bf0e
Merge branch 'silicon-errata' into advanced
...
Implements the recommended workarounds for numerous silicon errata,
reducing power consumption and preventing freezes and hard faults.
Tested-by: Alex Maestas <git@se30.xyz>
Tested-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Tested-on-hardware-by: Alex Maestas <git@se30.xyz>
Tested-on-hardware-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Reviewed-by: Wesley Aptekar-Cassels <me@wesleyac.com>
Reviewed-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Signed-off-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/340
GitHub-Related-Issue: https://github.com/joeycastillo/Sensor-Watch/issues/361
GitHub-Related-Issue: https://github.com/joeycastillo/Sensor-Watch/issues/359
Reference: https://ww1.microchip.com/downloads/aemDocuments/documents/MCU32/ProductDocuments/Errata/SAM-L22-Family-Silicon-Errata-and-Data-Sheet-Clarification-DS80000782.pdf
2024-03-08 06:50:16 -03:00
Alex Maestas
a2a60eb31a
annotate SLEEPCFG-register detail
2024-01-22 00:39:20 +00:00
Alex Maestas
af49d3cfcb
annotate voltage regulation erratum
2024-01-22 00:39:20 +00:00
Alex Maestas
2ae8f9863b
annotate SysTick erratum
2024-01-22 00:39:20 +00:00
Alex Maestas
83a0e4e992
annotate TRNG erratum, address review comment
2024-01-22 00:39:18 +00:00
Wesley Aptekar-Cassels
50dccd07d3
buzzer: fix simulator build, refactor sequence_length.
2024-01-09 16:22:21 -05:00
Wesley Aptekar-Cassels
e9fe4aeefe
Enable custom signal tones in LE mode.
...
This makes movement_play_signal synchronous when in LE mode, despite
using the underlying asynchronous API. It's a bit of a hack, but it
should work well enough for now.
This also moves the enabling/disabling of the buzzer into the
movement_play_signal function, so that watch faces no longer have to do
it.
2024-01-09 16:22:21 -05:00