Commit Graph

12394 Commits

Author SHA1 Message Date
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
125901e4e2 Merge remote-tracking branch 'adafruit/master' into bleio-rev 2018-12-06 12:41:38 -05: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
Dan Halbert
72e3cfdfb8 Fix arg type for AudioOut(..., quiescent_value=...) 2018-12-03 11:20:33 -05:00
Scott Shawcroft
7a52712b38
Merge pull request #1364 from yeyeto2788/master
Add some msgstr translations
2018-12-02 22:36:06 -08:00
ShawnHymel
3d597aae92 Added MKR Zero board definition. 2018-12-02 18:07:19 -06:00
Juan Biondi
e766f6e4ad
Merge pull request #1 from adafruit/master
Get latest version
2018-12-02 21:51:47 +01:00
Scott Shawcroft
9aebe2f1ef
Merge branch 'master' into master 2018-11-30 20:49:55 -08:00
Dan Halbert
57c2c4134c
Merge pull request #1347 from tannewt/gc_rev_b
Update for Grand Central Rev B
2018-11-30 20:17:05 -05:00
Scott Shawcroft
c55183f71a
Merge remote-tracking branch 'adafruit/master' into gc_rev_b 2018-11-30 15:09:15 -08:00
Scott Shawcroft
48928d4b25
Auto build and a couple pin fixes 2018-11-30 15:08:06 -08:00
Scott Shawcroft
3fa8796668
Merge remote-tracking branch 'adafruit/master' into mini_sam 2018-11-30 15:01:03 -08:00
Scott Shawcroft
dbc7e7c16b
Auto build mini-sam 2018-11-30 14:58:58 -08:00
Scott Shawcroft
77760090e2
Fix up spi flash define 2018-11-30 14:55:06 -08:00
Dan Halbert
57b61a9141
Merge pull request #1366 from tannewt/update_website_with_release
Add support for adding release info into adafruit/circuitpython-org
2018-11-30 17:48:02 -05:00
Scott Shawcroft
95e0309263
Merge remote-tracking branch 'adafruit/master' into mini_sam 2018-11-30 14:40:01 -08:00
Scott Shawcroft
754d6afd16
Undo uzlib change 2018-11-30 14:36:46 -08:00
jimblom
09316b35d7 remove non-broken-out nrf pins. re-organize pins.c list. 2018-11-30 14:58:36 -07:00
Scott Shawcroft
6e15ab6385
Stop ignoring SD hex files and improve the error when its missing. 2018-11-30 13:26:12 -08:00
Scott Shawcroft
df18d22a93
Capture stderr as well and work on nRF build 2018-11-30 12:59:05 -08:00
jimblom
f67814fc97 Adding SparkFun nRF52840 Mini board support. 2018-11-30 13:57:22 -07:00
Scott Shawcroft
cf70dc4f1c
Fix BLE build 2018-11-30 11:53:33 -08:00
Scott Shawcroft
56345ff997
A few tweaks based on review feedback 2018-11-30 10:58:27 -08:00
Juan Biondi
e7fda9c4be
Fix error on line 1901 2018-11-30 16:17:56 +01:00
Juan Biondi
e26fcd15db
Fix error on line 1900 2018-11-30 16:12:47 +01:00
Scott Shawcroft
9d07e95351
Add support for adding release info into adafruit/circuitpython-org
This also changes the build script to python with better output.
2018-11-30 00:30:57 -08:00
Juan Biondi
99c1f4f375 Add other strings. 2018-11-30 07:35:48 +01:00
Juan Biondi
2eb4fe6469 Missing typo fixed 2018-11-30 07:20:35 +01:00
Juan Biondi
dcd1e419c0 Fix typos found on PR 2018-11-30 07:17:37 +01:00
Juan Biondi
fa041bddc2 Add other msgstr translated. 2018-11-29 16:32:06 +01:00