RT-Thread / RT-Thread/rt-thread

关于野火霸道开发版的bsp包,本地编译后显示Undefined symbol rt_condvar_init (referred from pipe.o)问题

Open
#8,793 1 comment 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版本5.1.0,当使用keil5编译bsp\stm32\stm32f103-fire-arbitrary的时候,出现Undefined symbol rt_condvar_init (referred from pipe.o),发现在Kernel文件夹中没有包含condvar.c文件.
图片
将./components/drivers/ipc/condvar.c加入到工程中即可
图片

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

Start with the Keil 5 project for bsp/stm32/stm32f103-fire-arbitrary and inspect how source files from the Kernel folder are included. Compare it with components/drivers/ipc/condvar.c, then build the RT-Thread 5.1.0 BSP and confirm that the undefined rt_condvar_init reference is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system, embedded-iot, operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.