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

如何将汇编文件cmb_fault.S加入到Makefile中参加编译?(工程没有使用IDE,使用的gcc工具链 Makefile脚本进行编译的) #88

Open
lingyun0129 opened this issue Dec 3, 2024 · 1 comment

Comments

@lingyun0129
Copy link

如题,想要将cm_backtrace移植至 模组SDK中,如何添加cmb_fault.S文件至工程的 makefile中

@leopoldcao
Copy link

leopoldcao commented Dec 24, 2024

在makefile中 ASM_SOURCES添加cmb_fault.s就行 ,记得将大写后缀.S 改为小写的.s 源文件也是一样

#ASM sources
ASM_SOURCES = \
startup_stm32f405xx.s \
cmb_fault.s

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

No branches or pull requests

2 participants