Commit Graph

12345 Commits

Author SHA1 Message Date
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
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
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
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
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