#BL602 Hardware Abstraction Layer contains Test Code that calls FreeRTOS ... Will have to fix this for #Mynewt 🤔
https://github.com/lupyuen/bl_iot_sdk/blob/master/components/hal_drv/bl602_hal/bl_cks.c#L300
#BL602 Security HAL calls FreeRTOS Semaphore ... Will convert this to #Mynewt Semaphore
https://github.com/lupyuen/bl_iot_sdk/blob/master/components/hal_drv/bl602_hal/bl_sec.h#L59
#BL602 Button HAL handles Short Press, Long Press, Long Long Press and Debounce by calling FreeRTOS ... Do I need to port this to #Mynewt? 🤔
https://github.com/lupyuen/bl_iot_sdk/blob/master/components/hal_drv/bl602_hal/hal_button.c#L57-L79
#BL602 SDK ... 2 types of HAL in the same folder 🤔
https://github.com/lupyuen/bl_iot_sdk/tree/master/components/hal_drv/bl602_hal
Here's how we tell #Mynewt to build only the HAL folder from the #BL602 SDK ... And the SDK include folders
https://github.com/lupyuen/pinecone-rust-mynewt/blob/gpio/hw/mcu/bl/bl602/pkg.yml
What's the DTS HAL for #BL602 ... And why is it called by some demos? 🤔
Wonder if we should push upstream to #BL602 SDK ... These fixes for GCC compiler warnings 🤔
https://github.com/pine64/bl_iot_sdk/compare/master...lupyuen:master
Hunting for a suitable #BL602 GPIO App ... That we shall port to #Mynewt
https://github.com/lupyuen/bl_iot_sdk/blob/master/customer_app/sdk_app_gpio/sdk_app_gpio/demo.c#L60