Commit Graph

12746 Commits

Author SHA1 Message Date
Dan Halbert 4e75aaecd0
Merge pull request #1569 from TG-Techie/patch-7
PYPORTAL:make it easier for people to hookup in spi mode
2019-02-19 14:12:30 -05:00
Dan Halbert 1177c32679
Merge pull request #1562 from debrouxl/minor_improvements_and_fixes
Minor fixes
2019-02-19 13:22:42 -05:00
Kattni ef802c91e7
Merge pull request #1566 from dhalbert/fix-weaklinks
correct weak module links; samd module only in m4 ports; update frozen libs
2019-02-18 19:49:09 -05:00
TG-Techie d453b605d3
make it easier for people to hookup in spi mode without looking inspecting schematic 2019-02-18 15:00:14 -05:00
Dan Halbert 263e9822ea typo 2019-02-18 12:21:31 -05:00
Dan Halbert ba77a9ca80 move non-u names for native modules to circuitpy_mpconfig.h 2019-02-18 12:08:23 -05:00
Dan Halbert 339a22752b Remove rtc from pirkey_m0 to make TRANSLATION=fr fit 2019-02-18 09:02:26 -05:00
Dan Halbert 5c884bf6d6 forgot json 2019-02-18 07:57:54 -05:00
Dan Halbert c1144a288f regularize how module weak links and alternate names are listed 2019-02-18 00:45:43 -05:00
Dan Halbert 97aeb1953b correct weak module links; samd module only in m4 ports; update libraries 2019-02-17 23:48:08 -05:00
Dan Halbert fd3e9ce2f8
Merge pull request #1560 from dhalbert/shallow-travis-errors
Fix travis shallow build issue
2019-02-17 22:07:44 -05:00
Dan Halbert cc51cad813
Merge pull request #1564 from dhalbert/module-presence-fixes
fix module weak links; add missing nrf features
2019-02-17 22:02:54 -05:00
Dan Halbert 5ec92415b0 fix module weak links; add missing nrf features 2019-02-17 17:29:28 -05:00
Lionel Debroux b0c2c3c756 A couple build fixes for mp_float_t = double (MICROPY_FLOAT_IMPL_DOUBLE).
Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
2019-02-17 11:21:48 +01:00
Lionel Debroux 94e51de166 Define MP_SSIZE_MAX for LONGINT_IMPL_LONGLONG as well.
Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
2019-02-17 11:21:35 +01:00
Dan Halbert 071a21af16 remove 'git fetch --shallow-exclude' 2019-02-16 17:15:40 -05:00
Dan Halbert 4f85a78daf test: changing git depth to 6 2019-02-16 17:10:53 -05:00
Dan Halbert 90bc09a31e
Merge pull request #1553 from tannewt/group_children
Store the original layer in Group
2019-02-16 08:47:09 -05:00
Dan Halbert f7a397d527
Merge pull request #1550 from sommersoft/move_drivers_rst
Step 2: Move The Docs
2019-02-15 22:53:58 -05:00
Dan Halbert 619b4f13fd
Merge pull request #1555 from tannewt/print_flush
Support print("", flush=True)
2019-02-15 21:46:16 -05:00
Dan Halbert 11ef64ef51
Merge pull request #1554 from dhalbert/refactor-build-settings
Major refactoring of mpconfig and makefiles; compile only what's used; easy on/off of modules
2019-02-15 21:06:55 -05:00
Dan Halbert 7b3f7605b8 address @tannewt changes: move and rename common files; remove PORT_HEAP_SIZE 2019-02-15 20:32:32 -05:00
Scott Shawcroft e6b140e7a0
Support print("", flush=True)
Fixes #1127
2019-02-15 16:53:19 -08:00
Dan Halbert 72c03268a4 remove circuitpy_rules.mk; not used 2019-02-15 19:24:34 -05:00
Dan Halbert 5a32c88db3 merge from upstream and move ure options;make translate 2019-02-15 19:19:52 -05:00
sommersoft c80e22b6fc
make less vaguer 2019-02-15 18:12:58 -06:00
Dan Halbert 68d39d1f3f make translate 2019-02-15 18:56:53 -05:00
Dan Halbert a345ef28f2 finish Makefile refactoring; nrf builds work 2019-02-15 18:55:10 -05:00
Scott Shawcroft c9f036ed40
Store the original layer in Group
As is we would return the native superclass object only.

Fixes #1551
2019-02-15 14:29:59 -08:00
Dan Halbert cf545cd477 WIP: fix issues with remaining atmel-samd builds 2019-02-15 09:52:45 -05:00
sommersoft 156b0d286a
dropped the fancy URLs so Sphinx doesn't complain 2019-02-14 23:32:41 -06:00
Dan Halbert 5154e0581e WIP: atmel-samd trinket build works 2019-02-15 00:28:20 -05:00
sommersoft 12ccd5ec55
link to new drivers.rst on the Bundle 2019-02-14 20:45:46 -06:00
Scott Shawcroft 35e3d99f62
Merge pull request #1544 from notro/ure_sub
extmod/ure: Extend functionality
2019-02-14 10:26:57 -08:00
Noralf Trønnes 0edd739609 Update translations 2019-02-14 15:43:13 +01:00
Noralf Trønnes 77ff17cc8d atmel-samd: Enable extra ure functionality on Express boards
This enables ure.sub(), Match.span/start/end() and the
ure.Compile.search/match() pos/endpos arguments.
2019-02-14 15:42:46 +01:00
Noralf Trønnes 9cdffe5e8c atmel-samd: Remove samd module from SAMD21 builds
Remove the samd module which has representations of the clocks.
This is done to save on precious flash.
2019-02-14 15:42:32 +01:00
Noralf Trønnes 0865c9d381 extmod/ure: Support search/match() pos and endpos parameters
MICROPY_PY_URE_MATCH_SPAN_START_END is used to enable the functionality
since it's similar.
2019-02-14 15:42:28 +01:00
Radomir Dopieralski 20a787adb4 extmod/ure: Handle some escape sequences.
Fix MicroPython #3176

Handle escape sequences inside regular expressions. This adds
handling for \a, \b, \f, \n, \r, \v and \\.
2019-02-14 15:42:25 +01:00
Damien George b9dc23c070 extmod/modure: Add ure.sub() function and method, and tests.
This feature is controlled at compile time by MICROPY_PY_URE_SUB, disabled
by default.

Thanks to @dmazzella for the original patch for this feature; see #3770.
2019-02-14 15:42:22 +01:00
Damien George cbeac094ef extmod/modure: Add match.span(), start() and end() methods, and tests.
This feature is controlled at compile time by
MICROPY_PY_URE_MATCH_SPAN_START_END, disabled by default.

Thanks to @dmazzella for the original patch for this feature; see #3770.
2019-02-14 15:42:21 +01:00
Damien George a24fabbb6f extmod/modure: Add match.groups() method, and tests.
This feature is controlled at compile time by MICROPY_PY_URE_MATCH_GROUPS,
disabled by default.

Thanks to @dmazzella for the original patch for this feature; see #3770.
2019-02-14 15:42:19 +01:00
Dan Halbert 379258112a
Merge pull request #1548 from tannewt/shape_arg_check
Arg check width and height into Shape.
2019-02-14 07:42:39 -05:00
Dan Halbert f99b9ddcf1
Merge pull request #1546 from tannewt/fix_safe_mode
A safe mode fix and displayio fixes
2019-02-13 21:15:14 -05:00
Scott Shawcroft b13adfc228
Arg check width and height into Shape.
Fixes #1537
2019-02-13 17:34:39 -08:00
Scott Shawcroft a1a4959071
Merge pull request #1541 from dhalbert/nrf-two-uarts
nrf: Add second UARTE to busio.UART. Init uarts on startup.
2019-02-13 17:31:55 -08:00
Scott Shawcroft d6cbd5be92
Merge pull request #1540 from TG-Techie/patch-6
PYPORTAL: pindefs incorrect
2019-02-13 17:21:22 -08:00
Dan Halbert ab4194f752 don't allocate DMA buffer as long-lived 2019-02-13 19:49:57 -05:00
Scott Shawcroft 473bdf48f6
A safe mode fix and displayio fixes
* Fixes safe mode on the SAMD51. The "preserved" value was being
clobbered by the bootloader.
* Fixes auto-reload loop when in safe mode.
* Fixes reading Group children with [].
* Check that a TileGrid actually moves before queueing a refresh.
2019-02-13 15:31:06 -08:00
Scott Shawcroft 78f51792a7
Merge pull request #1543 from dhalbert/atmel-uart-fix
Fix atmel UART after ASF4 pruning.
2019-02-13 10:22:09 -08:00