Commit Graph

15253 Commits

Author SHA1 Message Date
Scott Shawcroft 86fd93bd03
Support importing native modules in native packages.
This only fixes the `import` portion. It doesn't actually change
reference behavior because modules within a package could already
be referenced through the parent package even though an error should
have been thrown.
2020-02-25 15:32:55 -08:00
ladyada 86e9fd170a move red LED to D13 and make D3 lsm6ds IRQ 2020-02-25 18:00:23 -05:00
Jeff Epler 415cb351c7
Merge pull request #2655 from jepler/thing51
samd51 thing plus: new port
2020-02-25 14:13:47 -06:00
Scott Shawcroft 7037ebe0ec
Merge pull request #2653 from tannewt/fix_usb_eject_after_sleep
Fix Mac crash when waking up with an ejected CIRCUITPY
2020-02-25 10:54:42 -08:00
jepler f20255813f samd51 thing plus: new port
testing performed:
 * successfully store and retrieve a 500kB file on the flash
 * square wave output on each pin appears on o'scope
 * board.SPI(), board.SERIAL(), board.I2C() all construct
2020-02-25 11:52:23 -06:00
Dan Halbert 09ab24b967
Merge pull request #2654 from tannewt/fix_crash_after_repl
Fix crash after empty REPL session
2020-02-24 21:50:08 -05:00
Scott Shawcroft 28c7a1e9c3
Fix crash after empty REPL session
We were trying to reset bluetooth when it was off and then trying
to raise an exception without the heap.
2020-02-24 16:11:17 -08:00
Scott Shawcroft 876c646d09
Fix Mac crash when waking up with an ejected CIRCUITPY
We now correctly set the reason for the unit not being ready and
always start the unit.

Fixes #2567
2020-02-24 15:40:52 -08:00
Dan Halbert 90c67673ad
Merge pull request #2649 from mubes/rs485inversionfix
Fix incorrect initialisation of default UART
2020-02-23 07:35:20 -05:00
Dave Marples d41cf2e926 Fix incorrect initialisation of default UART 2020-02-23 11:16:24 +00:00
Dan Halbert dcc8abf74e
Merge pull request #2638 from fgallaire/master
Arduino Nano 33 IoT support
2020-02-22 00:12:06 -05:00
Florent Gallaire 96db16a7a2 Last NINA pins 2020-02-22 04:30:18 +01:00
Scott Shawcroft bd9572c8a4
Merge pull request #2648 from dhalbert/malloc-nrf-neopixel-write
cached heap buffer for neopixel_write
2020-02-21 17:26:09 -08:00
Dan Halbert f63b2c0d0c use realloc instead 2020-02-21 17:36:15 -05:00
Dan Halbert 9e6a9e46da Merge branch 'master' into malloc-nrf-neopixel-write 2020-02-21 17:10:13 -05:00
Scott Shawcroft e9ade63ae0
Merge pull request #2647 from dhalbert/enable-bleio-adapter-on-import
Enable _bleio adapter when _bleio is imported
2020-02-21 10:14:46 -08:00
Dan Halbert 9cf46ec947 put neopixel_write buffer in root pointers 2020-02-21 08:44:25 -05:00
Dan Halbert 23d6a3dc1f merge from upstream 2020-02-20 22:27:16 -05:00
Dan Halbert e31ac710be Enable _bleio adapter when _bleio is imported 2020-02-20 21:55:04 -05:00
Florent Gallaire 39ec5d0e51 Add NINA pins 2020-02-21 01:34:52 +01:00
Dan Halbert 675930083d
Merge pull request #2645 from dhalbert/relicense-nrf-spi
relicense nrf SPI.c to MIT
2020-02-20 16:56:02 -05:00
Dan Halbert 634d246910 relicense nrf SPI.c to MIT 2020-02-20 16:00:21 -05:00
Dan Halbert 0afb8991fa
Merge pull request #2644 from tannewt/disable_ble_file_service
Disable BLE file service for now
2020-02-20 15:57:38 -05:00
Scott Shawcroft e8f7141564
Disable BLE file service for now
Fixes #2633
2020-02-20 12:15:56 -08:00
Scott Shawcroft 1e7ec1b952
Merge pull request #2641 from arturo182/feather_m7_1011
mimxrt10xx: Add Feather M7 1011 board config
2020-02-20 10:15:57 -08:00
Scott Shawcroft a5b7a128aa
Merge pull request #2642 from arturo182/imx_displayio
mimxrt10xx: Enable displayio
2020-02-20 10:13:32 -08:00
arturo182 feac87901a mimxrt10xx: Enable displayio
Closes #2466
2020-02-19 22:26:00 +01:00
arturo182 aa0cf38084 mimxrt10xx: Add Feather M7 1011 board config 2020-02-19 22:08:08 +01:00
Scott Shawcroft 4552aff125
Merge pull request #2629 from mubes/rtsctsrs485
Addition of RTS/CTS/RS485 capability
2020-02-19 10:35:57 -08:00
Florent Gallaire 1ed5afeaec Update build.yml 2020-02-19 10:22:57 +01:00
Dave Marples 4615d172c7 Addition of translation files 2020-02-19 08:45:07 +00:00
Florent Gallaire fba0b302ff Add Arduino Nano 33 IoT support 2020-02-19 08:56:06 +01:00
Florent Gallaire 63bcd52a5a Add Arduino Nano 33 IoT documentation 2020-02-19 08:50:27 +01:00
Dan Halbert 1f148242db
Merge pull request #2605 from maholli/master
New board: PyCubed + updates to SAM32 board
2020-02-18 22:01:41 -05:00
Dave Marples 24405cabaf Edits as a result of review 2020-02-19 00:07:01 +00:00
Dave Marples 490a808bf6 Addition of stubs for rs485/CTS/RTS handling on non-implemented chips 2020-02-18 23:16:40 +00:00
Dave Marples f0e5341b0f Addition of support for imxt1010, 1050 and 1060 families 2020-02-18 23:16:40 +00:00
Dave Marples d388899985 Addition of RS485 support 2020-02-18 23:16:40 +00:00
Dave Marples 84ad3d8393 Addition of RTS/CTS/RS485 UART functionality 2020-02-18 23:16:40 +00:00
Scott Shawcroft 6f06f92bb1
Merge pull request #2631 from DavePutz/master
Update readline.c for REPL Unicode issue 1905
2020-02-18 14:19:37 -08:00
Max Holliday 2b79d8ffe9 adding PWM to board.c for external WDT 2020-02-18 14:16:54 -08:00
Scott Shawcroft 2063867899
Merge pull request #2618 from mubes/alignment-warning
Fix alignment warning
2020-02-18 13:54:24 -08:00
Scott Shawcroft 850e655a4c
Merge pull request #2625 from dhalbert/to_bytes-signed
Implement to_bytes(..., signed=True)
2020-02-18 13:43:34 -08:00
Scott Shawcroft 52d96ca151
Merge pull request #2626 from dhalbert/stat-for-shortint
avoid os.stat() int overflow on smallint-only builds
2020-02-18 13:40:52 -08:00
DavePutz aca53aa1a2
Update readline.c for REPL Unicode issue 1905 2020-02-18 10:38:50 -06:00
Max Holliday 93760042fa no current need for NVM 2020-02-16 11:43:19 -08:00
Dave Marples 77ad9aff3c Formatting updates 2020-02-16 00:40:04 +00:00
Dan Halbert e0753c4ad2 avoid os.stat() int overflow on smallint-only builds 2020-02-14 18:33:37 -05:00
Dave Marples d13f04f953 Updated formatting 2020-02-14 23:02:02 +00:00
Dan Halbert c592bd612a Implement to_bytes(..., signed=True) 2020-02-14 15:12:20 -05:00