99 Star 439 Fork 291

OpenHarmony / kernel_liteos_m

 / 详情

请合理规划RAM使用空间

Declined
Task
Opened this issue  
2021-01-08 17:11

该问题是怎么引起的?

我移植到stm32F103RB 芯片上,使用GCC编译报错 ld 文件修改到RAM为100K时就不报错了!!!!!可是真实的芯片只有20K

c:/eclipse/gnu mcu eclipse/arm-none-eabi-gcc-9.2.1-1.1/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: STM32F103.elf section `.bss' will not fit in region `RAM'
c:/eclipse/gnu mcu eclipse/arm-none-eabi-gcc-9.2.1-1.1/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: region `RAM' overflowed by 59860 bytes
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:69: STM32F103.elf] Error 1

重现步骤

报错信息

Comments (4)

候鹏飞 created任务
候鹏飞 set related repository to OpenHarmony/kernel_liteos_m
Expand operation logs

第一个版本支持128K-128M设备上运行

第一个版本支持128K-128M设备上运行

@beta 请详细描述是RAM128K 还是Flash 128K 这两种概念是不一样的

@beta 请详细描述是RAM128K 还是Flash 128K 这两种概念是不一样的

@候鹏飞 RAM 128K

9月10日,2020华为开发者大会上,余承东宣布华为开源路标,当天鸿蒙开源面向内存小于128MB的终端设备

RAM空间会持续考虑和优化,小于百k的设备部署能力有限,不会主流推广,合理配置最大规格,是可以裁剪出适配极小资源的内核,但是不是目前我们主流考虑的,如果有强烈诉求,可以知会下场景,深入沟通或者自行裁剪,到时候可以适当给些参考

Denny changed issue state from 待办的 to 已拒绝

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
Confirm
参与者(3)
1564930 dennyshen 1615514438
C
1
https://git.oschina.net/openharmony/kernel_liteos_m.git
git@git.oschina.net:openharmony/kernel_liteos_m.git
openharmony
kernel_liteos_m
kernel_liteos_m

Search