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
d35a307ffa
Merge branch 'sleep-api-update' into stm-alarm
2021-03-29 12:27:25 -04:00
microDev
a52eb88031
run code formatting script
2021-03-15 19:27:36 +05:30
Artyom Skrobov
4720dc179a
[stm] curr_pulseout
can be STATIC
...
Not used outside of PulseOut.c
2021-03-05 12:52:13 +02:00
Lucian Copeland
f1792c8474
Extract EXTI, create base sleep framework
2021-03-02 11:41:53 -05:00
Lucian Copeland
8021da08d3
Fix problematic whitespace on pulseout parameter errors
2020-08-27 11:07:47 -04:00
Scott Shawcroft
a5b01f7361
Merge remote-tracking branch 'adafruit/main' into add_pwmio
2020-08-21 11:13:53 -07:00
Scott Shawcroft
6857f98426
Split pulseio.PWMOut into pwmio
...
This gives us better granularity when implementing new ports because
PWMOut is commonly implemented before PulseIn and PulseOut.
Fixes #3211
2020-08-18 13:08:33 -07:00
Lucian Copeland
da75445cd5
Style changes, reposition runtime errors
2020-08-18 11:42:06 -04:00
Lucian Copeland
0fc730bc5a
Expand PulseOut API, debug cleanup
2020-08-14 16:36:02 -04:00
Jeff Epler
93b373d617
"pop from empty %q"
...
Saves 12 bytes code on trinket m0
2020-08-04 18:42:09 -05:00
Jeff Epler
c849b781c0
Combine 'index out of range' messages
2020-08-04 14:45:45 -05:00
Jeff Epler
dddd25a776
Combine similar strings to reduce size of translations
...
This is a slight trade-off with code size, in places where a "_varg"
mp_raise variant is now used. The net savings on trinket_m0 is
just 32 bytes.
It also means that the translation will include the original English
text, and cannot be translated. These are usually names of Python
types such as int, set, or dict or special values such as "inf" or
"Nan".
2020-08-04 13:34:29 -05:00
Lucian Copeland
c1f731d62e
Claim USB pins at startup to prevent overwrites
2020-07-22 14:22:05 -04:00
Lucian Copeland
138189bad1
Free timers when modules de-init
2020-07-22 13:58:57 -04:00
Lucian Copeland
6a49766df0
Fix pulseIO reset and frequency issues, remove IRQ conflict
2020-07-16 15:45:18 -04:00
Lucian Copeland
818b96ae61
Fix IRQ enum protections
2020-07-14 16:33:36 -04:00
Lucian Copeland
ab9a64eafa
Add timer allocator, adjust pulsio to use general purpose timers
2020-07-01 10:35:49 -04:00
Lucian Copeland
6c91af7d56
WIP
2020-06-25 17:27:01 -04:00
Scott Shawcroft
755d404edf
Merge remote-tracking branch 'adafruit/master' into lower_power
2020-04-27 16:45:10 -07:00
Mark Olsson
f9096d83ac
Enables PulseIO on STM32F7
...
Tested on nucleo_f746zg
2020-04-27 17:55:07 +02:00
Scott Shawcroft
bebf27e733
Merge remote-tracking branch 'adafruit/master' into lower_power
...
This isn't perfect and needs a bit more testing.
2020-04-20 18:25:13 -07:00
Scott Shawcroft
7dfcae6067
Tweaks from jepler
2020-04-14 17:09:48 -07:00
Scott Shawcroft
01941c027b
Fix up STM
...
Enable the Alarm IRQ earlier and correct bit clearing.
2020-04-08 14:41:57 -07:00
Scott Shawcroft
4b063aeb29
Hack up STM32 PulseIn so it builds
2020-03-31 15:12:11 -07:00
Lucian Copeland
c4db8b87e2
Add F7 and H7 Support to the STM32 port
...
Restructures the STM port of Circuitpython to be more generic about the STM32 chip lines to support
the F7 and H7 series of chips. Adds the new Packages directory to organize different chip layouts
between lines. Makes general changes to the Makefile to condense board-level flags to the minimum
and support the new chip series. Adds the new chip line to the Peripherals directory, along with
new python tools used to generate peripheral text automatically in the tools/ directory.
2020-03-26 18:01:17 -04:00
Scott Shawcroft
c0c4c4403a
Factor out stm32f4xx_hal_conf.h
2020-03-23 14:46:25 -07:00
Scott Shawcroft
2623022c84
Initial work for STM32. Need to fix us delay and PulseIn still.
2020-03-20 12:58:34 -07:00
Lucian Copeland
18442c5b00
Merge remote-tracking branch 'upstream/master' into stm32-port-namechange
2020-03-12 15:40:44 -04:00
Lucian Copeland
53b1544f41
create copy
2020-03-11 18:13:06 -04:00