Commit Graph

1572 Commits

Author SHA1 Message Date
Feyn ed18c1f2b8
Fix a critical "typo"
Current compiled downloads are unusable because MICROPY_QSPI_CS is defined as the wrong pin
2021-09-26 13:47:05 +02:00
Scott Shawcroft 3cc4f25a1c
Merge pull request #5337 from hathach/tinyusb-compliance-stm-imxrt-esp32
update tinyusb to have esp32sx, stm32 and imxrt passed compliance test suite
2021-09-14 22:40:13 -07:00
Dan Halbert 9e8c6b2bab Shrink pca10100 some more 2021-09-14 21:37:30 -04:00
Dan Halbert 59b1bedcda
Merge pull request #5333 from microDev1/patch
Make `next_code_allocation` and `prev_traceback_allocation` movable
2021-09-14 19:27:40 -04:00
Dan Halbert 0ab4df6f2f shrink some SAMD21 builds, and nrf simmel 2021-09-14 17:10:49 -04:00
Scott Shawcroft 64ff8d9e19
v3 BLE file service: Add file modification times 2021-09-13 14:46:14 -07:00
Scott Shawcroft 5d90991745
Trade RAM for flash on pca10100 2021-09-13 12:04:27 -07:00
Dan Halbert 189efdf074 Use NO_PIN, not 0, for PDMIn unset pins.
Also:
- Use NO_PIN, not 0xff for I2SOut (cosmetic fix only; no actual functional change)
- Add VOLTAGE_MONITOR/BATTERY, ACCELEROMETER_INTERRUPT pins for LED Glasses Driver
2021-09-10 13:18:29 -04:00
microDev 09859a60e7
Merge pull request #5319 from tannewt/fix_nrf_gcc11
Fix the nRF builds with GCC 11.2
2021-09-09 09:09:34 +05:30
Scott Shawcroft 2b4fdcdfa2
Fix scanning after a peripheral bond has been made
The BLE workflow will be advertising and the scan's load of
identities conflicts with it. This change ensures scanning and
advertising happens exclusively.

This showed as an unknown error 3204.

Fixes https://github.com/adafruit/Adafruit_CircuitPython_BLE/issues/134
2021-09-08 16:58:53 -07:00
Scott Shawcroft f2de010059
Fix the nRF builds with GCC 11.2
See adafruit/Adafruit_nRF52_Bootloader#221
for background on the flag.
2021-09-08 12:53:39 -07:00
Neradoc 8625e53817 change board dicts to include a common macro with __name__ 2021-09-03 21:03:55 +02:00
microDev d526925d49
make aesio module full build dependent 2021-09-02 19:02:01 +05:30
Scott Shawcroft 0d280fa83c
Two fixes, one for ble workflow, one for linking
BLE workflow had an incorrect list size for characteristics

Linking didn't advance . link it should have without extra ().
2021-09-01 12:43:43 -07:00
Scott Shawcroft 9c4c3e1780
Only sort .text for nrf 2021-09-01 08:57:18 -07:00
Scott Shawcroft 0cffa6be81
Sort .text section to reduce fill on nRF 2021-08-31 19:33:44 -07:00
Scott Shawcroft cc0a6c8a5f
Merge remote-tracking branch 'adafruit/main' into fix_nrf_wdt_crashes 2021-08-31 11:03:44 -07:00
microDev 513ca098f9
Merge pull request #5273 from tannewt/fix_nrf_light_sleep_cdc
Fix nrf light_sleep when on usb
2021-08-31 13:29:04 +05:30
microDev 1dbeed87af
Merge pull request #5253 from tannewt/fix_nrf_gpiote_crash
Fix GPIOTE crashes by checking everything is ok
2021-08-31 09:11:36 +05:30
Scott Shawcroft 5fb4fa6f12
Merge pull request #5260 from jepler/paralleldisplay
Split out paralleldisplay to its own module
2021-08-30 18:35:15 -07:00
Scott Shawcroft fa9c2189d4
Fix nrf light_sleep when on usb
Don't let pending serial input wake us up

Fixes #5257
2021-08-30 18:26:12 -07:00
Scott Shawcroft a4246bcfa3
Fix two watchdog crashes
Fixes a crash from trying to raise an exception when trying to
deinit a RESET wdt by not raising an exception.

Fixes a crash when raise a wdt exception in the REPL when waiting
for input. We now catch and print any exceptions raised.

Fixes #5261
2021-08-30 18:10:43 -07:00
Scott Shawcroft 838d30b3a4
Fix incorrect macros 2021-08-30 14:40:14 -07:00
Scott Shawcroft eabceb9fce
Fix builds without alarm 2021-08-30 14:09:36 -07:00
lady ada d50dc064ee fix i2c 2021-08-29 17:53:57 -04:00
Jeff Epler 7520feed1c Move ParallelBus to its own module 2021-08-29 07:33:54 -05:00
Scott Shawcroft a8dd881ee5
Fix GPIOTE crashes by checking everything is ok
Fixes #5240 and fixes #5211
2021-08-27 16:07:29 -07:00
Jeff Epler c174b7c7e7
Merge pull request #5229 from warmbit/warmbit_bluepixel
add warmbit_bluepixel
2021-08-27 06:48:34 -05:00
Neradoc 1302ef62f7 rebase, add adafruit_led_glasses_nrf52840 2021-08-26 23:18:44 +02:00
Neradoc 4d05bb26bf change board.ID to board.board_id 2021-08-26 23:11:55 +02:00
Neradoc b14b294516 add board.ID 2021-08-26 23:11:55 +02:00
WarmBit da644bebb3 add warmbit_bluepixel 2021-08-25 15:16:59 -06:00
Dan Halbert c0c9892887 Add adafruit_led_glasses_nrf52840 2021-08-25 11:29:31 -04:00
Dan Halbert fa9a98d96c
Merge pull request #5206 from microDev1/patch
Turn off `synthio` on `pca10100`
2021-08-23 16:20:10 -04:00
Scott Shawcroft 6d49a9f0c5
Merge pull request #5205 from jepler/deprecate-vertical-scroll
Deprecate Display's constructor arg set_vertical_scroll
2021-08-23 12:52:12 -07:00
microDev 533eab5b7f
turn off `synthio` on `pca10100` 2021-08-23 23:33:55 +05:30
Jeff Epler 379461df7d Deprecate Display's constructor arg set_vertical_scroll 2021-08-23 09:17:59 -05:00
Dan Halbert c72c679b1a nrf: remove critical section around sd_app_evt_wait() 2021-08-22 19:44:03 -04:00
Dan Halbert 57841dc92b
Merge pull request #5171 from tannewt/unicode_filenames
Turn on unicode for FATFS
2021-08-21 16:31:54 -04:00
microDev f6d1caabc9
Merge pull request #5182 from tannewt/fix_imx
Check background pending before sleep
2021-08-21 08:00:10 +05:30
Scott Shawcroft d2860b58b0
Check background pending before sleep
There is a race between when we run background tasks and when we
sleep. If an interrupt happens between the two, then we may delay
executing the background task. On some ports we checked this for
TinyUSB already. On iMX RT, we didn't which caused USB issues.
This PR makes it more generic for all background tasks including
USB.

Fixes #5086 and maybe others.
2021-08-19 12:18:13 -07:00
Scott Shawcroft e0ce5ff045
Fix some builds by disabling exfat 2021-08-18 08:22:29 -07:00
Jeff Epler 2b64318a57 Update all implementations of common_hal_busio_spi_read to honor write_value
(nrf, rp2040, and cxd56)

.. as well as a misleading comment that said that read always output
zeros.

Closes: #3447
2021-08-18 10:20:40 -05:00
Dan Halbert 064e086570 correct some status LED pin defns per #5161 2021-08-17 09:33:34 -04:00
Scott Shawcroft de796e2304
Move OneWire to `onewireio` from `busio`
This will allow finer grained inclusion in 8.0.0

Fixes #5135
2021-08-12 10:47:14 -07:00
Scott Shawcroft 0632a1e681
Merge pull request #5060 from cdwilson/cdwilson/circuitpython/sparkfun-stm32f405-micromod
stm/boards: Add support for SparkFun STM32 MicroMod Processor board.
2021-08-11 12:19:16 -07:00
Chris Wilson e741330ca8 Consistent pin naming for SparkFun MicroMod processor boards. 2021-08-09 23:10:52 -07:00
Pierre Constantineau aec965e6d9 changed PID as suggested by Scott 2021-08-09 15:25:06 -06:00
Pierre 7d02fd42f8 removed trailing spaces at end of pins.c 2021-08-08 21:56:24 -06:00
Pierre 1a7cad6562 removed trailing spaces in pins.c 2021-08-08 21:43:03 -06:00