Scott Shawcroft
affd3fcc2a
Clear the pending IRQ in the NVIC as well.
2020-03-13 11:16:38 -07:00
Scott Shawcroft
00d5f63e7c
Hopefully fix PulseIn
2020-03-13 11:12:31 -07:00
Scott Shawcroft
6f60afe8c5
First try at lowering the power consumption
2020-03-13 11:12:30 -07:00
hathach
894cad2e17
upgrade nrfx API to v2
2019-12-17 21:39:52 +07:00
jepler
df48312ce7
nRF: PWMOut: At deinit, make pin available again
...
Closes : #2146
2019-09-11 20:09:38 -05:00
Jeff Epler
11dd3a260e
nrf: Use RUN_BACKGROUND_TASKS
2019-08-11 08:53:02 -05:00
Jeff Epler
2bc704fe07
ports/nrf: factor out routines for allocating, freeing pwm channels
2019-07-26 07:52:37 -05:00
Scott Shawcroft
5610e05b8c
Fix up nrf so that it is initialized properly. Also, do not reset
...
it's pins.
2019-07-06 12:48:16 -07:00
Dan Halbert
a345ef28f2
finish Makefile refactoring; nrf builds work
2019-02-15 18:55:10 -05:00
Scott Shawcroft
ec03887040
Fix hallowing and nrf builds
2019-01-31 11:42:15 -08:00
hathach
cfc4c8cbfa
minor clean up
2019-01-09 15:43:54 +07:00
hathach
db82160eef
fix pulsein incorrect compute
2019-01-09 15:15:30 +07:00
hathach
6752266673
added pulsein using gpiote (gpio interrupt)
2018-12-18 22:05:17 +07:00
Scott Shawcroft
9d91111b1b
Move atmel-samd to tinyusb and support nRF flash.
...
This started while adding USB MIDI support (and descriptor support is
in this change.) When seeing that I'd have to implement the MIDI class
logic twice, once for atmel-samd and once for nrf, I decided to refactor
the USB stack so its shared across ports. This has led to a number of
changes that remove items from the ports folder and move them into
supervisor.
Furthermore, we had external SPI flash support for nrf pending so I
factored out the connection between the usb stack and the flash API as
well. This PR also includes the QSPI support for nRF.
2018-11-08 17:25:30 -08:00
Dan Halbert
2262efc311
PulseOut working
2018-10-16 11:05:02 -04:00
Dan Halbert
ca737e6f7c
Don't disable tempoarily in deinit().
2018-10-09 21:23:47 -04:00
Dan Halbert
91a88cf568
Allow variable freq PWMOut; use multiple channels if same freq
2018-10-09 20:52:55 -04:00
Dan Halbert
585597a252
pin files rework; implement pin claiming; add more boards
2018-08-31 18:05:55 -04:00
Egor Leonenko
18e9f74738
Fix PWM Support on NRF52840
...
Replace usage of pin number alone with port+pin combination in NRF port of PWMOut
2018-08-17 19:34:03 +12:00
Scott Shawcroft
76e0373576
Fix nrf and unix
2018-08-16 17:41:38 -07:00
arturo182
388f554ff6
nrf: Rewrite the DigitalInOut hal using nRFx
2018-07-08 17:48:32 +02:00
jerryneedell
8150150a24
return "false" for stub call
...
See #918 for discussion
2018-06-10 07:11:44 -04:00
Scott Shawcroft
8195df1b55
Stub out get_paused in nrf builds.
2018-06-08 14:01:54 -07:00
arturo182
8bfdaa89b9
nrf: Remove SAMD mentions carried over while copying files
2018-02-07 22:44:27 +01:00
microbuilder
ad7cd0399d
Added 'mp_raise_NotImplementedError(NULL)'
2017-12-22 11:48:07 +01:00
microbuilder
b9e229f739
Removed old code snippets
2017-12-22 11:47:15 +01:00
microbuilder
ace872bf11
Added 'mp_raise_NotImplementedError(NULL)'
2017-12-22 11:45:51 +01:00
microbuilder
60a23f0fb6
nRF52 update with internal file system support
2017-12-21 13:49:14 +01:00