Dan Halbert
2c0fa0f7dc
initial merge from v1.20.0; just satisifying conflicts
2023-09-19 11:10:12 -04:00
Dan Halbert
d9ed21ea07
pre-commit
2023-08-18 13:30:45 -04:00
Dan Halbert
d582407b06
pre-commit fixes
2023-08-14 00:59:22 -04:00
Dan Halbert
2171e67c1b
merge latest adafruit/main
2023-08-13 19:43:54 -04:00
Dan Halbert
10b94796c0
wip; fix more m_malloc and gc_alloc
2023-08-11 00:30:34 -04:00
Dan Halbert
2ff8667e75
wip; remove long-lived functionality; remove PR#2614
...
Trinket M0 compile has no compilation errors, but has link errors to fix.
2023-08-08 20:41:17 -04:00
Dan Halbert
0d2c3c3f08
wip: continuing compilation fixes; mp_obj_alloc everywhere
2023-08-07 20:45:57 -04:00
Scott Shawcroft
5f082561b3
Unify some error strings
2023-07-20 11:20:32 -07:00
Scott Shawcroft
8104b824e0
Standardize CPU temp and voltage. Add autogen warning
2023-04-28 16:19:43 -07:00
hathach
a8abe8e705
remove lib from exludes, fix all remaining typos
2023-03-23 13:59:08 +07:00
hathach
fecc1bdedb
fix typos (partial) detected by codepell
2023-03-18 22:17:02 +07:00
Dan Halbert
859a48723f
Merge pull request #7633 from tannewt/fix_imx_pwm
...
Fix `pwmio` on iMX RT.
2023-02-28 14:11:06 -05:00
Dan Halbert
f9831b3bbc
Merge pull request #7639 from adafruit/8.0.x
...
Merge 8.0.x up to main
2023-02-24 19:32:09 -05:00
Scott Shawcroft
1acf65ee22
Fix pwmio
on iMX RT.
...
It now handles deinit, never_reset and sharing tracking. PWM
now runs in the WAIT state as well during a time.sleep().
_reset_ok() was removed because it was called in one spot right
before deinit().
Some PWMOut were also switched to a bitmap for use instead of
reference count. That way init and deinit are idempotent.
Fixes #6589 . Fixes #4841 . Fixes #4541 .
2023-02-22 11:22:39 -08:00
Dan Halbert
2684aeb838
don't check for RX and TX both none in ports: now checked in shared-bindings
2023-02-20 19:11:16 -05:00
Dan Halbert
6d51356324
Fix pad assignments on atmel-samd UART
2023-02-19 20:42:44 -05:00
Dan Halbert
d8231f1588
Implement safemode.py
2023-02-13 18:26:38 -05:00
Dan Halbert
fdeaf805d3
STM: off-by-one TIMx reference; other code cleanup and minor fixes
2022-11-14 13:00:32 -05:00
Matthew McGowan
97f693d2d8
docs(swan_r5): updated copyright notices
2022-11-08 14:18:54 -08:00
Matthew McGowan
ad9db01f5f
Implements PDMIn for STM32L4 using the SAI peripheral and decimation/filtering in software.
2022-11-04 17:27:08 -07:00
Dan Halbert
ded134c346
store wake_alarm in a static object
2022-10-29 16:26:36 -04:00
Dan Halbert
9307b62ad5
wip
2022-10-27 22:42:04 -04:00
microDev
b33a2b45dc
add coproc alarm
2022-10-20 18:38:20 +05:30
Florin Maticu
ab1de66dd3
Remove redundant header files.
2022-10-10 20:37:31 +02:00
Dan Halbert
db065a299f
Merge pull request #6933 from jepler/ 🥧 🐮
...
Implement a useful subset of `wifi` and `socketpool` modules on 🥧 🐮
2022-09-28 18:09:24 -04:00
Jeff Epler
346fff2e7c
cyw43 basic gpio support, hwaddr in boot_out
2022-09-28 10:06:33 -05:00
Dan Halbert
de80db681f
Merge pull request #6915 from dhalbert/ringbuf-cleanup
...
ringbuf cleanup
2022-09-25 17:50:21 -04:00
Dan Halbert
ea15a9118a
ringbuf cleanup
2022-09-21 10:03:05 -04:00
Florin Maticu
745d83adac
DFU mode implementation for STM32F4 MCU.
2022-09-18 18:24:38 +02:00
Dan Halbert
60f43b1703
allow preserving pin state during deep sleep
2022-09-15 17:35:14 -04:00
Matthew McGowan
6ee8e00936
fix(stm32): correct include path after translation header was moved
2022-06-10 17:37:33 -07:00
Matthew McGowan
a889638468
feat(swan_r5): adds a basic RTC implementation.
2022-06-10 17:37:32 -07:00
Scott Shawcroft
be67067809
Merge remote-tracking branch 'adafruit/main' into translate_header
2022-06-03 15:18:18 -07:00
EmergReanimator
e8dd5d35d6
# WARNING: head commit changed in the meantime
...
Fixed STM SPI frequency settings.
Corrected default frequency settings in common_hal_busio_spi_construct.
Fixed common_hal_busio_spi_get_frequency.
2022-05-29 16:13:38 +02:00
Scott Shawcroft
9d10a3da66
Conditionalize LTO
2022-05-27 12:59:54 -07:00
Paint Your Dragon
e9b9f0b13f
Correctly scale analog reading per issue #4794
2022-05-24 08:42:00 -07:00
Dan Halbert
f63b26c534
address jepler's comments and further squeezes
2022-05-20 10:10:55 -04:00
Dan Halbert
a01dec1df9
message consolidation and more use of validators
2022-05-19 15:38:37 -04:00
Michael Wisslead
e63a327107
Bound PulseIn start indexes to maxlen.
2022-04-28 02:28:34 +00:00
Dan Halbert
4eeaf41edc
test and adjust NeoPixel timings on multiple products
2022-04-25 23:12:24 -04:00
Scott Gauche
6827586d33
add setting SPI CLK pin pull up/down based on SPI polarity config
2022-02-19 08:46:02 -05:00
EmergReanimator
4e0bd4a27f
Fixed pre-commit script issues.
2022-02-13 08:46:24 +01:00
EmergReanimator
69aa0b4edb
Fixed lost UART data.
...
Use non-blocking HAL call to allow reception of data over UART while
transmission is active.
2022-02-12 18:51:21 +01:00
Scott Gauche
a8d8651873
Canonical C style for half_duplex = true/false
2022-02-08 23:13:22 -05:00
Scott Gauche
3b418dbddc
change half_duplex to be on spi construct
2022-02-08 21:37:38 -05:00
Scott Gauche
4110b44b8a
add support for half-duplex SPI on STM parts
2022-02-07 21:08:44 -05:00
Dan Halbert
cc410ad6a3
common-hal I2C combined write_read
2022-01-31 22:03:30 -05:00
EmergReanimator
66cf66f118
Fixed common_hal_busio_uart_deinited incorrect pin assignment check.
...
The pin must be tested instead of pin->number in the same way as in STM
I2C busio layer.
2022-01-26 17:46:42 +01:00
Timon
a1052d5f73
Initial broadcom port for Raspberry Pi
...
This targets the 64-bit CPU Raspberry Pis. The BCM2711 on the Pi 4
and the BCM2837 on the Pi 3 and Zero 2W. There are 64-bit fixes
outside of the ports directory for it.
There are a couple other cleanups that were incidental:
* Use const mcu_pin_obj_t instead of omitting the const. The structs
themselves are const because they are in ROM.
* Use PTR <-> OBJ conversions in more places. They were found when
mp_obj_t was set to an integer type rather than pointer.
* Optimize submodule checkout because the Pi submodules are heavy
and unnecessary for the vast majority of builds.
Fixes #4314
2021-11-22 14:54:44 -08:00
EmergReanimator
94866fc1e3
Merge branch 'adafruit:main' into stm
2021-11-07 14:19:54 +01:00