jun2sak
2795c002ad
disable QSPI while system ON idle loop.
2021-03-07 19:14:04 +09:00
jun2sak
cd5c0e99f7
Clean up.
2021-03-07 19:09:01 +09:00
jun2sak
3fab9f8b1b
new wait-until-alarm design, don't use System OFF.
2021-03-07 01:09:54 +09: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
jun2sak
9b34726c0d
GPIO and GPIOTE reg dump for debug.
2021-02-28 15:36:14 +09: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
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
72b5f1a9a6
clean up my personal settings.
2021-02-25 01:38:23 +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
372c98626a
move all the debug codes from port.c to debug_uart.c.
2021-02-23 11:56:40 +09:00
jun2sak
9df0f439f3
alarm/pin/__init__.c is no longer used.
2021-02-23 10:31:49 +09:00
jun2sak
5c858a1925
add weak board_deinit().
2021-02-21 16:27:21 +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
d659c2ce34
move port-specific debug functions from supervisor/shared/serial.c to ports/nrf/supervisor/port.c
2021-02-21 09:55:10 +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
Dan Halbert
cf3217e6d4
Merge pull request #4232 from TG-Techie/fix_tg_watch
...
fix TG-Watch ble issue
2021-02-20 18:10:52 -05:00
Jonah Yolles-Murphy
a9a2145238
fix TG-Watch ble issue
2021-02-20 15:46:33 -05:00
jun2sak
26f8f532f1
safe mode fix.
2021-02-21 00:47:07 +09:00
Dan Halbert
985e020936
shrink simmel build
2021-02-19 18:41:27 -05:00
Dan Halbert
67406488d1
merge from upstream; re-alphabetize
2021-02-19 14:22:50 -05:00
Jeff Epler
1cd4e4552e
Merge pull request #4219 from jepler/bit_transpose
...
Add Bit transpose function to support piopixl8
2021-02-18 20:29:05 -06:00
Jeff Epler
7fd4567893
bitops: rename from _bit_transpose, describe the algorithm
2021-02-18 15:41:23 -06:00
Lucian Copeland
0ecb24c3e5
Merge pull request #4169 from hierophect/stm32-i2cstart
...
STM32: Fix I2C repeated start by converting to IT mode
2021-02-18 15:19:00 -05:00
Dan Halbert
e344c6d684
fix some builds
2021-02-18 14:24:58 -05:00
Jeff Epler
9cf7d73c6c
core: add bit_transpose function
...
.. this version can only handle exactly 8 bits "across". The restriction
may be relaxed in a future revision.
2021-02-18 11:32:47 -06:00
Dan Halbert
5c37b73c6d
fix typo to fix nrf builds
2021-02-18 11:09:32 -05:00
Jeff Epler
ab5eb86118
raspberrypi: implement os.urandom
...
Since the datasheet cast some doubt on the strength of the "rosc_hw->randombit",
I use the SHA256 hash function to create a high quality random seed
from random values of uncertain entropy, as well as to generate a sequence
of random values from that seed using SHA256 as a cryptographically-secure
random number generator.
In practice, it produces over 100kB/s of random data which does not
have any gross problems according to _PractRand_.
2021-02-17 17:49:25 -06: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
Scott Shawcroft
261b077209
Merge pull request #4192 from dhalbert/pico-pwmout-top-fix-4189
...
RP2040: fix off-by-one PWM top issue
2021-02-16 17:38:09 -08:00
Dan Halbert
c26de0136a
works! no timeouts
2021-02-16 17:39:36 -05:00
Dan Halbert
0b8f1b9a90
wip: usb_cdc.serials
2021-02-15 20:06:18 -05:00
Dan Halbert
93d788543c
Merge remote-tracking branch 'adafruit/main' into secondary-cdc
2021-02-15 20:03:53 -05:00
Lucian Copeland
6d5ffc677b
is_free should not check never_reset
2021-02-15 10:29:05 -05:00
Dan Halbert
0ec99b37e0
handle 100% duty cycle; improve actual_frequency calc
2021-02-13 13:16:49 -05:00
Dan Halbert
d54b5861a3
wip
2021-02-12 19:01:14 -05:00
Dan Halbert
3e4328140c
fix off-by-one PWM top issue
2021-02-12 15:53:31 -05:00