RT-Thread / RT-Thread/rt-thread

stm32cubeMX生成的 rt-thread makefile工程似乎有bug

Open
#8,938 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

我在使用stm32cubeMX配置基于stm32f103c8t6的点灯程序, 根据网上的教程配置之后, 生成了MDK-ARM 的keil5文件, 在点灯时我用了rt-thead的延时函数, 正常编译下载 显示一条龙都没错,
但是 ,我使用相同的方法配置好生成makefile 工程后, 程序编译和下载都是显示没错的, 但是板子的灯并没有呼吸, 亮灭变化, 同一个工程我切换成hal库的延时函数时, 板子就能有呼吸效果了. 我查了一圈, 似乎没有找到正确的方案, 请求帮助!

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

Reproduce the STM32CubeMX project for the STM32F103C8T6 using both the generated Keil5 and Makefile projects. Compare the RT-Thread delay behavior with the working HAL delay behavior, and inspect the generated Makefile project configuration and startup paths. Done means the Makefile build and download produce the same breathing LED behavior as the Keil project.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.