Jeff Epler
da31acfcc4
Merge remote-tracking branch 'origin/master' into ulab
2020-03-03 20:13:53 -06:00
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
Jeff Epler
39cfe32c34
Update ulab from upstream again
2020-02-27 14:14:05 -06:00
Jeff Epler
fa3b9eba92
ulab: Incorporate it
2020-02-27 11:03:03 -06:00
Dan Halbert
e31ac710be
Enable _bleio adapter when _bleio is imported
2020-02-20 21:55:04 -05:00
Scott Shawcroft
e8f7141564
Disable BLE file service for now
...
Fixes #2633
2020-02-20 12:15:56 -08:00
Dan Halbert
c592bd612a
Implement to_bytes(..., signed=True)
2020-02-14 15:12:20 -05:00
Scott Shawcroft
e97b0cfc61
Merge pull request #2581 from jamesbowman/master
...
First draft of eveL, the low-level module of the Gameduino bindings
2020-02-13 11:21:32 -08:00
Scott Shawcroft
36e6cc8feb
Track first free atb for multiple block sizes.
...
This speeds up cases where no single block allocations happen while
Python code is allocating other block sizes.
2020-02-11 17:06:24 -08:00
James Bowman
5c6d94d3e5
Split into shared-module and shared-bindings
2020-02-07 10:30:49 -08:00
James Bowman
acef93a253
Rename eveL to _eve, EVEL to _EVE
2020-02-05 18:17:58 -08:00
Dan Halbert
e13642351c
fix printing single-arg exceptions
2020-02-04 16:55:56 -05:00
Dan Halbert
7fe959ab39
fix multi-arg exception printing
2020-02-04 16:41:25 -05:00
Dan Halbert
5164719e67
preserve errno in OSError
2020-02-04 16:19:40 -05:00
Dan Halbert
57b566e736
Include filename for 'No such file/directory', etc.
2020-02-04 13:32:39 -05:00
James Bowman
8347f2b5c3
Correct default state to off for eveL module.
...
Fix build break because of overflowing small ports
2020-02-03 19:23:42 -08:00
James Bowman
7fd30e7d20
First draft of eveL, the low-level module of the Gameduino (and BridgeTek EVE) bindings.
...
[adafruit/circuitpython#2578 ]
2020-02-03 16:46:14 -08:00
Scott Shawcroft
55eb1730b8
Merge remote-tracking branch 'adafruit/master' into tweak_pixelbuf
2020-01-30 10:59:21 -08:00
Scott Shawcroft
2cc20e8816
Remove unneeded native cast.
2020-01-30 10:59:16 -08:00
Scott Shawcroft
5d24ade5c9
Tweak error messages to reduce code size.
2020-01-29 17:32:07 -08:00
Scott Shawcroft
d655c785b6
Merge commit 'b36b24' into tweak_pixelbuf
2020-01-29 13:35:22 -08:00
Scott Shawcroft
5b6b4eb326
Merge pull request #2551 from jepler/build-mpy-cross-static-linux-win64
...
Build static binaries of mpy-cross for desktop linux, desktop windows, mac, and raspbian
2020-01-29 11:45:08 -08:00
Scott Shawcroft
f6a635b102
Fix subclassing of objects that are tested. Others may still be broken.
2020-01-27 14:52:42 -08:00
Scott Shawcroft
b36b2493bc
Merge pull request #2532 from tannewt/teensy4-dev
...
Refine iMX RT memory layout and add three boards
2020-01-27 14:11:08 -08:00
Jeff Epler
d9e0742a07
accomodate excessively old gcc versions for raspbian mpy-cross cross-build
2020-01-25 15:32:52 -06:00
Scott Shawcroft
81c3bc411f
Don't assume native methods want the native object as self.
2020-01-24 18:22:28 -08:00
tsupplis
b66abd47b8
Update fix (missing pragma gcc diagnostic push)
...
Update fix (missing pragma gcc diagnostic push)
2020-01-21 19:45:20 +00:00
Scott Shawcroft
7d8dac9211
Refine iMX RT memory layout and add three boards
...
Introduces a way to place CircuitPython code and data into
tightly coupled memory (TCM) which is accessible by the CPU in a
single cycle. It also frees up room in the corresponding cache for
intermittent data. Loading from external flash is slow!
The data cache is also now enabled.
Adds support for the iMX RT 1021 chip. Adds three new boards:
* iMX RT 1020 EVK
* iMX RT 1060 EVK
* Teensy 4.0
Related to #2492 , #2472 and #2477 . Fixes #2475 .
2020-01-17 17:36:08 -08:00
Scott Shawcroft
8b61333937
Merge pull request #2510 from dhalbert/bonding-nvm
...
nrf: Add bonding to BLE pairing support
2020-01-15 16:11:09 -08:00
Scott Shawcroft
1d2e262a59
Merge pull request #2505 from theodox/master
...
Make all `PYTHON` env vars into `PYTHON3`
2020-01-14 10:55:23 -08:00
Scott Shawcroft
ed811fb9c0
Merge pull request #2504 from rhooper/fix-tuple-subscr
...
Fix tuple subscr
2020-01-14 10:53:50 -08:00
Dan Halbert
2a75196aa3
merge from adafruit/circuitpython
2020-01-13 18:15:32 -05:00
Scott Shawcroft
2eb26a6d0b
Merge pull request #2457 from hierophect/stm32-cpython-compat
...
STM32: Cpython compatibility flag 2
2020-01-13 13:47:55 -08:00
Dan Halbert
9e7f8743c2
fix CCCD bonding store; avoid excessive bonding writes
2020-01-12 23:32:51 -05:00
Steve Theodore
dd4b0f6e9c
Make all PYTHON
env vars into PYTHON3
...
make file contained a mix of references to `PYTHON` and `PYTHON3`, and did not build on a fresh install of Ubuntu (under Windows LXSS)
2020-01-11 21:37:54 -08:00
Roy Hooper
73e076a40c
make types that depend on tuple subscr work
2020-01-11 18:21:43 -05:00
Scott Shawcroft
6ea8d8a6c2
Merge pull request #2498 from dhalbert/optional-i2c-pullup-checking
...
Make requiring I2C pullups be optional
2020-01-10 11:42:44 -08:00
Scott Shawcroft
8708d3dc45
Merge pull request #2461 from jepler/urandom-hardfaults
...
Urandom hardfaults
2020-01-10 11:37:59 -08:00
Dan Halbert
189f2d5f07
Make requiring I2C pullups be optional
2020-01-09 17:31:50 -05:00
Hierophect
10eed78dd8
use CFLAG to properly set define
2020-01-08 17:37:20 -05:00
Jeff Epler
f1c2dee1c0
style
2020-01-08 16:36:43 -06:00
Scott Shawcroft
a10cd8580c
Merge pull request #2445 from jepler/mp3-jeplayer-fixes
...
Fixes for JEplayer
2020-01-08 12:50:13 -08:00
Scott Shawcroft
d4492aaed0
Merge remote-tracking branch 'adafruit/master' into packet_buffer
2020-01-08 10:44:37 -08:00
Jeff Epler
5baaac55ce
vstr_init_len: Don't crash if (size_t)-1 is passed
...
In this unusual case, (len + 1) is zero, the allocation in vstr_init
succeeds (allocating 1 byte), and then the caller is likely to erroneously
access outside the allocated region, for instance with a memset().
This could be triggered with os.urandom(-1) after it was converted to use
mp_obj_new_bytes_of_zeros.
2020-01-08 09:42:44 -06:00
Jeff Epler
dd6010a17e
Fix more build problems
2020-01-06 13:35:43 -06:00
Marius-450
3ad3d49959
changes only for monster m4sk
2020-01-04 12:32:49 -05:00
Marius-450
d2b2cf0add
CIRCUITPY_DISPLAY_LIMIT = 2
2020-01-04 12:20:32 -05:00
Scott Shawcroft
82fb761c0f
Add PacketBuffer and MTU negotiation support.
...
PacketBuffer facilitates packet oriented BLE protocols such as BLE
MIDI and the Apple Media Service.
This also adds PHY, MTU and connection event extension negotiation
to speed up data transfer when possible.
2020-01-03 17:29:54 -08:00
Roy Hooper
767ce1cdf8
remove unnecessary GCC pragmas
2020-01-02 18:03:18 -05:00