Jeff Epler
60c9a57815
esp32s2: Add pin_number, reset_pin_number needed by rgbmatrix
2021-05-26 11:18:02 -05:00
Jeff Epler
6750d3feab
esp32s2: Introduce, use NO_PIN
...
GPIO_NUM_NC is -1 so it's equivalent to the existing code.
2021-05-26 11:18:02 -05:00
Scott Shawcroft
561ffec693
Merge remote-tracking branch 'adafruit/main' into simplify_status_led
2021-05-20 13:46:42 -07:00
Scott Shawcroft
1a0b4193b7
Simplify the status LED to save power
...
This also removes the need to pin share because we don't use the
status LED while user code is running.
The status flashes fallback to the HW_STATUS LED if no RGB LED is
present. Each status has a unique blink pattern as well.
One caveat is the REPL state. In order to not pin share, we set the
RGB color once. PWM and single color will be shutoff immediately but
DotStars and NeoPixels will hold the color until the user overrides
it.
Fixes #4133
2021-05-13 14:41:20 -07:00
Lucian Copeland
295103bb31
Merge remote-tracking branch 'upstream/main' into sleep-revamp
2021-05-13 16:22:12 -04:00
Lucian Copeland
525b34b042
Fix formatting and broken links
...
Implmements missed pre-commit changes for all files, and fixes links broken by
cleanup in #4698
2021-05-10 18:04:43 -04:00
Lucian Copeland
0d3c5222d8
Merge remote-tracking branch 'upstream/main' into stm-alarm
2021-05-10 17:30:33 -04:00
Scott Shawcroft
30c7aa8fc9
Merge pull request #4650 from anecdata/ap
...
wifi.radio Access Point modes
2021-05-05 08:47:55 -07:00
Randall Bohn
d1db782760
Move validation code to the right spot.
...
As MicroDev1 pointed out the problem is a divide by zero when calculating the duty cycle.
Maybe need to check again in `common_hal_pwmio_pwmout_set_frequency()`.
2021-05-03 09:16:46 -06:00
Randall Bohn
8613b9a9fe
Trim Trailing Whitespace
...
was causing pre-commit checks to fail
2021-05-03 07:41:52 -06:00
Randall Bohn
2db113f191
esp32-s2: Don't set PWMOut frequency to 0
...
FeatherS2 crashes if you set the PWMOut frequency to 0.
This change will raise `ValueError: Invalid PWM frequency` if the requested frequency is 0.
(Lifted from the atmel-samd port)
2021-05-03 07:15:39 -06:00
microDev
eebcd2eeaf
remove unsupported authmodes
2021-04-30 22:11:32 +05:30
microDev
6640db9555
make authmode settable
2021-04-30 21:35:02 +05:30
microDev
7c845818b3
Merge branch 'main' into ap
2021-04-30 17:11:22 +05:30
microDev
1b972c51c3
add authmode class
2021-04-29 18:42:36 +05:30
Lucian Copeland
9feef41c82
Merge remote-tracking branch 'upstream/main' into stm-alarm
2021-04-28 15:10:55 -04:00
Scott Shawcroft
17fcd499b2
Merge pull request #4649 from tannewt/merge_1.11_2
...
Merge MicroPython v1.11 into CircuitPython
2021-04-27 11:02:02 -07:00
Scott Shawcroft
76033d5115
Merge MicroPython v1.11 into CircuitPython
2021-04-26 15:47:41 -07:00
anecdata
a1e2afadce
AP ip_info, gateway, & subnet
2021-04-26 00:22:51 -05:00
anecdata
f20a53177b
add authmode to start_ap()
2021-04-25 18:20:18 -05:00
anecdata
747d72f5a5
redundant with system log
2021-04-25 18:18:45 -05:00
anecdata
c510c4d501
allow start/stop sta/ap (changing modes) when wifi.radio.enabled = False
2021-04-25 09:29:15 -05:00
anecdata
dc3c47d396
ap channel param
2021-04-25 00:22:08 -05:00
anecdata
354b442867
fixes
2021-04-24 19:36:11 -05:00
anecdata
2e52c0ae62
set all wifi modes; add sta start & sta/ap stop
2021-04-24 16:41:41 -05:00
anecdata
4d267ef644
add get_ipv4_address_ap
2021-04-23 21:44:34 -05:00
Dan Halbert
454e78f41f
merge #4645 from 6.2.x to main
2021-04-23 13:33:58 -04:00
anecdata
3d60ed1322
loc & common_hal start_ap(), + AP MAC getter
2021-04-22 22:55:32 -05:00
anecdata
7e95dc1261
ap additions to radio object
2021-04-22 22:23:33 -05:00
anecdata
bfc5eb1660
event_handler, init, and reset
2021-04-22 22:21:50 -05:00
Dan Halbert
f1b5249d3c
Fix esp32s2 uart.write() return value
2021-04-22 09:47:54 -04:00
Lucian Copeland
7eeea869ac
Fix light sleep global alarms, API revisions
2021-04-15 15:02:42 -04:00
Lucian Copeland
17585e1e07
Clean up API
2021-04-02 14:08:48 -04:00
Lucian Copeland
91e530d36c
Resolve wake alarm crash
2021-04-02 13:42:22 -04:00
Lucian Copeland
d35a307ffa
Merge branch 'sleep-api-update' into stm-alarm
2021-03-29 12:27:25 -04:00
Lucian Copeland
00178ca5e0
Sleep API changes, redundancy fix
2021-03-27 14:14:57 -04:00
Lucian Copeland
529fb52309
Style changes and wakeup detection
2021-03-27 13:16:12 -04:00
anecdata
c106b432c5
swap recvfrom_into() port byte-order
2021-03-22 20:03:26 -05:00
Dan Halbert
1512ca520b
Fix PWMOut non-error handling and never reset
2021-03-19 09:57:21 -04:00
Dan Halbert
b2d913412f
merge from upstream
2021-03-18 23:14:43 -04:00
gamblor21
0890b54cd9
More formatting
2021-03-16 08:29:04 -05:00
gamblor21
fb437d8280
Formatting fixes
2021-03-16 08:22:02 -05:00
Mark
e326d7ca80
Merge branch 'main' into rp_dp_parallel
2021-03-15 20:00:13 -05:00
microDev
a52eb88031
run code formatting script
2021-03-15 19:27:36 +05:30
Dan Halbert
0ce5b2f594
put back pullup setting
2021-03-12 08:20:09 -05:00
gamblor21
56a219911f
Add frequency support to parallel bus
2021-03-11 19:32:43 -06:00
Lucian Copeland
6b2c9985ff
Extract RTC, implement fake RTC deepsleep
2021-03-11 17:50:05 -05:00
Dan Halbert
f75a009ed4
fix unnecessary statement order change
2021-03-11 15:16:32 -05:00
Dan Halbert
08c5dbb003
use return values in STM PWMOut constructor, not exceptions
2021-03-11 08:52:47 -05:00
Dan Halbert
26eb429cc6
restore install/delete for i2c driver
2021-03-07 18:23:14 -05:00