Jeff Epler
e066448e36
atmel-samd: add same51, feather_m4_can
...
This is compile-tested, and requires updates in the related submodules:
https://github.com/adafruit/samd-peripherals/pull/35
https://github.com/adafruit/asf4/pull/37
This should not be merged until those can also be merged.
2020-09-08 13:06:45 -05:00
Scott Shawcroft
6857f98426
Split pulseio.PWMOut into pwmio
...
This gives us better granularity when implementing new ports because
PWMOut is commonly implemented before PulseIn and PulseOut.
Fixes #3211
2020-08-18 13:08:33 -07:00
Dan Halbert
e5e132a364
add blm_badge; add CIRCUITPY_AUDIOBUSIOIO_I2SOUT
2020-07-28 11:49:54 -04:00
Jeff Epler
6160d11c5a
supervisor: factor out, Handle USB via background callback
2020-07-15 11:49:44 -05:00
Scott Shawcroft
51c888d4be
Merge pull request #3003 from Flameeyes/master
...
License tagging according to REUSE specifications.
2020-07-13 16:28:49 -07:00
Radomir Dopieralski
e0733d153e
SAMD: configurable brownout, separate the variables
2020-07-09 12:17:07 +02:00
Radomir Dopieralski
83a27edd20
SAMD: make the brownout detection level configurable per board
...
Not all boards have external flash or other components that make them
require 2.7V -- sometimes we can get considerably longer battery life
by decreasing this requirement.
In particular, pewpew10 and pewpew_m4 are powered directly from
battery, with no LDO, and should work fine down to 1.6V.
2020-07-08 19:59:53 +02:00
DavePutz
0932b64ae7
Correct for SAMD51 build
2020-07-06 23:25:33 -05:00
DavePutz
1b3cb17abd
Corrected file for SAMD51 build
2020-07-06 21:47:11 -05:00
DavePutz
ab4a453006
Made requested changes
2020-07-06 21:40:38 -05:00
Diego Elio Pettenò
34b4993d63
Add license to some obvious files.
2020-07-06 19:16:25 +01:00
DavePutz
ac33c3fe2c
Implementation of continuous synchronization of RTC during pulsein
...
Flags and code to implement continuous synchronization of RTC during pulsein
2020-07-04 21:17:19 -05:00
Jeff Epler
da733c01da
atmel-samd: Add support for SAM E54 family MCUs
...
This introduces the new macro SAM_D5X_E5X. This is mostly the same
as SAMD51 before, except in a few places where a special case for
SAME54 is required
2020-06-23 10:41:48 -05:00
Jeff Epler
a580f0f1c4
_pew: move to common-hal
...
I noticed that this code was referring to samd-specific functionality,
and isn't enabled except in one samd board (pewpew10). Move it.
There is incomplte support for _pew in mimxrt10xx which then caused build
errors; adding a #if guard to check for _pew being enabled fixes it.
The _pew module is not likely to be important on mimxrt but I'll leave the
choice to remove it to someone else.
2020-06-22 10:45:27 -05:00
hathach
e79340601f
fix racing issue for SAMD when executing WFI
2020-05-25 20:51:02 +07:00
Scott Shawcroft
6aaab005c5
Initial ESP32S2 port.
...
Basic blinky works but doesn't check pins.
2020-05-15 15:36:16 -07:00
Scott Shawcroft
f7303e6bd0
Merge pull request #2754 from maholli/non-standard-nvm
...
Add non-standard nvm to QSPI for external flash support
2020-05-12 11:56:33 -07:00
DavePutz
407938bf3a
Added a check for platforms supporting RTC before calling rtc_reset()
...
Added an #if CIRCUITPY_RTC check for platforms supporting RTC
2020-05-11 12:03:44 -05:00
DavePutz
2ddfab315c
Added call to rtc_reset() in rtc_init()
...
Fix for issue #2872 . The rtc_time_source had not been initialized; causing a time.time() call to fail.
2020-05-11 11:31:18 -05:00
Dan Halbert
c377d4bea7
Merge branch 'master' into non-standard-nvm
2020-05-04 16:08:45 -04:00
Max Holliday
6c4decd4e2
decoupling chip specific functions from EXTERNAL_FLASH_QSPI_SINGLE
2020-04-28 11:51:07 -07:00
Scott Shawcroft
755d404edf
Merge remote-tracking branch 'adafruit/master' into lower_power
2020-04-27 16:45:10 -07:00
Max Holliday
86943ca8a1
Merge remote-tracking branch 'adafruit/master'
2020-04-27 13:51:51 -07:00
Scott Shawcroft
7e3d4c61b5
Update TinyUSB and add interrupt hooks.
2020-04-17 14:16:49 -07:00
Scott Shawcroft
d0a25ca9ac
Tweaks based on dhalberts feedback
2020-04-08 10:49:46 -07:00
Max Holliday
a53a26be70
missed a debug flag
2020-04-07 18:24:53 -07:00
Max Holliday
826837186c
adds standard (non-queued) SPI support to QSPI for external flash
2020-04-07 18:17:25 -07:00
Scott Shawcroft
e99cf6e441
Rework sleep timing
...
It didn't account for background task time and could end up
sleeping for way longer than it should because the RTC compare time
had already passed.
2020-04-03 18:07:56 -07:00
Scott Shawcroft
d9e68156b2
fix up SAMD21 sleep
2020-03-17 12:10:35 -07:00
Scott Shawcroft
7100d5e485
Fix autoreload and ticks in general
2020-03-13 16:13:24 -07:00
Scott Shawcroft
48b5f2a384
Initial work on SAMD
2020-03-13 11:16:41 -07:00
hierophect
898f4e1f72
Merge branch 'master' into stm32-meowbit
2020-01-29 16:32:08 -05:00
Lucian Copeland
100409961a
Move board_init to main.c
2020-01-29 16:29:43 -05:00
Scott Shawcroft
1c39606345
Fix other builds missing new heap bounds functions
2020-01-18 18:06:56 -08:00
Dan Halbert
d628d2a261
atmel-samd working
2019-12-06 15:18:20 -05:00
Dan Halbert
40434d6919
wip
2019-12-05 22:45:53 -05:00
Dan Halbert
1505da784f
wip
2019-10-28 18:15:02 -04:00
Kamil Tomaszewski
96756b3945
Add functions to get top and limit stack
2019-10-18 11:04:45 +02:00
Dan Halbert
e2a4c76a37
make nrf touchio be generic: now available for SAMD51 too
2019-08-18 08:44:10 -04:00
Elvis Pfützenreuter
1da8d4b4da
Add PS/2 support -- ps2io module
2019-06-04 18:05:46 -03:00
Scott Shawcroft
0e03a321e4
Fully split gamepadshift from gamepad
2019-04-16 10:11:54 -07:00
Scott Shawcroft
ceb6f2e4fc
Rework flash flush so it preserves the cache
...
This should make filesystem writes quicker and cause less heap
churn.
2019-04-03 18:28:27 -07:00
Scott Shawcroft
37e10d4a81
Be more careful when initing the board outside the VM.
2019-03-12 11:18:29 -07:00
Radomir Dopieralski
263134dcd3
Add more guards for CIRCUITPYTHON_PEW
2019-03-01 18:50:00 +01:00
Radomir Dopieralski
89b2788d11
Apply review fixes:
...
* fix formatting
* fix copyrights
* fix CIRCUITPYTHON_GAMEPAD guards
* add CIRCUITPYTHON_PEW guards to reset
* fix module list order
2019-03-01 16:05:15 +01:00
Radomir Dopieralski
0a5c1c9402
Some cleanup
2019-02-28 23:34:03 +01:00
Radomir Dopieralski
55b511a5d8
Use a dedicated timer
2019-02-28 23:33:37 +01:00
Radomir Dopieralski
88e40193ae
Add a _pew module
2019-02-28 23:32:58 +01:00
Radomir Dopieralski
7ac11ed8e1
Enlarge the usb disk
2019-02-28 23:25:18 +01:00
Dan Halbert
9c24c804fb
Fix #ifdefs in port.c to call xxx_reset() rroutines properly. Remove most uses of EXPRESS_BOARD.
2019-02-18 22:44:31 -05:00