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

请问什么是overlay方式,缺乏这方面知识,能否给个例子? #176

Open
phoenix4ldz opened this issue Dec 8, 2023 · 2 comments

Comments

@phoenix4ldz
Copy link

NevermindZZT:
你好,感谢你的无私奉献!
你在文档中提到,关于宏配置提倡使用overlay 方式,很想知道这是什么方式,在网上也没有找到相关用法。
所以想麻烦你给个例子以便学习。

敬礼!

@NevermindZZT
Copy link
Owner

可以看一下 x86 demo 里的文件,有个 shell_cfg_user.h 里面写了配置宏,这个头文件名定义为宏 SHELL_CFG_USER,在 shell_cfg.h 中就会包含这个头文件,优先使用这里面的定义

@phoenix4ldz
Copy link
Author

感谢回复!明白怎么用了,下载的版本不是最新版本,没有看到条件编译部分。感谢!有不懂的再问。

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