三毛 发表于 2025-4-9 11:17:59

支持支持,{:huaixiao:}

抬头看地 发表于 2025-5-23 17:18:48

抬头看地 发表于 2024-11-20 10:13
为什么报错browse information

是啊,为什么呢

一整个雨季 发表于 2025-7-18 14:34:36

作为小白想问下,和这个有什么区别呢。之前推荐的不是这吗。怎么现在成图片的这个了。

gumutian8 发表于 2025-7-24 18:24:49

port.c与putchar.c两个文件上有四叶草,函数跳不过去?

sl331 发表于 2025-12-27 23:42:47

FreeRTOS STC port V1.0.2 版本

编译时出现:{:4_167:}
FreeRTOS\portable\STC32G12K128\port.c(132): error C5: 'asm/endasm' requires src-control to be active
....
一堆错误都是出现在这个port.c里面, 只是行号不一样。
有哪位可以帮忙指教吗?
谢谢!

sl331 发表于 2025-12-27 23:44:12

FreeRTOS STC port V1.0.2 版本

编译时出现:{:4_167:}
FreeRTOS\portable\STC32G12K128\port.c(132): error C5: 'asm/endasm' requires src-control to be active
....
一堆错误都是出现在这个port.c里面, 只是行号不一样。
有哪位可以帮忙指教吗?
谢谢!

uswxumhk 发表于 2026-2-11 16:10:58

我习惯了Makefile管理,我将这个系统使用直接调用C251编译器的Makefile更改出来了,安装git bash ,在终端使用make指令编译时,会自动拉取工具链,包括KEIL,AiCube-ISP ,Gow .增加了ROM RAM使用率显示。
分享给大家,感兴趣的可以试一试。attach://131850.rar
Administrator@PC-20230414RCQN /c/g/S/s/l/Makefile-C251-FreeRTOS (AiCube)# make
Replace AiCube/Sources/inc/def.h
Update AiCube/Sources/inc/config.h
Update User/include/FreeRTOSConfig.h

L251 LINKER/LOCATER V4.66.30.0 - SN: K2DZC-DAMNGC
COPYRIGHT ARM Germany GmbH 1995 - 2014
User/STC32G_MDU32.LIB, build/FreeRTOS/portable/MemMang/heap_1.obj, build/FreeRTOS/croutine.obj, build/FreeRTOS/event_groups.obj, build/FreeRTOS/list.obj,
build/FreeRTOS/queue.obj, build/FreeRTOS/stream_buffer.obj, build/FreeRTOS/tasks.obj, build/FreeRTOS/timers.obj, build/AiCube/Sources/main.obj, build/User/App.obj, build/User/led.obj, build/FreeRTOS/portable/STC32G12K128/port.obj TO build/firmware.abs REMOVEUNUSED IXREF SYMBOLS WL(0) DISABLEWARNING(16)   
Program Size: data=11.0 edata+hdata=2975 xdata=32 const=106 code=16764
L251 RUN COMPLETE.0 WARNING(S),0 ERROR(S)
生成 firmware.abs 完成
Total Usage:
   ROM :16870/131072 (12.87%)
   RAM :   2986/4096 (72.90%)
   XRAM:   32/8192 (0.39%)

MCS 51/251 OBJECT TO HEX FILE CONVERTER V2.1d
COPYRIGHT KEIL ELEKTRONIK GmbH 2001-2009

GENERATING INTEL H386 FILE: build/firmware.hex
Administrator@PC-20230414RCQN /c/g/S/s/l/Makefile-C251-FreeRTOS (AiCube)# make help
Usage:
make toolchaininstall keil toolchain to C:/Users/Administrator/.hptools/Keil_v5_for51
make aicube   open C:/Users/Administrator/.hptools/AiCube/AiCube-ISP-v6.96R.exe
make            compile obj files and link to abs file and hex file
make clean      remove all obj files and abs file and hex file
make upload   upload hex file to /dev/ttyS38   with speed 115200 and freq 35000 KHz
make flash      compile obj files and link to abs file and hex file and upload to /dev/ttyS38   
make license    get keil license

Timer0用于FreeRTOS的系统时钟
基于C:/Users/Administrator/.hptools/AiCube/AiCube-ISP-v6.96R.exe
AiCube目录是AiCube工程所在路径,生成的代码在这个文件夹,Usr目录为自己实现功能的目录
web串口调试工具: https://www.bchrt.com/tools/serial-port-debugger/
stc32系列官网: https://www.stcai.com/
页: 1 2 [3]
查看完整版本: 【开源】STC32开源第一大案-FreeRTOS for STC32G12K128