Commit Graph

12416 Commits

Author SHA1 Message Date
Scott Shawcroft
8fc72e8978
Add SPI and I2C to SparkFun nRF52840 mini definition and add it to Travis. 2018-12-10 20:32:19 -08:00
Scott Shawcroft
8a981dc8e8
Merge remote-tracking branch 'adafruit/master' into sfe840 2018-12-10 20:13:36 -08:00
Dan Halbert
c3c600dfa3
Merge pull request #1394 from tannewt/fix_board_info
Fix build board info for python3.5
2018-12-10 17:09:43 -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
Scott Shawcroft
4f7380147d
Merge pull request #1393 from tannewt/use_file_glob
Use file glob for release files
2018-12-10 13:19:28 -08:00
Scott Shawcroft
96e65fa641
Fix build board info for python3.5 2018-12-10 13:17:05 -08:00
Scott Shawcroft
f9862f1c15
Use file glob for release files 2018-12-10 12:55:35 -08:00
Dan Halbert
21e2928313
Merge pull request #1392 from tannewt/strip_version
Strip a newline from the version tag.
2018-12-10 13:55:42 -05:00
Scott Shawcroft
7da85f5a4f
Strip a newline from the version tag. 2018-12-10 10:13:09 -08:00
ShawnHymel
f8ded46ad6 Merged field in pin table in README. 2018-12-08 17:42:42 -06:00
ShawnHymel
4c81d9a9ac Added SD_CD pin definition 2018-12-08 17:40:46 -06:00
ShawnHymel
a3f46a3ccb Removed mpy-cross binary 2018-12-08 17:00:04 -06:00
ShawnHymel
7d6ceeac56 Renamed doc to docs and updated README with rst. 2018-12-08 16:58:51 -06:00
ShawnHymel
9d6d94b5f5 Renamed image 2018-12-08 16:48:26 -06:00
ShawnHymel
52dbbcb23f Added board test suite 2018-12-08 16:47:17 -06:00
Dan Halbert
2b739e1eb6
Merge pull request #1386 from tannewt/uf2s_for_particle
Build UF2s for the particle boards
2018-12-07 22:02:09 -05:00
Dan Halbert
2a5891809a
Merge pull request #1385 from tannewt/fix_background_task
Fix running the USB task on nRF.
2018-12-07 22:01:50 -05:00
Scott Shawcroft
06c4938120
Build UF2s for the particle boards 2018-12-07 17:37:25 -08:00
Scott Shawcroft
801d9a5abc
Fix running the USB task on nRF.
It wasn't being run due to a rework done only on the atmel-samd port.
The rework itself isn't needed now that the heap check triggers safe
mode instead of throwing a Python exception. So, I've removed the
rework.
2018-12-07 16:11:21 -08:00
Dan Halbert
2fbaceb2b1
Merge pull request #1294 from tannewt/stack_check
Add stack validity check and raise an error when it happens.
2018-12-07 15:34:43 -05:00
Scott Shawcroft
89ef6eef57
Fix unused parameter 2018-12-07 09:56:35 -08:00
Scott Shawcroft
df84da5913
Stub out serial_write as well 2018-12-07 09:32:37 -08:00
Scott Shawcroft
808ca676b6
Fix unix 2018-12-06 17:12:30 -08:00
Scott Shawcroft
288ec84c21
Update translations 2018-12-06 17:04:22 -08:00
Dan Halbert
481c4954af
Merge pull request #1383 from tannewt/switch_back_to_hathach_tinyusb
Switch TinyUSB back to hathach's version.
2018-12-06 19:51:59 -05:00
Scott Shawcroft
332ea8853f
Macro guard VDDH inclusion. 2018-12-06 16:38:14 -08:00
Scott Shawcroft
817766acdc
Use the stub for ESP8266 as well. 2018-12-06 15:47:16 -08:00
Scott Shawcroft
45b301856c
Switch TinyUSB back to hathach's version. The merge commit of the commit we were on. 2018-12-06 15:39:47 -08:00
Scott Shawcroft
df6c8eaed7
Add stack.c stub for mpy-cross 2018-12-06 15:29:26 -08:00
Scott Shawcroft
6ef8639971
Rework safe mode and have heap overwrite trigger it.
This creates a common safe mode mechanic that ports can share.
As a result, the nRF52 now has safe mode support as well.

The common safe mode adds a 700ms delay at startup where a reset
during that window will cause a reset into safe mode. This window
is designated by a yellow status pixel and flashing the single led
three times.

A couple NeoPixel fixes are included for the nRF52 as well.

Fixes #1034. Fixes #990. Fixes #615.
2018-12-06 14:24:20 -08:00
Dan Halbert
ca3c992037
Merge pull request #1379 from dhalbert/flush-output-to-travis
make sure travis sees some output in time
2018-12-05 16:18:55 -05:00
Dan Halbert
58f230d632 make sure travis sees some output in time 2018-12-05 15:01:58 -05:00
Scott Shawcroft
56b71281b3
Merge pull request #1378 from dhalbert/fix-build_release_files-on-travis
build_release_files.py hanging on travis
2018-12-05 09:29:58 -08:00
Dan Halbert
d2398dacfe restored to old version 2018-12-05 10:37:55 -05:00
Dan Halbert
396248d4f9 testing 2018-12-05 10:31:44 -05:00
Scott Shawcroft
7ad2e6ace3
Add stack validity check and raise an error when it happens.
The backtrace cannot be given because it relies on the validity
of the qstr data structures on the heap which may have been
corrupted.

In fact, it still can crash hard when the bytecode itself is
overwritten. To fix, we'd need a way to skip gathering the
backtrace completely.

This also increases the default stack size on M4s so it can
accomodate the stack needed by ASF4s nvm API.
2018-12-04 23:26:04 -08:00
Dan Halbert
4b5edd3c03
Merge pull request #1376 from tannewt/particle
Add Particle boards and hopefully speed up the SAMD build a little
2018-12-04 22:14:40 -05:00
Scott Shawcroft
f59c3bd726
Add flag comment 2018-12-04 18:22:23 -08:00
Scott Shawcroft
b0da9ac780
Don't capture output 2018-12-04 18:20:51 -08:00
Scott Shawcroft
b25bf062fb
Add correct flash chip for Particle Mesh boards 2018-12-04 18:20:51 -08:00
Scott Shawcroft
3f5d917b39
Update submodules to merge commits 2018-12-04 18:20:51 -08:00
Scott Shawcroft
15c1fc873c
Add particle boards, fix cp32 and try to speed up atmel build 2018-12-04 18:20:48 -08:00
Scott Shawcroft
dbd3a77908
Merge pull request #1375 from dhalbert/uart-timeout-interrupt
allow KeyboardInterrupt on UART read; fix nrf UART pin claiming; rename feather 52840 UART pins
2018-12-04 13:47:25 -08:00
Dan Halbert
8b034b8d1d update translations 2018-12-04 16:17:31 -05:00
Dan Halbert
63cd9209f1 allow KeyboardInterrupt on UART read; fix nrf UART pin claiming; rename feather 52840 UART pins 2018-12-04 15:05:39 -05:00
Dan Halbert
7f6da78be3
Merge pull request #1344 from bwshockley/master
Add Mini SAM M4 board.
2018-12-03 17:37:23 -05:00
Scott Shawcroft
1b4359eaec
Merge pull request #1372 from dhalbert/pyserial-compat-for-uart
UART changes: timeout in secs, write bytes, etc.
2018-12-03 14:20:44 -08:00
Dan Halbert
963a9a7428 update translations 2018-12-03 15:57:27 -05:00
Scott Shawcroft
b3575180e1
Merge pull request #1373 from dhalbert/audio-quiescent-value-int
Fix arg type for AudioOut(..., quiescent_value=...)
2018-12-03 09:44:52 -08:00
Dan Halbert
80db2cec99 UART changes: timeout in secs, write bytes, etc. 2018-12-03 12:04:32 -05:00