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
Scott Shawcroft
40118bcf57
Add board_deinit
for use with sleep
...
This changes lots of files to unify `board.h` across ports. It adds
`board_deinit` when CIRCUITPY_ALARM is set. `main.c` uses it to
deinit the board before deep sleeping (even when pretending.)
Deep sleep is now a two step process for the port. First, the
port should prepare to deep sleep based on the given alarms. It
should set alarms for both deep and pretend sleep. In particular,
the pretend versions should be set immediately so that we don't
miss an alarm as we shutdown. These alarms should also wake from
`port_idle_until_interrupt` which is used when pretending to deep
sleep.
Second, when real deep sleeping, `alarm_enter_deep_sleep` is called.
The port should set any alarms it didn't during prepare based on
data it saved internally during prepare.
ESP32-S2 sleep is a bit reorganized to locate more logic with
TimeAlarm. This will help it scale to more alarm types.
Fixes #3786
2020-12-08 10:52:25 -08:00
Dan Halbert
1df033465a
Merge pull request #3806 from pewpew-game/rotarydoc
...
Remove warning about lack of support on M0 from rotaryio
2020-12-08 13:20:03 -05:00
Radomir Dopieralski
2c546ab768
Remove warning about lack of support on M0 from rotaryio
...
It seems that this warning no longer applies.
2020-12-08 15:54:34 +01:00
microDev
fc23a0cc8a
implement ota module
2020-12-08 11:30:00 +05:30
Bernhard Boser
413885a529
fix typspec in function declarations
2020-12-07 17:45:21 -08:00
Bernhard Boser
9903c9e855
fixed (?) typespec for callback functions
2020-12-07 16:50:52 -08:00
Bernhard Boser
5875a27fa8
removed extra triple quote
2020-12-07 16:32:38 -08:00
Bernhard Boser
9412c3f58e
moved misplaced triple-quote
2020-12-07 16:22:09 -08:00
Bernhard Boser
534b48fcfe
remove a ~ from doc that causes an error; add ExtType.c to circuitpy_defns.mk
2020-12-07 16:08:16 -08:00
Bernhard Boser
b5b6b6d0f2
add ExtType, update doc, add a test
2020-12-07 15:40:02 -08:00
Dan Halbert
054eafd42f
Merge pull request #3797 from dhalbert/reset-reason-run-reason-available
...
Make ResetReason and RunReason available
2020-12-07 15:41:45 -05:00
Dan Halbert
169b487509
Include wifi.radio singleton in gc
2020-12-07 11:07:56 -05:00
Dan Halbert
9391c8f9dd
Make ResetReason and RunReason available
2020-12-06 12:00:00 -05:00
Dan Halbert
2f0e676fcb
update doc per review
2020-12-03 22:06:02 -05:00
Dan Halbert
57fa6bece8
allow radio.enabled to be settable
2020-12-03 21:27:35 -05:00
Scott Shawcroft
1130b80e2a
Merge pull request #3612 from gamblor21/bus_device
...
Moving Adafruit_CircuitPython_BusDevice to core
2020-12-02 13:23:02 -08:00
Scott Shawcroft
608c98501b
Merge remote-tracking branch 'adafruit/main' into msgpack
2020-12-02 13:10:39 -08:00
Bernhard Boser
44bc75af37
output little endian; update example
2020-12-01 18:38:47 -08:00
Bernhard Boser
f38bd59c6b
added signatures to documenation
2020-12-01 18:38:15 -08:00
Bernhard Boser
e19782633a
removed blanks to make pre-commit check happy
2020-12-01 18:38:14 -08:00
Bernhard Boser
513253bc3f
moved logic to shared-module and added documentation
2020-12-01 18:38:14 -08:00
Bernhard Boser
90c203a3dd
add module msgpack
2020-12-01 18:38:14 -08:00
Dan Halbert
72fa7d88b8
fix doc errors
2020-12-01 20:13:46 -05:00
Dan Halbert
8b7c23c1ee
address review comments
2020-12-01 20:01:14 -05:00
gamblor21
d3bbb99e07
Fixing stubs
2020-12-01 17:49:15 -06:00
Mark
237385798c
Merge branch 'main' into bus_device
2020-12-01 15:47:16 -06:00
Dan Halbert
65e2fe4654
fix stub problems; touch up doc
2020-11-27 23:27:15 -05:00
Dan Halbert
596e0e4bd2
merge from upstream
2020-11-27 16:06:57 -05:00
Dan Halbert
e308a9ec11
working! PinAlarm not implemented yet.
2020-11-27 16:03:37 -05:00
Dan Halbert
104a089677
deep sleep working; deep sleep delay when connected
2020-11-26 22:06:37 -05:00
Jeff Epler
7923aa0a62
Merge pull request #3708 from hierophect/esp32s2-udp
...
ESP32-S2: Add UDP with recvfrom_into and sendto
2020-11-25 21:11:20 -06:00
Jeff Epler
6fd123a5c4
Merge pull request #3758 from tannewt/update_connect_doc
...
Update wifi.Radio.connect doc
2020-11-25 21:09:56 -06:00
Dan Halbert
ef0830bfe2
merge from upstream + wip
2020-11-25 17:52:06 -05:00
Dan Halbert
9dbea36eac
changed alarm.time API
2020-11-25 15:09:27 -05:00
Dan Halbert
f868cc5dd0
some API renaming and bug fixes; fix docs
2020-11-24 23:37:05 -05:00
arturo182
ca1a85c47f
displayio: Fix ColorConverter make_* methods
2020-11-25 03:39:14 +01:00
Scott Shawcroft
4ac11c8d31
Update wifi.Radio.connect doc
...
Now it includes bssid info.
2020-11-24 17:54:39 -08:00
hierophect
510f464234
Merge branch 'main' into esp32s2-udp
2020-11-24 18:28:10 -05:00
Lucian Copeland
ba6e15b070
Fix stubs
2020-11-24 11:32:18 -05:00
microDev
9dd1783da5
Merge branch 'main' into ps2io-S2
2020-11-24 11:11:11 +05:30
Dan Halbert
7a45afc549
working, but need to avoid deep sleeping too fast before USB ready
2020-11-23 22:44:53 -05:00
Lucian Copeland
8ffd973e22
Merge remote-tracking branch 'upstream/main' into esp32s2-udp
2020-11-23 18:40:14 -05:00
Dan Halbert
3abee9b256
compiles; maybe ready to test, or almost
2020-11-22 21:52:37 -05:00
Dan Halbert
a0f1ec3c4a
wip
2020-11-22 19:10:09 -05:00
Dan Halbert
75559f35cc
wip: ResetReason to microcontroller.cpu
2020-11-21 23:29:52 -05:00
Dan Halbert
e4c66990e2
compiles
2020-11-20 23:33:39 -05:00
Dan Halbert
39e1f52e28
wip; not compiling yet
2020-11-19 17:47:12 -05:00
Dan Halbert
649c930536
wip
2020-11-19 15:43:39 -05:00
microDev
b56645808c
fix crash on user code exit
2020-11-19 11:44:22 +05:30
Dan Halbert
5bb3c321e9
merge from main
2020-11-19 00:29:14 -05:00