Nick Moore
ee21cc163f
Start on rotaryio.IncrementalEncoder adafruit/circuitpython#1045 (does nothing yet!)
2019-02-05 14:15:03 +11:00
Scott Shawcroft
765d877dfa
Merge pull request #1499 from nickzoic/nickzoic/circuitpython-nrf-touchin-1048
...
Nickzoic/circuitpython nrf touchin 1048
2019-01-28 00:22:34 -08:00
Scott Shawcroft
6404aaf411
Fix up nrf and using board.SPI in FourWire
2019-01-17 18:19:07 -08:00
Scott Shawcroft
760bd8d8a4
share fourwire and make nrf compile
2019-01-17 15:15:59 -08:00
Scott Shawcroft
b5e40f52c2
Add USB MIDI support for SAMD and nRF.
...
The API should be identical to using a UART for MIDI.
Fixes #672
2019-01-09 14:02:11 -08:00
Jerry Needell
55084b30ef
remome FRAMEBUF from nrf builds - use QSPI for particle ARGON
2018-12-27 09:38:35 -05:00
Jerry Needell
a90343022a
enble MICROPYTHON_CPYTHON_COMPAT - fix mpconfigport.h to allow and enable a few more items for compatiblilty with other builds
2018-12-10 16:35:40 -05:00
Nick Moore
452a622459
Set up structure for touchio adafruit/circuitpython#1048 (does nothing yet)
2018-12-04 17:12:02 +11:00
Jeff Epler
52fd151c9c
ports/nrf: enable json module on nrf boards generally
2018-11-22 10:35:57 -06:00
Scott Shawcroft
355abc835e
Fix output overflow and make help translatable
2018-11-09 16:41:08 -08: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
arturo182
cf79316002
nrf: Fix ble uart using the new API
2018-10-21 15:59:36 +02:00
arturo182
3bd65fbae5
nrf: Move the Peripheral class to bleio as Device
...
This was the last class from ubluepy and so that module is now gone.
The Device class offers both Peripheral and Central functionality.
See the inline docs for more info.
2018-10-21 15:50:45 +02:00
hathach
e17253071e
adding neopixel write
2018-09-04 15:51:49 +07:00
Dan Halbert
498fec64e2
increase new dynamic stack size to a comfortable value for now
2018-08-03 22:35:20 -04:00
Dan Halbert
dfa2581ffd
Merge pull request #1057 from tannewt/flexible_heap
...
Add basic memory allocation outside Python runtime
2018-08-02 18:43:06 -04:00
hathach
0bc3432106
Merge branch 'master' into nrf52_sys_module
2018-08-01 11:53:12 +07:00
hathach
8640d37149
try to address sys module, compile ok
2018-08-01 10:19:20 +07:00
Scott Shawcroft
a88cdaca6a
Remove rogue execute bit. Must a common incorrect shortcut for me. :-)
2018-07-31 12:42:21 -07:00
hathach
1e524f1b98
Merge branch 'master' into nrf52840_usb_hid
2018-08-01 00:58:23 +07:00
hathach
85bd46a4e1
enable MICROPY_PY_ARRAY_SLICE_ASSIGN, MICROPY_PY_BUILTINS_SLICE_ATTRS
2018-07-31 23:09:39 +07:00
Scott Shawcroft
12cf5e51c2
Allow for resizing the stack area.
2018-07-31 05:18:23 -07:00
hathach
d15caf0dbd
hid keyboard and mouse work well
2018-07-31 16:42:04 +07:00
Dan Halbert
2e260a0eab
Merge remote-tracking branch 'adafruit/master' into micropython-25ae98f-merge
2018-07-28 14:13:54 -04:00
hathach
368d59796f
adding usb_hid
...
compiled with undefined ref
2018-07-27 17:36:41 +07:00
Dan Halbert
bc760dd341
WIP: complete manual inspection of all significant changes
2018-07-23 21:34:25 -04:00
hathach
3525d65af3
should fix #1021
...
- update tinyusb for wanted char
- move usb code into usb.c
2018-07-17 21:24:49 +07:00
arturo182
05c1384b67
nrf: Split the ble module into a shared part and the port implementation
...
This allows other ports to implement these shared bindings.
2018-07-13 16:01:15 +02:00
hathach
10846d316b
Merge branch 'master' into nrf52840_usbboot
2018-07-11 21:35:44 +07:00
arturo182
2c63fb2a94
nrf: Remove the random hal and module
...
Thus getting rid of the whole old hal!
The module is not needed because the common-hal
nRF implementation uses HW RNG anyway.
2018-07-10 14:59:22 +02:00
hathach
0e819599e7
Merge branch 'master' into nrf52840_usbboot
2018-07-10 02:02:52 +07:00
arturo182
c6a2a55bc9
nrf: Cleanup mpconfigboard files
...
All the removed defines were used by legacy modules that are now
removed.
2018-07-08 15:18:11 +02:00
arturo182
887486582e
nrf: Remove port-specific help
...
It contains mentions to the pyb module which was removed.
The ble-specific help will be re-added later when the API
is stabilized.
2018-07-08 15:18:11 +02:00
hathach
1745e20391
replace jlink with native usb cdc for serial REPL
2018-07-05 11:30:12 +07:00
arturo182
9c08db55ff
nrf: Cleanup machine and microbit leftovers
...
The music module was useful when this port had support for the
microbit, now that it was removed, it's not so useful.
2018-06-20 23:30:34 +02:00
arturo182
c2d4d0a10b
nrf: Simplify pin generation and definition
...
This commit cleans up the pin generation code, all the pins and their
AF (only ADC, for now) are specified in nrf52_af.csv and board use their
own csv file to specify which pins are available on that board and if
they have any special names.
2018-06-20 23:26:32 +02:00
arturo182
b47a67d566
nrf: Remove machine, pyb and utime modules
...
Micropython legacy, keeping it consistent with atsam port.
2018-06-20 18:21:18 +02:00
Matt Wozniski
d0e6bb269f
Use the system errno's on nrf
2018-06-02 12:55:07 -04:00
Radomir Dopieralski
d02899f822
Add gamepad_singleto to root pointers for the nrf port
2018-05-30 23:11:23 +02:00
Scott Shawcroft
ce5eae1c76
Merge pull request #761 from jepler/nrf-modules
...
nrf: Enable binascii, hashlib modules
2018-05-11 19:40:45 -07:00
Jeff Epler
471fdae993
nrf: Enable binascii, hashlib modules
...
These modules would be very handy to have in order to implement a
more robust replacement for ampy. It costs around 2KiB of text and
no data or bss.
'binascii' has base64 encoding, which can be used to create a fully
8-bit-clean transport above the slightly cooked serial connection of
these boards.
'hashlib' is a bit less critical, but I have found it handy to
be able to robustly checksum remote files.
I see this as only being useful on ports which don't have USB block
device support, so atmel-samd doesn't need it. These modules are
already on esp8266 so I think nrf52 seems like the only one that
needs it.
2018-05-11 07:41:09 -05:00
Jeff Epler
2acd5d88b6
nrf52: enable framebuf module
...
Closes : #656
2018-05-10 18:37:08 -05:00
jerryneedell
b617271191
Update mpconfigport.h
...
comment out define of CIRCUITPYTHON_BOOT_OUTPUT_FILE for NRF52 -- it does not work properly
2018-05-07 08:59:24 -04:00
Jeff Epler
abec199c19
Enable high-quality float hash
...
This appears to have a relatively small impact on flash usage but
fixes some pathological slow behavior putting floats in dicts or sets.
Closes : #704
2018-03-27 21:56:30 -05:00
Jeff Epler
355bf8b553
Conditionally compile out nonstandard array/struct typecodes
...
.. defaulting to off for circuitpython-supported boards, on for others.
.. fixing up the tests that fail when it is turned off, so that they skip
instead of failing
2018-03-26 18:13:49 -05:00
Kevin Townsend
5d99cd0a20
Merge pull request #601 from arturo182/nrf_cleanup
...
Nrf cleanup
2018-02-12 11:28:47 +01:00
arturo182
05bd5d4ee6
nrf: Remove nRF51 boards and files, update README
2018-02-07 22:44:13 +01:00
arturo182
afaee7f782
nrf: Use the shared bitbangio module
2018-02-07 00:03:23 +01:00
arturo182
d1b2f69771
nrf: Use the shared struct module
2018-02-05 20:50:06 +01:00
arturo182
1de2ee6884
nrf: Implement ticks, add gamepad module and example
2018-02-05 20:48:25 +01:00