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
Dan Halbert
8d629a957d
Merge pull request #2367 from iot49/mtime
...
fix mtime on file creation
2020-01-07 17:19:40 -05:00
Scott Shawcroft
817c4af60c
Merge pull request #2456 from arturo182/mimxrt10xx
...
Add initial MIMXRT10XX port implementation
2020-01-07 13:58:09 -08:00
arturo182
cc7b57c8d4
mimxrt10xx: Add license for NXP code
2020-01-07 22:07:27 +01:00
Scott Shawcroft
866ac13405
Merge pull request #2450 from Marius-450/marius-display-limit-2
...
CIRCUITPY_DISPLAY_LIMIT = 2 for monster m4sk
2020-01-07 12:08:59 -08:00
arturo182
19803c664f
mimxrt10xx: Add info on clock config source
2020-01-07 20:05:57 +01:00
Hierophect
d645ea222d
Text fixes for consistency
2020-01-07 13:25:24 -05:00
Hierophect
6ab75fe8c5
Allow MOSI/MISO exclusion
2020-01-07 13:19:00 -05:00
arturo182
ff6d9d8a52
mimxrt10xx: Use the correct error for not implemented functionality
...
Co-Authored-By: Scott Shawcroft <scott@tannewt.org>
2020-01-07 09:29:47 +01:00
Scott Shawcroft
5b127bd78c
Merge pull request #2452 from pewpew-game/pewpew-m4-bootloader-offsets
...
Take display offsets for PewPew M4 from the bootloader config
2020-01-06 21:05:31 -08:00
Hierophect
b778aee21d
Make inclusion non-conditional
2020-01-06 17:08:52 -05:00
Hierophect
0bbeae1786
WIP edits
2020-01-06 15:37:37 -05:00
arturo182
0068bafbb6
Add MIMXRT10XX port to release build
2020-01-06 21:33:44 +01:00
arturo182
13e0cba6f1
Add initial MIMXRT10XX port
2020-01-06 21:08:49 +01:00
Jeff Epler
dd6010a17e
Fix more build problems
2020-01-06 13:35:43 -06:00
Hierophect
fff5f8eb65
Merge remote-tracking branch 'upstream/master' into stm32-meowbit
2020-01-06 11:31:25 -05:00
Hierophect
7198cc8ed6
Changes to UF2 settings, reboot working, no usb
2020-01-06 11:30:23 -05:00
Jeff Epler
b1b4a9e842
fix doc build error
2020-01-06 09:26:32 -06:00
Jeff Epler
dc729718eb
audiomp3: rename to MP3Decoder
2020-01-06 07:51:41 -06:00
Radomir Dopieralski
59ded1131f
Take display offsets for PewPew M4 from the bootloader config
...
The PewPew M4 devices come with different displays, which require
different offsets. Since the information about offsets is saved in
the bootloader, we can take it from there.
2020-01-06 14:24:30 +01:00
Dan Halbert
390337b9a5
wip; compiles
2020-01-05 23:33:42 -05:00
Hierophect
f355642eab
Boot linker edits
2020-01-04 16:29:31 -05:00
Hierophect
53238ad9b2
yaml changes
2020-01-04 13:57:38 -05:00
Hierophect
d0fab1c728
Clean up debugging edits
2020-01-04 13:53:31 -05:00
Hierophect
36088becc9
PWM Fix, plus debugging
2020-01-04 13:35:53 -05: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
Scott Shawcroft
776c9b011c
Merge pull request #2432 from tannewt/fix_nrf_uart
...
Fix nRF UART reset
2020-01-03 16:57:59 -08:00
Scott Shawcroft
f6ec1ea172
Throw an error when we cannot allocate PWM pixel buffer
2020-01-03 15:15:36 -08:00
Scott Shawcroft
6afb8dadbc
Change SPI and I2C in the same way.
2020-01-03 15:14:37 -08:00
Dan Halbert
fc5f776429
Merge pull request #2034 from rhooper/new-pixelbuf-api
...
Updates to pixelbuf API - Addresses #884
2020-01-03 17:19:02 -05:00
Dan Halbert
242d572470
wip
2020-01-03 10:24:07 -05:00
Jeff Epler
bd8650d35b
samd/peripherals: take upstream update
2020-01-02 17:55:50 -06:00
Roy Hooper
767ce1cdf8
remove unnecessary GCC pragmas
2020-01-02 18:03:18 -05:00
Roy Hooper
ccf158b030
raise mp_raise_NotImplementedError
2020-01-02 18:00:36 -05:00
Roy Hooper
fdddb54db4
rename call_show to pixelbuf_call_show
2020-01-02 17:56:04 -05:00
Jeff Epler
ec22520992
MP3File: Add rms_level property
...
This lets a music player show it vu-meter style
2020-01-02 15:23:42 -06:00
Roy Hooper
4e1996856f
Fix docstring for byteorder
2020-01-01 19:25:44 -05:00
Roy Hooper
12193913a8
move native fill to a helper to work around being unable to call a subclass show method from the native superclass
2020-01-01 17:30:17 -05:00
Roy Hooper
8129a8503a
Revert "try a property with a callable static class"
...
This reverts commit ca5b2770cf
.
2020-01-01 16:10:22 -05:00
Roy Hooper
ca5b2770cf
try a property with a callable static class
2020-01-01 16:10:01 -05:00