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

Migrating from StellarisWare to TivaWare #261

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CunningLearner
Copy link

This patch supports new platforms available under same TivaWare umbrella,
enhances portability and correct architectural deficiencies and inconsistencies
in StellarisWare.

  • Add latest TivaWare_C_Series driverlib
  • Replace existing LM4F120H5QR with its relative part TM4C1233H6PM

More detailed features for further migration can be referenced from:
http://www.ti.com/lit/an/spma050a/spma050a.pdf

Tested on Tiva C series TM4C123GH6PM.

Signed-off-by: Himanshu Sahdev aka CunningLearner [email protected]

This patch supports new platforms available under same TivaWare umbrella,
enhances portability and correct architectural deficiencies and inconsistencies
in StellarisWare.

* Add latest TivaWare_C_Series driverlib
* Replace existing LM4F120H5QR with its relative part TM4C1233H6PM

More detailed features for further migration can be referenced from:
http://www.ti.com/lit/an/spma050a/spma050a.pdf

Tested on Tiva C series TM4C123GH6PM.

Signed-off-by: Himanshu Sahdev aka CunningLearner <[email protected]>
@travisg
Copy link
Member

travisg commented May 16, 2020

Oh very nice! I'll have to try it out on my old tiva boards. I do remember TI renaming everything while I still had my stellaris board.

@travisg
Copy link
Member

travisg commented May 17, 2020

This looks nice, but there is a built failure or two in there, can you take a look? I have my old Tiva C launchpad ready to test this on.

@CunningLearner
Copy link
Author

This looks nice, but there is a built failure or two in there, can you take a look? I have my old Tiva C launchpad ready to test this on.

Yeah, the problem is with the toolchain arm-eabi-7.3.0-Linux-x86_64 I guess, I am using arm-none-eabi-7-2018-q3-update and it works fine! Also check using their respective higher versions available.

driverlib/hibernate.c needs time.h which is not included in the arm-eabi but is available with arm-none-eabi. travis-build only uses arm-eabi and throws error

  1. Removing hibernate.c from MODULE_SRCS works well. So we can push initially without including it in rules.mk You can also test it initially
  2. Both StellarisWare and TivaWare looks for arm-stellaris-eabi if it exists, fallback to arm-none-eabi otherwise. Can we use arm-none-eabi for travis-build as well?
  3. ?

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.

2 participants