您尚未登录。

楼主 #1 2018-08-17 11:59:34

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

QtCreator 建立 FreeRTOS 模拟器,可以单步调试 (编写中...)

参考链接: https://www.freertos.org/FreeRTOS-simulator-for-Linux.html

QQ20180817115929.png

原作者源码下载: Posix_GCC_Simulator_6_0_4.zip


添加文件: Posix_GCC_Simulator/FreeRTOS_Posix/Debug/FreeRTOS_Posix.pro

INCLUDEPATH += ../FreeRTOS_Kernel/include/
INCLUDEPATH += ../
INCLUDEPATH += ../FreeRTOS_Kernel/portable/GCC/Posix/
INCLUDEPATH += ../Common_Demo/include/

QMAKE_LFLAGS += -lrt
LIBS += -lrt

TARGET = FreeRTOS_Posix

SOURCES += ../FileIO/fileIO.c
SOURCES += ../ParTest/ParTest.c
SOURCES += ../AsyncIO/AsyncIOSerial.c
SOURCES += ../AsyncIO/AsyncIO.c
SOURCES += ../AsyncIO/AsyncIOSocket.c
SOURCES += ../AsyncIO/PosixMessageQueueIPC.c
SOURCES += ../Common_Demo/Minimal/blocktim.c
SOURCES += ../Common_Demo/Minimal/crflash.c
SOURCES += ../Common_Demo/Minimal/QPeek.c
SOURCES += ../Common_Demo/Minimal/recmutex.c
SOURCES += ../Common_Demo/Minimal/crhook.c
SOURCES += ../Common_Demo/Minimal/countsem.c
SOURCES += ../Common_Demo/Minimal/GenQTest.c
SOURCES += ../Common_Demo/Full/PollQ.c
SOURCES += ../Common_Demo/Full/BlockQ.c
SOURCES += ../Common_Demo/Full/death.c
SOURCES += ../Common_Demo/Full/semtest.c
SOURCES += ../Common_Demo/Full/dynamic.c
SOURCES += ../Common_Demo/Full/events.c
SOURCES += ../Common_Demo/Full/print.c
SOURCES += ../Common_Demo/Full/flash.c
SOURCES += ../Common_Demo/Full/flop.c
SOURCES += ../Common_Demo/Full/integer.c
SOURCES += ../main.c
SOURCES += ../FreeRTOS_Kernel/portable/GCC/Posix/port.c
SOURCES += ../FreeRTOS_Kernel/portable/MemMang/heap_3.c
SOURCES += ../FreeRTOS_Kernel/queue.c
SOURCES += ../FreeRTOS_Kernel/tasks.c
SOURCES += ../FreeRTOS_Kernel/list.c
SOURCES += ../FreeRTOS_Kernel/croutine.c





离线

#2 2020-12-30 14:22:01

xiaohui
会员
注册时间: 2019-01-15
已发帖子: 259
积分: 122.5

Re: QtCreator 建立 FreeRTOS 模拟器,可以单步调试 (编写中...)

2020年来考古,发现这个很可以

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn