Page 1 of 1

[求助] harmony os 移植

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

Re: [求助] harmony os 移植

Posted: Sat Jun 05, 2021 10:22 am
by flodejr
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.

Re: [求助] harmony os 移植

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