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

simplelink: Fix clang-llvm compiler errors/warnings #6

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

Conversation

galak
Copy link
Contributor

@galak galak commented Feb 6, 2020

Fix inline assembly issues related to clang/llvm. Mostly related
errors of the form:

driverlib/cpu.h:373:28: error: parameter references not allowed in
naked functions

or
driverlib/cpu.c:253:5: error: non-ASM statement in naked function is
not supported

Signed-off-by: Kumar Gala [email protected]

Fix inline assembly issues related to clang/llvm.  Mostly related
errors of the form:

driverlib/cpu.h:373:28: error: parameter references not allowed in
                        naked functions

or
driverlib/cpu.c:253:5: error: non-ASM statement in naked function is
                       not supported

Signed-off-by: Kumar Gala <[email protected]>
@galak galak requested review from vanti and a user February 6, 2020 18:14
@vanti
Copy link
Collaborator

vanti commented Feb 7, 2020

Not being an expert in ARM assembly, I compared your changes to the corresponding files in TI SimpleLink SDK 3.40.00.02 which has clang support (see attached). The changes look close enough to me - maybe you will find a few more things you wish to copy over, if you haven't seen these files already.

In the medium term I have it on my todo list to upgrade to the latest SDK so that we can take advantage of fixes such as these.

driverlib.zip

@cfriedt
Copy link
Member

cfriedt commented Oct 31, 2022

@galak @vanti - is this still needed?

@cfriedt
Copy link
Member

cfriedt commented Apr 9, 2023

@vaishnavachath - PTAL

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.

4 participants