Skip to content

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 kumar.gala@linaro.org

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 <kumar.gala@linaro.org>
@galak galak requested review from a user and vanti February 6, 2020 18:14
@vanti
Copy link
Contributor

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