summaryrefslogtreecommitdiff
path: root/ports/stm/common-hal/pulseio
AgeCommit message (Collapse)Author
2021-03-15run code formatting scriptmicroDev
2021-03-05[stm] `curr_pulseout` can be `STATIC`Artyom Skrobov
Not used outside of PulseOut.c
2020-08-27Fix problematic whitespace on pulseout parameter errorsLucian Copeland
2020-08-21Merge remote-tracking branch 'adafruit/main' into add_pwmioScott Shawcroft
2020-08-18Split pulseio.PWMOut into pwmioScott Shawcroft
This gives us better granularity when implementing new ports because PWMOut is commonly implemented before PulseIn and PulseOut. Fixes #3211
2020-08-18Style changes, reposition runtime errorsLucian Copeland
2020-08-14Expand PulseOut API, debug cleanupLucian Copeland
2020-08-04"pop from empty %q"Jeff Epler
Saves 12 bytes code on trinket m0
2020-08-04Combine 'index out of range' messagesJeff Epler
2020-08-04Combine similar strings to reduce size of translationsJeff Epler
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-07-22Claim USB pins at startup to prevent overwritesLucian Copeland
2020-07-22Free timers when modules de-initLucian Copeland
2020-07-16Fix pulseIO reset and frequency issues, remove IRQ conflictLucian Copeland
2020-07-14Fix IRQ enum protectionsLucian Copeland
2020-07-01Add timer allocator, adjust pulsio to use general purpose timersLucian Copeland
2020-06-25WIPLucian Copeland
2020-04-27Merge remote-tracking branch 'adafruit/master' into lower_powerScott Shawcroft
2020-04-27Enables PulseIO on STM32F7Mark Olsson
Tested on nucleo_f746zg
2020-04-20Merge remote-tracking branch 'adafruit/master' into lower_powerScott Shawcroft
This isn't perfect and needs a bit more testing.
2020-04-14Tweaks from jeplerScott Shawcroft
2020-04-08Fix up STMScott Shawcroft
Enable the Alarm IRQ earlier and correct bit clearing.
2020-03-31Hack up STM32 PulseIn so it buildsScott Shawcroft
2020-03-26Add F7 and H7 Support to the STM32 portLucian Copeland
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-23Factor out stm32f4xx_hal_conf.hScott Shawcroft
2020-03-20Initial work for STM32. Need to fix us delay and PulseIn still.Scott Shawcroft
2020-03-12Merge remote-tracking branch 'upstream/master' into stm32-port-namechangeLucian Copeland
2020-03-11create copyLucian Copeland