Lucian Copeland
15764b4c24
Merge remote-tracking branch 'upstream/main' into nrf52-sleep
2021-04-09 13:48:45 -04:00
Dan Halbert
1b60c9d033
Merge pull request #4580 from jepler/incrementalencoder-refactor
...
IncrementalEncoder: factor out the quadrature state machine
2021-04-09 13:10:02 -04:00
Dan Halbert
61e33a5619
fix nrf ISR; make direction consistent across ports; save code size
2021-04-09 11:07:47 -04:00
Dan Halbert
72055ff02b
Merge pull request #4578 from tannewt/packetbuffer_lengths
...
Improve PacketBuffer lengths and remove packet_size
2021-04-08 18:55:24 -04:00
Jeff Epler
d69ca4a8ae
nrf: switch to shared softencoder implementation
2021-04-08 16:36:10 -05:00
Scott Shawcroft
e3b3f97fa6
Improve PacketBuffer packet lengths for remote service
2021-04-08 13:25:11 -07:00
Jonny Bergdahl
1afd204828
Changed error message to display the generic term 'system firmware' instead of the Nordic specific term 'soft device'
2021-04-02 20:34:37 +02:00
Scott Shawcroft
58835e5a5b
Two small PacketBuffer fixes
...
1. Allow for ctrl-c during a write.
2. Handle disconnects when acting as a client.
2021-04-01 14:16:35 -07:00
Scott Shawcroft
0752bbd5fd
Fix central pairing and crash on clear
...
The list_clear would crash if we tried to clear a NULL list. (It
can happen if we haven't tried to discover any services.)
2021-03-31 16:04:04 -07:00
gamblor21
0890b54cd9
More formatting
2021-03-16 08:29:04 -05:00
gamblor21
fb437d8280
Formatting fixes
2021-03-16 08:22:02 -05:00
Mark
e326d7ca80
Merge branch 'main' into rp_dp_parallel
2021-03-15 20:00:13 -05:00
microDev
a52eb88031
run code formatting script
2021-03-15 19:27:36 +05:30
gamblor21
56a219911f
Add frequency support to parallel bus
2021-03-11 19:32:43 -06:00
jun2sak
c8f36e604c
reset myself, not go REPL, after wakeup from deep sleep.
2021-03-09 00:42:22 +09:00
jun2sak
51c7a49853
Merge branch 'main' into nrf52-sleep
2021-03-07 20:50:53 +09:00
jun2sak
2eed9a1735
old System OFF sleep code for future reference.
2021-03-07 20:21:33 +09:00
jun2sak
2795c002ad
disable QSPI while system ON idle loop.
2021-03-07 19:14:04 +09:00
jun2sak
3fab9f8b1b
new wait-until-alarm design, don't use System OFF.
2021-03-07 01:09:54 +09:00
Artyom Skrobov
e0b96c0f43
[nrf] No need to store buffer_length
as part of audiopwmio_pwmaudioout_obj_t
2021-03-05 06:01:58 -05:00
Jeff Epler
238484ec26
Merge remote-tracking branch 'origin/main' into update-protomatter-rp2
2021-03-01 15:18:32 -06:00
jun2sak
7cecd99658
remove unused debug printf's.
2021-02-28 16:04:29 +09:00
jun2sak
3e47e00291
address the pretending-to-deep-sleep issue.
2021-02-28 15:57:37 +09:00
jun2sak
498debc826
remove unused debug printf's.
2021-02-28 15:37:25 +09:00
Jeff Epler
1d1ff5f308
Merge remote-tracking branch 'origin/main' into update-protomatter-rp2
2021-02-26 09:56:35 -06:00
Scott Shawcroft
3f08cb47b8
Merge remote-tracking branch 'adafruit/main' into busio-uart-rp
2021-02-25 16:59:15 -08:00
jun2sak
0f8c96f424
remove trailing whitespaces.
2021-02-26 09:11:35 +09:00
jun2sak
7fd4648cd5
rase error if Alarm time >= 512 sec.
2021-02-26 09:06:11 +09:00
jun2sak
277a67d876
call touchalarm funcs as well as pin/timealarm.
2021-02-26 08:11:50 +09:00
jun2sak
2aa5aec0d5
cleanup.
2021-02-26 01:45:12 +09:00
jun2sak
c713d31d0d
move externs to .h
2021-02-26 01:20:55 +09:00
jun2sak
c86ca2a4ff
move externs to .h
2021-02-26 00:51:52 +09:00
jun2sak
9328d09a7a
re-enable parameters check.
2021-02-26 00:50:44 +09:00
jun2sak
61a69daae1
raise NotImplementedError when construct TouchAlarm.
2021-02-25 08:19:03 +09:00
microDev
5d7fdafcde
implement suggested changes
...
- add internal buffering
- rtc initialization fix
2021-02-25 00:48:36 +05:30
jun2sak
f66896ce32
use nRF SDK function to set up memory retention.
2021-02-25 02:34:43 +09:00
jun2sak
9661d67cd3
replace MY_DEBUG_UART -> NRF_DEBUG_PRINT.
2021-02-25 01:49:57 +09:00
jun2sak
0f188befb6
set RAM retention just before deep sleep
2021-02-24 00:12:25 +09:00
jun2sak
ec64fa6a29
move dump_xxx functions to debug_uart.c.
2021-02-23 12:16:37 +09:00
jun2sak
9df0f439f3
alarm/pin/__init__.c is no longer used.
2021-02-23 10:31:49 +09:00
jun2sak
1da8b9900a
Merge branch 'main' into nrf52-sleep
2021-02-21 13:35:06 +09:00
jun2sak
36c59250dd
some cleanups.
2021-02-21 09:57:14 +09:00
jun2sak
793198909e
set SleepMemory size to 256 bytes.
2021-02-21 08:19:39 +09:00
jun2sak
41d9d4e0ab
call sd API only when sd enabled.
2021-02-21 08:17:57 +09:00
jun2sak
26f8f532f1
safe mode fix.
2021-02-21 00:47:07 +09:00
Dan Halbert
5c37b73c6d
fix typo to fix nrf builds
2021-02-18 11:09:32 -05:00
jun2sak
cf2427c561
light sleep reason fix.
2021-02-17 21:51:28 +09:00
jun2sak
e6350ff834
Initial commit.
2021-02-17 20:53:18 +09:00
Dan Halbert
d54b5861a3
wip
2021-02-12 19:01:14 -05:00
Jeff Epler
ff1942cff6
Enable protomatter on RP2040 builds
...
Also found a race condition between timer_disable and redraw, which
would happen if I debugger-paused inside common_hal_rgbmatrix_timer_disable
or put a delay or print inside it. That's what pausing inside reconstruct
fixes.
So that the "right timer" can be chosen, `timer_allocate` now gets the `self`
pointer. It's guaranteed at this point that the pin information is accurate,
so you can e.g., find a PWM unit related to the pins themselves.
This required touching each port to add the parameter even though it's
unused everywhere but raspberrypi.
2021-02-12 08:25:15 -06:00