Commit Graph

10171 Commits

Author SHA1 Message Date
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
Radomir Dopieralski 8251abba8a
Merge pull request #520 from pewpew-game/2.x
Fix example for gamepad
2018-01-11 18:44:50 +01:00
Radomir Dopieralski 0ff128ec03 Fix example for gamepad
The example code for the gamepad module would skip detected
button presses in the code that waits for a button to be released,
because it would run it even when no button is pressed.

Also updated the example pin names to not use RX and TX.
2018-01-11 17:06:53 +01:00
Scott Shawcroft d201ac20af Fix sensor table. (#517)
RST is very picky about spacing.
2018-01-08 20:38:43 -05:00
Dan Halbert 2d5483082d Checked wrong RCAUSE bit for system_reset 2018-01-08 15:45:07 -08:00
Dan Halbert 1805bcac76 enable use of CIRCUITPY_CANARY_WORD (needed for 2.2 merge) (#513)
enable use of CIRCUITPY_CANARY_WORD (needed for 2.2 merge)

RCAUSE (reset cause) is fetched differently in SAMD21 vs SAMD51
2018-01-08 09:44:06 -08:00
Dan Halbert b1b89c409e
Merge pull request #512 from tannewt/gcc7
Switch to GCC7. The ARM release from Q4.
2018-01-05 17:41:50 -05:00
Scott Shawcroft 7e390886fb Switch to GCC7. The ARM release from Q4. 2018-01-04 21:36:50 -08:00
Dan Halbert 5cb361cf1f
Merge pull request #510 from dhalbert/3.0_merge_2.2.0
merge from 2.2.0 + fix up board defs
2018-01-04 20:59:59 -05:00
Dan Halbert d0cc8abd31 revise boards/ files for 3.0. All now compiled (but I don't have all to test). 2018-01-04 14:16:53 -05:00
Dan Halbert 19d353ccd9 nrf: fixups for changes from 2.2
1. bidirectional SPI support (@microbuilder please check)
2. slight changes in DigitalIO types
3. placeholders (not implemented yet) for single/double-click bootloader support
2018-01-03 16:50:57 -05:00
Dan Halbert d8686cc002 use correct LD_FILE in mpconfigboard.mk for boards with external flash 2018-01-03 16:49:38 -05:00
Dan Conley 7d3bec46ae Changing magnetic attribute in design guide (#502) 2018-01-02 20:03:20 -08:00
Dan Halbert 065e82015f merge from 2.2.0 + fix up board defs 2018-01-02 21:25:41 -05:00
Dan Halbert ce81c8dda9 Avoid gcc 7.2.1 compiler issues in nlr_push() (#506)
Avoid gcc 7.2.1 compiler issues in nlr_push()
2018-01-02 13:41:34 -08:00
Scott Shawcroft 3be456629b
Merge pull request #496 from microbuilder/nrf52_3.x
nRF52 update with internal file system support
2018-01-02 12:09:20 -08:00
Scott Shawcroft a1a02c5427
Conditionally install build deps to speed up Travis 2018-01-02 11:54:11 -08:00
Dan Halbert d9ae709045
Merge pull request #505 from dhalbert/2.2_update_cpx_frozen_libs
update CPX frozen modules to latest versions
2017-12-30 12:16:27 -05:00
Dan Halbert 9a50fa4a50 update CPX frozen modules to latest versions 2017-12-30 11:22:29 -05:00
Dan Halbert 18f3dfcd90
Merge pull request #503 from sommersoft/master
shared-bindings/index.rst: added audiobusio
2017-12-30 08:53:27 -05:00
sommersoft 881fa8e2b9 shared-bindings/index.rst: added audiobusio
shared-bindings/index.rst: added `aduiobusio` to Support Matrix. Used `audiobusio/_init_.c` to verify applicable ports; SAMD21 was the only one listed...ESP8266 wasn't. This fixes issue #448.
2017-12-30 01:36:23 -06:00
hathach a997ab258e spacing clean up 2017-12-29 23:07:32 +07:00
hathach 6c8d60afc0 Merge branch 'nrf52_3.x' of github.com:microbuilder/circuitpython into nrf52_3.x 2017-12-29 22:44:40 +07:00
hathach 7f79a0e78c added Ctrl+C interrupt 2017-12-29 22:43:31 +07:00
hathach a021a9e5f0 update uart to remove dependency on machine uart module 2017-12-29 21:25:43 +07:00
microbuilder 7a69382f36 Added script to download SD files 2017-12-28 22:41:38 +01:00
microbuilder 5da455e398 Added feather52 to travis build list 2017-12-28 22:35:03 +01:00
microbuilder 178925640b Moved comment to avoid abbreviation 2017-12-27 21:13:39 +01:00
microbuilder f1e1699c9f Added feather52 to travis build 2017-12-27 13:54:16 +01:00
Dan Halbert 94e645defa
Merge pull request #499 from dhalbert/2.x_frozen_module_version_info
Add git version info to frozen modules.
2017-12-24 14:58:42 -05:00
Dan Halbert 31be20744d preprocess_frozen_modules.py: yet more Python 3.4 compatibility changes 2017-12-24 14:29:03 -05:00
Dan Halbert 644ad74ea1 preprocess_frozen_modules.py: make compatible with Python 3.4. 2017-12-24 13:49:58 -05:00
Dan Halbert 2dcb2f06cb Add git version info to frozen modules. 2017-12-23 23:46:19 -05:00
Dan Halbert e44fbca272 PDMIn: Make last DMA buffer be exactly the right length. 2017-12-23 09:35:45 -08:00
Dan Halbert 7918714043 certain odd-sized PDMIn record buffers would crash or not fill properly 2017-12-23 09:35:45 -08:00
microbuilder a14bfeba64 Merge branch 'nrf52_3.x' of github.com:microbuilder/circuitpython into nrf52_3.x 2017-12-22 12:03:41 +01:00
microbuilder 60feb1a9aa Added .gitattributes for ZIP bin support 2017-12-22 12:03:25 +01:00
Kevin Townsend b3928288f0
Add files via upload 2017-12-22 12:02:15 +01:00
Kevin Townsend 8dcd9cc35c
Delete feather52_bootloader_5.0.0_s132_single.zip 2017-12-22 12:00:41 +01:00
Kevin Townsend de72f7fabb
Delete feather52_bootloader_2.0.1_s132_single.zip 2017-12-22 12:00:34 +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 a3289c3c2f Added D13 for standard LED examples 2017-12-22 11:42:33 +01:00
microbuilder 393bc9bce9 Removed leftover code snippet 2017-12-22 11:39:40 +01:00
microbuilder c868b66f5b Minor typo removed in path 2017-12-22 11:33:17 +01:00
microbuilder 99dd0a61ff Spaces to tabs 2017-12-22 11:29:39 +01:00
Dan Halbert 2d2735c9d4 Error in PDMIn filter loop. 2017-12-21 13:59:16 -08:00
microbuilder 60a23f0fb6 nRF52 update with internal file system support 2017-12-21 13:49:14 +01:00