如何在Raspberry Pi上安装FreeRTOS?

Ale*_*x44 6 linux installation linux-kernel freertos raspberry-pi

我的目标是在Raspberry Pi上从这个站点运行FreeRTOS .我arm-none-eabi-gcc在Linux机器上使用它构建它.

现在我有这个文件/文件夹:

RaspberryPi-FreeRTOS/
??? build
?   ??? Demo
?   ?   ??? Drivers
?   ?   ?   ??? gpio.d
?   ?   ?   ??? gpio.o
?   ?   ?   ??? irq.d
?   ?   ?   ??? irq.o
?   ?   ??? main.d
?   ?   ??? main.o
?   ?   ??? startup.o
?   ??? FreeRTOS
?       ??? Source
?           ??? croutine.d
?           ??? croutine.o
?           ??? list.d
?           ??? list.o
?           ??? portable
?           ?   ??? GCC
?           ?   ?   ??? RaspberryPi
?           ?   ?       ??? port.d
?           ?   ?       ??? portisr.d
?           ?   ?       ??? portisr.o
?           ?   ?       ??? port.o
?           ?   ??? MemMang
?           ?       ??? heap_4.d
?           ?       ??? heap_4.o
?           ??? queue.d
?           ??? queue.o
?           ??? tasks.d
?           ??? tasks.o
??? dbuild.config.mk
??? Demo
?   ??? Drivers
?   ?   ??? bcm2835_intc.h
?   ?   ??? gpio.c
?   ?   ??? gpio.h
?   ?   ??? irq.c
?   ?   ??? irq.h
?   ??? FreeRTOSConfig.h
?   ??? main.c
?   ??? startup.s
??? FreeRTOS
?   ??? Source
?       ??? croutine.c
?       ??? include
?       ?   ??? croutine.h
?       ?   ??? FreeRTOSConfig.h
?       ?   ??? FreeRTOS.h
?       ?   ??? list.h
?       ?   ??? mpu_wrappers.h
?       ?   ??? portable.h
?       ?   ??? projdefs.h
?       ?   ??? queue.h
?       ?   ??? semphr.h
?       ?   ??? StackMacros.h
?       ?   ??? task.h
?       ?   ??? timers.h
?       ??? list.c
?       ??? portable
?       ?   ??? GCC
?       ?   ?   ??? RaspberryPi
?       ?   ?       ??? port.c
?       ?   ?       ??? portisr.c
?       ?   ?       ??? portmacro.h
?       ?   ??? MemMang
?       ?       ??? heap_1.c
?       ?       ??? heap_2.c
?       ?       ??? heap_3.c
?       ?       ??? heap_4.c
?       ??? queue.c
?       ??? tasks.c
?       ??? timers.c
??? kernel.elf
??? kernel.img
??? kernel.list
??? kernel.map
??? kernel.syms
??? Makefile
??? objects.mk
??? raspberrypi.ld
??? README.md
Run Code Online (Sandbox Code Playgroud)

将FreeRTOS带到Pi的下一步是什么?

提前致谢.

亚历克斯

rak*_*ib_ 5

要开始使用,请使用推荐用于树莓派的现有操作系统的帮助,例如:raspbian。启动内核所需的所有东西(引导加载程序)都在那里。所以先安装raspbian,然后从SD卡中找到raspbian自己的kernel.img,重命名并备份,然后将freertos复制kernel.img到SD卡中,然后尝试启动。希望这会起作用。确保RaspberryPi版本和freertos版本没问题。