[求助] harmony os 移植

cqh963852
Posts: 10
Joined: Fri Dec 11, 2020 1:17 pm

[求助] harmony os 移植

Postby cqh963852 » Sat Mar 27, 2021 2:36 pm

请问有没有人做过harmony os的移植。
读了下harmony os移植的手册。对esp32的话,应该是要做芯片架构的适配。
本人没有相关的工作经验,有人能帮忙推测下芯片架构适配的难度吗?

flodejr
Posts: 1
Joined: Sat Jun 05, 2021 10:17 am

Re: [求助] harmony os 移植

Postby flodejr » Sat Jun 05, 2021 10:22 am

Hi,

From what I understand about harmony OS, the most important part for any mcu is to have the microkernel, as for peripheral connections, it will depend on the different APIs.

If I am not wrong, to have harmony os to talk to ESP32, you need to have LiteOS running as the microkernel for ESP32. The microkernel comprise a series of function calls, like hardware timer, software timer, mutex, semaphore, task scheduling and management.

ESP_Gargamel
Posts: 786
Joined: Wed Nov 14, 2018 8:45 am

Re: [求助] harmony os 移植

Postby ESP_Gargamel » Mon Jun 07, 2021 2:43 am

这个有些因人而异,第一步肯定是把 kernel 跑起来,如果之前做过类似在 STM32 上移植如 FreeRTOS 或其他 OS 的话,并完全理解的话,那基础是有了,另外就得熟悉 xtensa 的 ISA,以及 ESP32 的系统、存储、中断、时钟等。

Who is online

Users browsing this forum: No registered users and 59 guests