Commit Graph

14360 Commits

Author SHA1 Message Date
Scott Shawcroft
91c9d519ae
Refine comments and switch prefix_len to size_t 2019-10-22 23:09:56 -07:00
Scott Shawcroft
ece8352126
Fix build by removing unused vars 2019-10-22 17:24:04 -07:00
Dan Halbert
9d7b984f3b
Merge pull request #2239 from hierophect/remove-lib-stm32
Remove leftover lib/stm32lib
2019-10-22 17:14:31 -04:00
Hierophect
dadfa69061 remove old library 2019-10-22 13:13:22 -04:00
Hierophect
1d8a75fa3f minor WIP 2019-10-22 13:11:45 -04:00
Hierophect
ca4b7f81e5 Initial template setup 2019-10-22 11:09:46 -04:00
Scott Shawcroft
aeee15eae8
Update translations 2019-10-21 19:50:17 -07:00
Jeff Epler
4d53dd29a3 ci: don't run the "thread" tests
This part of the unix micropython port isn't related to any
functionality used in CircuitPython, and at least one of the tests
(thread_gc) fails with non-negligible frequency.

Reasons to revisit this in the future would include if/when thread
support is added in CircuitPython.
2019-10-21 20:58:07 -05:00
Scott Shawcroft
ae30a1e5aa
Refine _bleio
This PR refines the _bleio API. It was originally motivated by
the addition of a new CircuitPython service that enables reading
and modifying files on the device. Moving the BLE lifecycle outside
of the VM motivated a number of changes to remove heap allocations
in some APIs.

It also motivated unifying connection initiation to the Adapter class
rather than the Central and Peripheral classes which have been removed.
Adapter now handles the GAP portion of BLE including advertising, which
has moved but is largely unchanged, and scanning, which has been enhanced
to return an iterator of filtered results.

Once a connection is created (either by us (aka Central) or a remote
device (aka Peripheral)) it is represented by a new Connection class.
This class knows the current connection state and can discover and
instantiate remote Services along with their Characteristics and
Descriptors.

Relates to #586
2019-10-21 18:57:03 -07:00
Kamil Tomaszewski
e4574fa3bf Clean UART on reset 2019-10-21 13:17:51 +02:00
Scott Shawcroft
84c0d6cdf8
Merge pull request #2234 from Senuros/master
A few more german translations and some fixes
2019-10-20 21:35:09 -07:00
Senuros
2fd8038d87 more german translations and a few fixes 2019-10-21 03:16:11 +02:00
Scott Shawcroft
98e7579dee
Merge pull request #2230 from kamtom480/circuitpython-stack
Top and limit stack addresses
2019-10-18 10:41:00 -07:00
Kamil Tomaszewski
e2cb29f2a0 Change default stack size to 64kiB for Spresense 2019-10-18 15:43:06 +02:00
Kamil Tomaszewski
3ad13e14d8 Do not open the same UART device again 2019-10-18 12:39:52 +02:00
Kamil Tomaszewski
b39ca3f8be Do not open the same PWM device again 2019-10-18 12:39:22 +02:00
Kamil Tomaszewski
1decd111d5 Do not open the same ADC device again 2019-10-18 12:38:39 +02:00
Kamil Tomaszewski
4338511b28 Add get top and limit functions for Spresense 2019-10-18 11:10:22 +02:00
Kamil Tomaszewski
f3151bb6c4 Use get top and limit stack functions 2019-10-18 11:05:08 +02:00
Kamil Tomaszewski
96756b3945 Add functions to get top and limit stack 2019-10-18 11:04:45 +02:00
Kamil Tomaszewski
30c9ad2b2a Update Spresense SDK to 1.4.1 2019-10-18 10:29:32 +02:00
Scott Shawcroft
bd6c7c5546
Merge pull request #2223 from Senuros/master
Added more german translations and some fixes
2019-10-17 10:15:54 -07:00
Scott Shawcroft
d0d31bcc3b
Merge pull request #2224 from wallarug/wallarug/robohat_naming_fix
Changed to follow standard that Pad 0 is always TX
2019-10-17 10:14:52 -07:00
wallarug
8f2e5990db
Changed to follow standard that Pad 0 is always TX 2019-10-17 18:02:05 +11:00
Senuros
a0d1280853 Added more german translations and some fixes 2019-10-16 21:42:31 +02:00
Dan Halbert
64c1484bd7
Merge pull request #2222 from tannewt/fix_release_checks
Switch to the new release event type filter
2019-10-15 16:41:03 -04:00
Scott Shawcroft
63790f01f8
Merge pull request #2218 from CedarGroveStudios/master
Definitions for StringCar M0 Express and AT25SF161-SSHD-T 2MiB SPI flash chip
2019-10-15 09:46:39 -07:00
Scott Shawcroft
6f2e2faff2
Merge pull request #2214 from dhalbert/remove-unused-ports
Remove non-CircuitPython ports
2019-10-15 09:45:53 -07:00
Scott Shawcroft
b80048bf07
Merge pull request #2213 from dhalbert/cpu-voltage
Measure voltage supplied to chip
2019-10-15 09:45:16 -07:00
Dan Halbert
a0d18ac4e6 add dummy common_hal_mcu_processor_get_voltage() for spresense 2019-10-15 09:07:12 -04:00
Dan Halbert
eca73436c9 Merge remote-tracking branch 'adafruit/master' into cpu-voltage 2019-10-15 09:03:24 -04:00
Dan Halbert
9de155a132
Merge pull request #2220 from tannewt/support_dunder_bytes
Support __bytes__
2019-10-15 09:00:14 -04:00
Dan Halbert
fdd7ebef2d change calibration from analogin_reset() to analogin_init() 2019-10-14 23:38:41 -04:00
Scott Shawcroft
6aad70b109
Switch to the new release event type filter
Fixes #2201
2019-10-14 20:16:59 -07:00
Scott Shawcroft
1610d06bb4
Switch arg check back to allow ignored args for strings 2019-10-14 19:59:23 -07:00
Dan Halbert
820ebcbf93 update tinyusb 2019-10-14 22:52:09 -04:00
Scott Shawcroft
1a7c787d3c
Merge branch 'master' into master 2019-10-14 19:47:46 -07:00
Dan Halbert
79cea72e29 Merge remote-tracking branch 'adafruit/master' into remove-unused-ports 2019-10-14 22:45:48 -04:00
Scott Shawcroft
9435e01f9e
Support __bytes
Fixes #1763
2019-10-14 16:05:17 -07:00
arturo182
756e4a41da
Merge pull request #2219 from arturo182/IS25LP128F
Add IS25LP128F flash device definition
2019-10-15 00:26:13 +02:00
Dan Halbert
615ec7f74d merge from upstream 2019-10-14 18:12:58 -04:00
Scott Shawcroft
5971794e54
Merge pull request #2216 from jerryneedell/jerryn_nlr
restructure nlr.h for undefined archtectures
2019-10-14 14:51:51 -07:00
arturo182
e0f60d0c17 Add IS25LP128F flash device definition 2019-10-14 23:42:53 +02:00
Cedar Grove Maker Studios
2b9bb78d3e
add stringcar_m0_express to boards list 2019-10-14 14:30:32 -07:00
Scott Shawcroft
51582abc87
Merge pull request #2207 from kamtom480/circuitpython-spresense
Add Spresense board
2019-10-14 14:19:09 -07:00
Cedar Grove Maker Studios
f1ab9aaa9c
add def for AT25SF161-SSHD-T 2MiB SPI flash chip 2019-10-14 11:58:14 -07:00
Cedar Grove Maker Studios
bd608e0807
remove placeholder 2019-10-14 11:56:53 -07:00
Cedar Grove Maker Studios
b04a218bbc
initial load of stringcar m0 express defs 2019-10-14 11:56:18 -07:00
Cedar Grove Maker Studios
44ebc4c95d
establish stringcar m0 express definitions 2019-10-14 11:55:22 -07:00
Jerry Needell
051670038e restructure nlr.h for udefined archtectures 2019-10-14 07:02:32 -04:00