Jeff Epler
862830da32
compile: Give a proper error on 'async with'/'async for' outside 'async def'
...
A simple reproducer is:
async for x in():x
2020-03-01 09:40:43 -06:00
Jeff Epler
511c180869
parse: push_result_token: throw an exception on too-long names
...
Before this, such names would instead cause an assertion error inside
qstr_from_strn.
A simple reproducer is a python source file containing the letter "a"
repeated 256 times
2020-03-01 09:38:34 -06:00
Dan Halbert
0c2894c725
Merge pull request #2659 from mubes/i2cfixes
...
Fix I2C clock divider
2020-02-28 10:55:48 -05:00
Dave Marples
09a3153bf4
Fix I2C clock divider
2020-02-27 14:08:39 +00:00
arturo182
1b33cd11fc
Merge pull request #2658 from mubes/spi_fixes
...
Fix SPI clock speed on mimxrt10xx family & mimxrt1020 pinmux fixups
2020-02-26 16:37:05 +01:00
Dave Marples
aadb0bfc1e
Fix SPI clock speed on mimxrt10xx family & mimxrt1020 pinmux fixup
2020-02-26 14:28:54 +00:00
Limor "Ladyada" Fried
3dc98a7a79
Merge pull request #2656 from ladyada/master
...
move red LED to D13 and make D3 lsm6ds IRQ
2020-02-25 18:34:40 -05: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