RT-Thread / RT-Thread/rt-thread
[Bug] scans 生成的xmake配置文件在macosx 下的 arm-toolchain 下似乎缺少两个宏定义导致无法编译.
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
RT-Thread Version
/branch/master
Hardware Type/Architectures
/bsp/stm32/stm32f103-blue-pill
Develop Toolchain
GCC
Describe the bug
- 默认生成的xmake.lua 没有图中这两个宏定义导致无法编译
- 但是默认生成的cmake配置文件中是正确的包含了这些定义
Other additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare the generated xmake.lua for /bsp/stm32/stm32f103-blue-pill with the corresponding CMake configuration, focusing on the two macro definitions shown in the issue image. Reproduce the macOS ARM-toolchain build failure first; done means the generated xmake configuration includes the needed definitions and compiles successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system, embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100