Four years of Zephyr
Four years of Zephyr
Posted Jun 30, 2020 7:45 UTC (Tue) by alex31 (guest, #67059)In reply to: Four years of Zephyr by kbumsik
Parent article: Four years of Zephyr
I have experienced two different approaches :
1/ freertos and stm32 hal
2/ chibios with integrated hal
In the first case, one can use the huge driver codebase drom ST which cover all the peripherals, but all the glue between application, peripherals, dma, and scheduler has to be done at application level, and that needs a deep knowledge of all theses to write reliable code. Since STM Hal is tailored and different for each MCU family, porting this code need a lot of rewrite.
In the second case, all is nicely integrated, and you can write applications without a deep understanding of the internals of the MCU, driver uses DMA for efficiency, but that's nearly transparent at the application level. Porting to a new family is easy since the API is (nearly) the same for all MCU families. The dark part is that not all the peripherals are covered, and you are right when yoy say that it takes years when a new MCU family come to market to have HAL ported to.
Posted Jun 30, 2020 16:14 UTC (Tue)
by introiboad (guest, #139805)
[Link]
Four years of Zephyr
