We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在 fal_flash.c 文件中 使用 const 声明在 nxp 环境 gcc 编译器可能会分配 0 地址
把 const 修饰去掉之后,分配的地址就正常了
The text was updated successfully, but these errors were encountered:
什么原因呢
Sorry, something went wrong.
我简单测试了一下,发现只要用到 const 声明的变量,编译器分配的 roata 段都是从 0 地址开始的,还不知道为什么会这样
No branches or pull requests
在 fal_flash.c 文件中
使用 const 声明在 nxp 环境 gcc 编译器可能会分配 0 地址
把 const 修饰去掉之后,分配的地址就正常了
The text was updated successfully, but these errors were encountered: