summaryrefslogtreecommitdiff
path: root/ports/stm/common-hal/busio
AgeCommit message (Collapse)Author
2020-07-22Claim USB pins at startup to prevent overwritesLucian Copeland
2020-07-07stm: SPI: revamp pin search codeJeff Epler
I discussed with Hierophect on Discord about how to "de-nest" the code for configuring SPI objects on STM, because the problems with one nesting level per pin becomes unmanageable with the up to 10 pins of SDIO. This code (which is only compile-tested so far) demonstrates the concept we discussed. The SCK pin is always required. Loop over all possibilities of the SCK pin. When we are considering a particular item in the mcu_spi_sck_list we have now become committed to using a particular periph_index. If all the other pins can be satisfied by that periph_index, then we have a working combination. Once we have a working combination that is not reserved, we can return that combination. On reaching the end, we have checked all the possible possibilities and can give the same errors as before: One if there was a possibility that worked but was reserved; and another if no possibility worked.
2020-07-01Merge pull request #3083 from tannewt/esp32s2_busioJeff Epler
Add busio support for the ESP32-S2
2020-06-24Compiles!Scott Shawcroft
2020-06-24Add UART supportScott Shawcroft
2020-06-15Revert I2C timing overrides, reduce scope to module onlyLucian Copeland
2020-06-11Move I2C speed to clock-style definitionLucian Copeland
2020-06-10Add macros for setting correct F7 and H7 I2C timingLucian Copeland
2020-06-03Fix up end of file and trailing whitespace.Diego Elio Pettenò
This can be enforced by pre-commit, but correct it separately to make it easier to review.
2020-05-29Fix SWO/Analog overlap, style changesLucian Copeland
2020-05-27Add pin resetting across boards, fix array size detection issueLucian Copeland
2020-05-20Add UART one-way instance search, fix bugs in stm32 implementationLucian Copeland
2020-05-19Enable showing the console on a debug uartMark Olsson
2020-05-04make translate againDan Halbert
2020-04-21ringbuf testedDan Halbert
2020-04-21further ringbuf cleanupDan Halbert
2020-04-20Merge remote-tracking branch 'adafruit/master' into lower_powerScott Shawcroft
This isn't perfect and needs a bit more testing.
2020-04-13Various requested fixesLucian Copeland
2020-04-09Add busio support, cleanupLucian Copeland
2020-04-08Fix up STMScott Shawcroft
Enable the Alarm IRQ earlier and correct bit clearing.
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-20Initial work for STM32. Need to fix us delay and PulseIn still.Scott Shawcroft
2020-03-11create copyLucian Copeland