#RustLang Wrappers for #BL602 IoT SDK ... GPIO, PWM, I2C Done! Getting ready to test on PineDio Stack BL604
https://github.com/lupyuen/bl602-rust-wrapper/blob/master/logs/sdk-expanded.rs#L167-L220
Auto-generated #RustLang Wrappers for #BL602 IoT SDK ... SPI is done!
https://github.com/lupyuen/bl602-rust-wrapper/blob/master/logs/sdk-expanded.rs#L6049-L6310
Sadly the generated #BL602 #RustLang Wrappers lack documentation ... Shall we cross-reference "The RISC-V BL602 Book"? 🤔
https://lupyuen.github.io/articles/led#how-it-works-bl602-gpio
Let's inject these "#BL602 Book" cross-references into the #RustLang Docs ... By modding our Procedural Macro
https://github.com/lupyuen/bl602-rust-wrapper/blob/master/doclinks.md
How we read the "#BL602 Book" Cross-References ... From our #RustLang Procedural Macro
https://github.com/lupyuen/bl602-rust-wrapper/blob/master/bl602-macros/src/safe_wrap.rs#L483-L521
How we inject the "#BL602 Book" Cross-References into the #RustLang Wrapper Docs ... With our Rust Procedural Macro
https://github.com/lupyuen/bl602-rust-wrapper/blob/master/bl602-macros/src/safe_wrap.rs#L457-L511
Here's how we call the #BL602 #RustLang Wrapper for GPIO
https://github.com/lupyuen/bl_iot_sdk/blob/adc/customer_app/sdk_app_rust_gpio/rust/src/lib.rs
#RustLang reminds us to be Extra Careful when Casting C Pointers ... Because it's unsafe and can go horribly wrong
Pointer casting in c is cancer.
Updating #BL602 #RustLang bindgen script ... To use the new names: allowlist, blocklist
https://github.com/lupyuen/bl602-rust-wrapper/commit/065a2b0926e9caf8e2d133608c6baaed86d9e315?branch=065a2b0926e9caf8e2d133608c6baaed86d9e315&diff=split