Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kinetis branch updates (drivers, cleanup, boards, testhal) #46

Merged
merged 13 commits into from Mar 28, 2016

Conversation

flabbergast
Copy link
Contributor

Following up on utzig's core -> contrib kinetis move, I rebased my fork.

Summary:

  • consolidated drivers (moved to LLD what could have been, except possibly SPI which I can't test yet)
  • new USB driver (mostly written by RedoX, cleaned up by me and jstruebel)
  • new boards (Teensy 3.1 (works for 3.2 as well, no firmware difference) and LC, Freescale FRDM-KL26Z)
  • updated CMSIS definitions (most of the registers are there now)
  • added several testhal demos
  • anchored to current ChibiOS git (meaning startup files in os/common/startup instead of os/common/ports, stream API changes)

Most invasive changes:

  • moved register definitions to ext/CMSIS/KINETIS from the hal directories (a-la STM32 port)
  • added things to kinetis_registry (Freescale isn't making life easy, e.g. UART/UARTLP/LPUART mess)

Unfortunately the commits aren't cherry-pickable (too interconnected), but I tried to split the updates by general parts.

Note that the USB_SERIAL demos at the moment require fixing shell.c in the mainline (reported on the forums, Giovanni aware): https://gist.github.com/efcb3ebe1706fb311b62

Suggestions for improvements/changes welcome. Thanks!

@utzig utzig merged commit ac8960f into ChibiOS:master Mar 28, 2016
@utzig
Copy link
Member

utzig commented Mar 28, 2016

Too much to review thoroughly, I'm hoping for the best! ;-)

@flabbergast flabbergast deleted the kinetis branch April 4, 2016 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants