Commit Graph

15053 Commits

Author SHA1 Message Date
Dan Halbert 5b1139db3e
Merge pull request #2511 from scs217/feather_m4_express_expanded_pinout
Added Dxx names to analog pins on Feather M4 Express pins.c file
2020-01-13 22:54:48 -05:00
scs217 50e718be99 second revision to line breaks for visibility per dhalbert 2020-01-13 22:13:39 -05:00
scs217 18957786f2 inserted line breaks between different pins (grouping together aliases for legibility) per request by dhalbert 2020-01-13 22:00:42 -05:00
scs217 c735289ddf Added Dxx names to analog pins on Feather M4 Express pins.c file 2020-01-13 21:19:17 -05:00
Dan Halbert 0367ba7495 fix some typos and leftovers 2020-01-13 18:29:34 -05:00
Dan Halbert 2a75196aa3 merge from adafruit/circuitpython 2020-01-13 18:15:32 -05:00
Dan Halbert 4ad004f24e put bonding to-do flags into Connection objects instead of using a heap-allocated queue 2020-01-13 17:52:32 -05:00
Hierophect de2379bc30 minor WIP debug edits 2020-01-13 17:24:52 -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
Kamil Tomaszewski cd842d363a Exclude mkspk from docs 2020-01-13 13:33:23 +01:00
Kamil Tomaszewski 402f6f66bd Add mkspk source files 2020-01-13 07:53:24 +01: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
Dan Halbert 346ce3b73b wip: HID bonding works! 2020-01-10 23:55:45 -05:00
Scott Shawcroft 6ea1785457
Merge pull request #2501 from kamtom480/timerhook
Fix board_timerhook
2020-01-10 11:57:54 -08: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
Hierophect 1544d60000 working control 2020-01-10 13:09:14 -05:00
Hierophect 1229de4499 attempt to get control going again 2020-01-10 12:56:22 -05:00
Dan Halbert 360c876be4 add flag to i.mx port 2020-01-10 09:20:21 -05:00
Kamil Tomaszewski 357506dd9a Fix board_timerhook 2020-01-10 13:59:52 +01:00
Roy Hooper 2cb8f7b2df Add test for issue #2465 - tuple subsclass subscript 2020-01-09 20:13:53 -05:00
Dan Halbert 9c167af17a wip; redid flash writing to be compatible with SD 2020-01-09 17:40:02 -05:00
Dan Halbert 189f2d5f07 Make requiring I2C pullups be optional 2020-01-09 17:31:50 -05:00
Hierophect 4ec588bb37 spacing changes and text fix 2020-01-09 16:17:57 -05:00
Hierophect e509115630 Merge branch 'master' into stm32-i2c-rework 2020-01-09 16:01:31 -05:00
Jeff Epler d7c6d9cabd
Merge pull request #2459 from hierophect/stm32-spi-oneline
STM32: Allow simplex SPI
2020-01-09 10:03:44 -06:00
Jeff Epler 1c6efb9e66 os.urandom: remove unneeded sleep 2020-01-08 16:48:17 -06: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
Hierophect b74e78d2c0 Merge remote-tracking branch 'upstream/master' into stm32-cpython-compat 2020-01-08 17:11:50 -05:00
Hierophect 270f0dfc7c text fix 2020-01-08 15:58:20 -05:00
Hierophect ae22305869 Corrections to I2C, style 2020-01-08 15:55:53 -05:00
Scott Shawcroft a10cd8580c
Merge pull request #2445 from jepler/mp3-jeplayer-fixes
Fixes for JEplayer
2020-01-08 12:50:13 -08:00
Hierophect a9633a3c94 Reorganize I2C workaround, style changes 2020-01-08 15:33:35 -05:00
Dan Halbert 28c1e4f48e
Merge pull request #2448 from tannewt/packet_buffer
Add PacketBuffer and MTU negotiation support.
2020-01-08 14:37:28 -05:00
Scott Shawcroft 7a94940c89
Replace magic number and add comment. 2020-01-08 11:01:43 -08:00
Scott Shawcroft d4492aaed0
Merge remote-tracking branch 'adafruit/master' into packet_buffer 2020-01-08 10:44:37 -08:00
Hierophect d222c64538 Merge branch 'stm32-spi-oneline' into stm32-i2c-rework 2020-01-08 13:03:38 -05:00
Hierophect 90613aa5fb more cleanup and style syncing 2020-01-08 13:03:25 -05:00
Hierophect b0f08ba465 Close algorithm edge case to match SPI 2020-01-08 12:32:43 -05:00
Jeff Epler b3fb024301 nrf: Call into sd as many times as necessary to fill urandom request
Generating 51200 bytes in one go takes 4.966s, so that's a rate of about
10KiB/s.
2020-01-08 10:06:55 -06:00
Hierophect 3d5528b88f style edits 2020-01-08 10:53:53 -05:00
Jeff Epler 6735283d8f os: Don't require an on-stack buffer
This allows urandom requests of even 100k bytes to succeed on a fresh
VM session on a Metro M4 express.
2020-01-08 09:43:13 -06: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
Dan Halbert 22644d33c9
Merge pull request #2460 from tannewt/update_frozen
Update submodules including BusDevice and HID.
2020-01-07 21:14:15 -05:00
Scott Shawcroft c4a64ae7a0
Don't change uf2 2020-01-07 16:52:17 -08:00
Scott Shawcroft 11a8fc726d
Update translations 2020-01-07 14:31:58 -08:00
Scott Shawcroft 5531253c76
Update submodules including BusDevice and HID.
HID's API has changed to take in devices explicitly so that both
USB and BLE work.
2020-01-07 14:25:27 -08:00