RT-Thread / RT-Thread/rt-thread

[Bug] scans 生成的xmake配置文件在macosx 下的 arm-toolchain 下似乎缺少两个宏定义导致无法编译.

Open
#10,440 0 comments 0 reactions 0 assignees View on GitHub

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
  1. 默认生成的xmake.lua 没有图中这两个宏定义导致无法编译
  2. 但是默认生成的cmake配置文件中是正确的包含了这些定义

Image

Other additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.