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
microbuilder
1276c12097
Enable SD132v2.0.1 BLE and UBLUEPY support by default
2018-01-18 11:32:47 -08:00
Dan Halbert
23eb79ca8f
turn on MICROPY_ENABLE_SOURCE_LINE in nrf
2018-01-16 18:11:54 -08:00
Dan Halbert
01443a9619
Make chosen features consistent across all boards and ports atmel-samd, esp8266, and nrf.
...
1. Turn off MICROPY_CPYTHON_COMPAT, which includes a number of minor CPython compatibility features,
most of which have workarounds, but uses up significant flash.
2. Turn on MICROPY_PY_SYS_MAXSIZE, which implements sys.maxsize.
3. Turn on MICROPY_CAN_OVERRIDE_BUILTINS, which implements "_" as the most recent value in the REPL,
and also enables redefining builtins.
2018-01-16 18:11:54 -08:00
hathach
7f79a0e78c
added Ctrl+C interrupt
2017-12-29 22:43:31 +07:00
microbuilder
60a23f0fb6
nRF52 update with internal file system support
2017-12-21 13:49:14 +01:00
Kevin Townsend
ce75a21e50
Revert "Supervisor REPL support for ports/nrf/boards/feather52"
...
This reverts commit 92113dde81
.
2017-11-23 13:38:38 +01:00
Kevin Townsend
92113dde81
Supervisor REPL support for ports/nrf/boards/feather52
2017-11-23 09:22:11 +01:00
Ayke van Laethem
f57be619fc
ports/nrf: Add compile switch to disable VFS.
...
This saves about 17kB.
2017-10-13 18:29:41 +02:00
Glenn Ruben Bakke
44e2cb415f
ports/nrf: Moving nrf51/52 port to new ports directory
2017-10-04 21:46:48 +02:00