Adding Board Support Package for #PineCone #BL602 to #Mynewt
https://github.com/lupyuen/pinecone-rust-mynewt/blob/main/hw/bsp/pinecone/bsp.yml
Disassembled the #PineCone #BL602 HelloWorld App for reference
https://github.com/lupyuen/bl_iot_sdk/releases/download/v0.0.4/sdk_app_helloworld.S
#BL602 Start Code comes from here...
https://github.com/lupyuen/bl_iot_sdk/blob/master/components/bl602/bl602/evb/src/boot/gcc/start.S
#BL602 Flash Memory Map for #Mynewt ... With my handy hex calculator
https://github.com/lupyuen/pinecone-rust-mynewt/blob/main/hw/bsp/pinecone/bsp.yml#L36-L74
Set #PineCone #BL602 as the Firmware Target for #Mynewt
https://github.com/lupyuen/pinecone-rust-mynewt/blob/main/targets/pinecone_app/target.yml
Building #Mynewt for #PineCone #BL602 ... Now using the right #RISCV GCC
https://github.com/lupyuen/pinecone-rust-mynewt/blob/main/README.md
Porting #Mynewt Context Switching to #BL602 ... CLINT = #RISCV Core Local Interrupt controller
https://github.com/apache/mynewt-core/blob/master/kernel/os/src/arch/rv32imac/ctx.s#L193
#BL602 #Mynewt compiles OK ... Now fixing the Reset Handler
https://github.com/lupyuen/pinecone-rust-mynewt/blob/main/README.md
Now porting the missing HAL functions for #Mynewt #BL602
https://github.com/lupyuen/pinecone-rust-mynewt/blob/main/README.md
Still porting the missing HAL functions for #Mynewt #BL602
https://github.com/lupyuen/pinecone-rust-mynewt/blob/main/README.md
#BL602 #Mynewt Firmware built successfully yay! (Using stubs for HAL functions) Now inspecting the Disassembled Firmware
https://github.com/lupyuen/pinecone-rust-mynewt/blob/main/README.md