Dan Halbert
d7305182f0
Remove adafruit_bus_device.SPIDevice.spi
2021-02-11 10:33:57 -05:00
Jeff Epler
ba2b65586f
sdcardio: add a note about sharing the SPI bus with SD cards and other devices
...
Similar to https://github.com/adafruit/Adafruit_CircuitPython_SD/pull/44
2021-02-09 10:07:21 -06:00
Dan Halbert
3a68ac8abb
Merge pull request #3536 from pewpew-game/pew-get-ticks
...
Fix #3504 : Don't use time module in pew.tick()
2021-02-08 17:50:44 -05:00
Dan Halbert
be500fd15c
Merge pull request #4136 from hierophect/socket-portmax
...
Socket: fix inconsistencies in argument types
2021-02-08 16:23:20 -05:00
Dan Halbert
f66caa29b9
Merge pull request #4146 from gamblor21/busdevice_write_read_fix
...
Fix write_then_readinto in adafruit_bus_device I2CDevice
2021-02-08 11:33:06 -05:00
Dan Halbert
1b7f3d11e7
wip
2021-02-08 10:57:41 -05:00
gamblor21
ea4a12005a
Fix write_then_readinto
2021-02-06 10:33:38 -06:00
Lucian Copeland
4d26ffb447
Make timeout core types consistent
2021-02-05 12:32:41 -05:00
Scott Shawcroft
9140bfb5b2
Merge pull request #4049 from hierophect/sslsocket
...
Separate SSLSocket from Socket
2021-02-02 10:35:07 -08:00
Scott Shawcroft
a861498404
Merge pull request #4114 from tannewt/spidevice_spi
...
Add .spi accessor to SPIDevice
2021-02-02 09:53:10 -08:00
Scott Shawcroft
8fd6bff727
Add .spi accessor to SPIDevice
...
Fixes #4108
2021-02-01 20:03:23 -08:00
Scott Shawcroft
8789a2c8a9
Merge pull request #4110 from microDev1/rtc-rp
...
RP2040: Support for RTC
2021-02-01 19:47:44 -08:00
Scott Shawcroft
db7a962802
Merge pull request #4112 from gamblor21/longint_busdevice_fix
...
Fixed for boards without longint
2021-02-01 19:24:57 -08:00
gamblor21
0cf2df48c4
Fixed for boards without longint
2021-02-01 17:58:34 -06:00
microDev
ec03267035
rtc implementation for rp2040
2021-02-02 00:00:00 +05:30
Dan Halbert
459f323247
Merge pull request #4087 from DavePutz/cpu_temp_doc
...
Fixing microcontroller.cpu on multi-core cpus and adding microcontroller.cpus
2021-02-01 12:50:37 -05:00
Lucian Copeland
66639b237f
Merge remote-tracking branch 'upstream/main' into sslsocket
2021-02-01 11:43:01 -05:00
Lucian Copeland
8277ffca86
Fix hash, close, error bugs
2021-02-01 11:04:12 -05:00
root
e1838ff335
Fix typo in documentation.
2021-01-29 11:57:36 -06:00
Lucian Copeland
a724f6f954
Fix documentation builds
2021-01-29 11:58:02 -05:00
root
cfd6ffc649
Adding files for cpu temperature fix
2021-01-28 16:06:30 -06:00
Jeff Epler
0098909757
RGBMatrix: change default to serpentine=True
...
The "serpentine" display order leads to much better wiring (shorter
ribbon cables) and is preferred. Change the default accordingly.
2021-01-28 11:42:19 -06:00
Scott Shawcroft
45b3c9ae42
Merge pull request #4068 from jepler/update-protomatter-tiling
...
protomatter: Update to version that supports tiling
2021-01-26 17:31:26 -08:00
Jeff Epler
189ec2fc60
Disallow tile=0
2021-01-26 16:51:31 -06:00
Jeff Epler
20c9f25a65
rgbmatrix: Eliminate some duplicated height-calculating code
...
This was hard to write, so let's have it written in 2 places instead
of 4.
2021-01-26 14:35:26 -06:00
Jeff Epler
368977fb90
RGBMatrix: Additional tile tweaks
...
* Introduce explicit serpentine: bool argument instead of using negative
numbers (thanks, ghost of @tannewt sitting on one shoulder)
* Fix several calculations of height
Testing performed (matrixportal):
* set up a serpentine 64x64 virtual display with 2 64x32 tiles
* tried all 4 rotations
* looked at output of REPL
2021-01-26 14:33:48 -06:00
Lucian Copeland
815ab5277b
Fix stubs error, out of sockets error, invalid TLS leak
2021-01-26 14:13:12 -05:00
Dan Halbert
13812a788f
Merge pull request #4060 from dhalbert/regularize-extmod-modules
...
CIRCUITPY_* switches for JSON, RE, etc. Doc cleanup
2021-01-26 12:54:21 -05:00
root
ccdc97d23e
Update documentation for microprossors with multiple cpus
2021-01-26 09:47:21 -06:00
Jeff Epler
51f0544405
protmatter: Update to version that supports tiling
2021-01-26 09:19:44 -06:00
Scott Shawcroft
4241fd4b18
Merge pull request #4051 from jamesbowman/main
...
EVE: change fixed-point integer arguments to floating point
2021-01-25 14:44:48 -08:00
Scott Shawcroft
a2ac2da7cc
Merge pull request #3936 from gamblor21/busdevice_fixes
...
Changing adafruit_bus_device to duck typing
2021-01-25 14:41:53 -08:00
Lucian Copeland
9f34ec78c4
Separate Socket and SSLSocket, add LWIP connect
2021-01-25 17:07:25 -05:00
Dan Halbert
69869e1439
CIRCUITPY_* switches for JSON, RE, etc. Doc cleanup
2021-01-24 23:10:20 -05:00
James Bowman
dff3423c23
Change from fixed-point integer arguments to floating point in EVE API functions
...
Changed calls: PointSize(), LineWidth(), VertexTranslateX() and VertexTranslateY()
Units for all the above are now pixels, not fixed-point integers. This matches OpenGL.
Docstrings updated accordingly
2021-01-22 15:52:46 -08:00
Scott Shawcroft
10a44af536
Merge pull request #3980 from anecdata/reasons2
...
ESP32-S2 update docs to match code usage of IPPROTO_*
2021-01-21 15:16:55 -08:00
hierophect
f88a896c03
Merge pull request #3854 from hierophect/esp-tcpserver
...
ESP32S2: Implement TCP Server bindings
2021-01-21 17:25:14 -05:00
Scott Shawcroft
2b4ad1ed03
Fix warnings that come from -O3 (I think)
2021-01-20 19:16:56 -08:00
Scott Shawcroft
733094aead
Add initial RP2040 support
...
The RP2040 is new microcontroller from Raspberry Pi that features
two Cortex M0s and eight PIO state machines that are good for
crunching lots of data. It has 264k RAM and a built in UF2
bootloader too.
Datasheet: https://pico.raspberrypi.org/files/rp2040_datasheet.pdf
2021-01-20 19:16:56 -08:00
gamblor21
d3995eaf97
Fixes from draft PR
2021-01-16 14:21:57 -06:00
gamblor21
b609bc0124
Removed unused include
2021-01-16 14:21:57 -06:00
gamblor21
ea0e2f80b7
Changing to duck-typing
2021-01-16 14:21:57 -06:00
Lucian Copeland
287770f885
Merge remote-tracking branch 'upstream/main' into esp-tcpserver
2021-01-14 10:21:08 -05:00
anecdata
8febdee264
Rename to match WIFI_REASON. Also include specific error code in "Unknown failure" Exception.
2021-01-13 23:47:23 -06:00
anecdata
d1249fbe47
Include all reason codes.
2021-01-13 23:46:52 -06:00
Lucian Copeland
37a8c1c575
Complete non-blocking implementations, add socket close checking
2021-01-13 19:05:07 -05:00
anecdata
e703e06595
Update shared-bindings/socketpool/SocketPool.c
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-01-13 11:17:37 -06:00
Lucian Copeland
4cdb298a20
WIP of non-blocking calls
2021-01-12 15:05:28 -05:00
anecdata
f07dd487af
change IPPROTO_* comments to match usage in current shared-bindings and common-hal code
2021-01-12 13:49:50 -06:00
Jeff Epler
1ca29ec47c
Merge remote-tracking branch 'origin/main' into audioout-esp32
2021-01-12 09:23:07 -06:00
Scott Shawcroft
4db55652a3
Merge pull request #3964 from dhalbert/ble-timing-fixes
...
Round BLE timing values; fix timeout check
2021-01-11 16:52:14 -08:00
Scott Shawcroft
081249f796
Merge pull request #3944 from BennyE/wifi-authmode
...
esp32-s2: Adding authmode keyword
2021-01-11 16:05:28 -08:00
Scott Shawcroft
91245297e8
Merge pull request #3659 from iot49/msgpack
...
module msgpack
2021-01-11 15:22:39 -08:00
Dan Halbert
a397af9bdf
Round BLE timing values; fix timeout check
2021-01-10 13:16:19 -05:00
Dan Halbert
dd10c534c5
restore len(alarm.sleep_memory) and bool(alarm.sleep_memory)
2021-01-08 22:32:23 -05:00
Jeff Epler
30c6dd3f76
Merge remote-tracking branch 'origin/main' into audioout-esp32
2021-01-07 14:11:14 -06:00
BennyE
66d87782be
Adding authmode keyword
2021-01-06 23:52:30 +01:00
Scott Shawcroft
cdad59fbc2
Fix doc build with extra blank lines
2021-01-06 09:03:58 -08:00
iot49
1a82555803
Merge branch 'main' into msgpack
2021-01-05 11:19:11 -08:00
Bernhard Boser
90a299bb1e
added //| to (hopefully) get CI to pass
2021-01-05 11:17:09 -08:00
@brrzap
df4c028d29
_pixelbuf: error check in brightness setter ( fix #3753 )
2021-01-01 19:49:20 -05:00
microDev
0bad6110d4
update wake-alarm implementation
2020-12-31 02:44:20 +05:30
microDev
28ce5e8988
Merge branch 'main' into touch-s2
2020-12-30 22:44:22 +05:30
Jeff Epler
2cd377f1a7
audiobusio: Make PDMIn optional
2020-12-29 14:06:32 -06:00
Scott Shawcroft
c3396e4b49
Merge pull request #3868 from BennyE/wifi-enhancement-countrycode
...
esp32-s2: wifi enhancement to include countrycode
2020-12-28 11:49:41 -08:00
Dan Halbert
8061a2574d
Merge branch 'main' into pin_alarm
2020-12-23 22:05:02 -05:00
Dan Halbert
a11ad25727
BLE fixes
2020-12-23 16:39:27 -05:00
Scott Shawcroft
1fca297a2d
A couple sleep fixes
...
* Better messaging when code is stopped by an auto-reload.
* Auto-reload works during sleeps on ESP32-S2. Ticks wake up the
main task each time.
* Made internal naming consistent. CamelCase Python names are NOT
separated by an underscore.
2020-12-22 16:13:02 -08:00
Dan Halbert
d4e9eea397
mark alarm.wake_alarm during gc sweep
2020-12-22 08:11:01 -08:00
Scott Shawcroft
6347a3fcdb
Merge pull request #3812 from microDev1/ota-s2
...
Support for OTA update
2020-12-21 18:46:13 -08:00
Lucian Copeland
75620884e6
Fix stubs, recv_into error
2020-12-21 13:26:43 -05:00
Lucian Copeland
32736dd2c3
Implement server API
2020-12-20 17:12:03 -05:00
microDev
ecd7c0878e
expose wake pin parameter and more tweaks
2020-12-19 20:54:36 +05:30
Jeff Epler
6c4df5a8b4
adafruit_bus_device: Don't transmit STOP condition in write_then_readinto
...
Closes #3795
2020-12-18 11:13:54 -06:00
microDev
8eaf2b0c19
implement touch alarm
2020-12-18 12:54:36 +05:30
microDev
4512290ba0
Merge branch 'main' into ota-s2
2020-12-18 00:44:00 +05:30
microDev
4863413bc9
rename ota to dualbank
2020-12-18 00:34:56 +05:30
Dan Halbert
8f9cd7075e
Merge pull request #3752 from jepler/gcc10
...
build: Update to gcc10
2020-12-17 11:03:40 -05:00
Scott Shawcroft
1ad49d9a18
Add alarm.pin that wakes on pin level
...
Fixes #3787
2020-12-15 18:12:59 -08:00
Jeff Epler
3c4562c3ca
camera: Provide correct forward-declaration of camera_imageformat_type
...
This resolves the build error
```
arm-none-eabi-ld: build-spresense/libmpy.a(Camera.o):(.rodata.camera_imageformat_type+0x0): multiple definition of `camera_imageformat_type'; build-spresense/libmpy.a(__init__.o):(.rodata.camera_imageformat_type+0x0): first defined here
arm-none-eabi-ld: build-spresense/libmpy.a(ImageFormat.o):(.rodata.camera_imageformat_type+0x0): multiple definition of `camera_imageformat_type'; build-spresense/libmpy.a(__init__.o):(.rodata.camera_imageformat_type+0x0): first defined here
arm-none-eabi-ld: build-spresense/libmpy.a(Camera.o):(.rodata.camera_imageformat_type+0x0): multiple definition of `camera_imageformat_type'; build-spresense/libmpy.a(__init__.o):(.rodata.camera_imageformat_type+0x0): first defined here
```
2020-12-15 10:40:24 -06:00
Dan Halbert
e0afa32cfa
use RTC_DATA_ATTR; address review comments
2020-12-14 11:36:54 -05:00
BennyE
210c0ec89c
add country(code) to wifi network objects)
2020-12-13 13:32:12 +01:00
microDev
37ee5e683d
Merge branch 'main' into ota-s2
2020-12-12 05:25:46 +05:30
microDev
92098ca06b
update docs, implement suggested changes
2020-12-12 05:15:25 +05:30
Scott Shawcroft
344d3c59cb
Merge branch 'main' into msgpack
2020-12-11 11:10:30 -08:00
microDev
08e94e6a20
add more docs
2020-12-11 22:55:22 +05:30
Dan Halbert
39124b888b
doc fixes
2020-12-11 09:03:45 -05:00
Dan Halbert
cf938983e9
SleepMemory + set alarm.wake_alarm
2020-12-11 08:10:26 -05:00
Bernhard Boser
d29184b5a0
try without ... in docs
2020-12-10 12:15:43 -08:00
microDev
cb35abfd04
add docs, update translation & fix ota.flash()
2020-12-11 01:01:01 +05:30
Bernhard Boser
6d2329fb09
add blank lines after all comment sections
2020-12-10 10:59:26 -08:00
Dan Halbert
5964163649
Initial SleepMemory code
2020-12-10 13:03:40 -05:00
microDev
07015ad527
add ability to switch boot partition
2020-12-10 16:42:45 +05:30
microDev
bfa2c604ef
add ability to flash in discontinuous chunks
2020-12-10 15:45:25 +05:30
microDev
dee86a014b
factor out esp_ota_end
2020-12-10 14:04:24 +05:30
Bernhard Boser
3c724321d8
cosmetics
2020-12-09 12:01:09 -08:00
Mike Causer
eedcc98cc5
Fix some spelling mistakes
2020-12-10 02:52:18 +11:00
Bernhard Boser
a5c3dc286c
typing ...
2020-12-08 15:48:56 -08:00
Bernhard Boser
9e7a7b9dc4
uglify typing hints
2020-12-08 14:38:20 -08:00
Bernhard Boser
1f14d39364
remove two extra closing angular brackets
2020-12-08 11:50:45 -08:00