Skip to main content

Search

Items tagged with: bl602


Drag-n-Drop Scripting is already supported on #ESP32 ... So we gotta do the same for #BL602

https://shop.m5stack.com/pages/uiflow


#BL602 Simulator will support Drag-and-Drop Scripting too!

https://lupyuen.github.io/articles/rustsim?20#drag-and-drop-scripting


#BL602 Simulator will support Rhai Scripts ... A #RustLang-like Scripting Language

https://lupyuen.github.io/articles/rustsim?19#scripting-for-bl602-simulator


How #BL602 Simulator validates calls to BL602 IoT SDK

https://lupyuen.github.io/articles/rustsim?18#validate-calls-to-bl602-iot-sdk


#BL602 Simulator tries to be helpful ... By validating the calls to BL602 IoT SDK

https://lupyuen.github.io/articles/rustsim?17#validate-calls-to-bl602-iot-sdk


Our #BL602 Simulator won't simulate all kinds of firmware ... But it might still be useful

https://lupyuen.github.io/articles/rustsim?15#easier-embedded-development


How we handle #BL602 Simulation Events in JavaScript ... And blink the Simulated BL602 LED

https://lupyuen.github.io/articles/rustsim?11#handle-simulation-events


Added Rhai #RustLang Scripting Engine to #BL602 WebAssembly Simulator ... So that we can do interesting things 🤔

https://github.com/lupyuen/bl602-simulator/blob/main/bl602-script/src/lib.rs


#BL602 Simulator jumps from JavaScript to #WebAssembly to #RustLang ... And back!

https://lupyuen.github.io/articles/rustsim?10#run-rust-firmware


How we Intercept Calls to #BL602 IoT SDK ... So that they work on #WebAssembly

https://lupyuen.github.io/articles/rustsim?8#intercept-calls-to-bl602-iot-sdk


How to Simulate #BL602 in #WebAssembly? With a JSON Stream of Simulation Events!

https://lupyuen.github.io/articles/rustsim?6#json-stream-of-simulation-events


Linking #BL602 Firmware with Emscripten ... So that it runs in #WebAssembly

https://lupyuen.github.io/articles/rustsim?5#link-rust-firmware-with-emscripten


Let's take this #BL602 #RustLang Blinky Firmware ... And make it run in a Web Browser with #WebAssembly

https://lupyuen.github.io/articles/rustsim?2#rust-firmware-for-bl602


Running #BL602 #RustLang Firmware in a Web Browser with #WebAssembly ... All shall be explained in this article

https://lupyuen.github.io/articles/rustsim?1


If we set a GPIO Pin Output without configuring the GPIO for Output ... Our #BL602 #WebAssembly Simulator halts with a helpful message

https://github.com/lupyuen/bl602-simulator/blob/main/bl602-simulator/src/lib.rs#L105-L136


How our #BL602 Simulator in #WebAssembly checks the GPIO Pin Config ... When setting the GPIO Pin Output

https://github.com/lupyuen/bl602-simulator/blob/main/bl602-simulator/src/lib.rs#L105-L136


If #BL602 IoT SDK wasn't called correctly ... Our BL602 Simulator could show a helpful message 🤔

https://github.com/lupyuen/bl602-simulator/blob/main/bl602-simulator/src/lib.rs#L85-L109


Maybe with #BL602 Simulator ... Learning #Embedded Coding becomes a little easier? 🤔

https://github.com/lupyuen/bl602-simulator


Here are the #RustLang Stubs that intercept calls to #BL602 IoT SDK ... And emit the JSON Stream of Events

https://github.com/lupyuen/bl602-simulator/blob/main/bl602-simulator/src/lib.rs#L85-L135


Here's how we compose a JSON Stream of #BL602 Simulation Events in #RustLang

https://gist.github.com/lupyuen/cec1a423062556263a7ba02971862001


What drives the #BL602 #RustLang Simulator in #WebAssembly? A JSON Stream of Simulation Events!

https://lupyuen.github.io/articles/wasm#simulate-bl602-hardware


We build the #BL602 #RustLang Firmware for target "emscripten" ... Because we'll be linking with Emscripten libraries

https://github.com/lupyuen/bl602-simulator/blob/main/README.md#build-bl602-rust-firmware-for-webassembly


To compile #BL602 #RustLang Firmware into #WebAssembly ... 1️⃣ Change "no_std" to "libc" 2️⃣ Exclude the Panic Handler

https://github.com/lupyuen/bl602-simulator/blob/main/sdk_app_rust_gpio/rust/src/lib.rs


Can we Simulate #BL602 #RustLang Firmware in a Web Browser with #WebAssembly? ... So we can make a PineDio Stack Simulator? 🤔

https://github.com/lupyuen/bl602-simulator


#TensorFlow Lite runs OK on #BL602 yay! 🎉 This pre-trained TensorFlow Model is supposed to infer "y = sin(x)" ... Let's verify the output! 🥧

https://github.com/lupyuen/bl_iot_sdk/tree/tflite/customer_app/sdk_app_tflite
Image/Photo


We set the #BL602 Global Destructor "__dso_handle" to null ... Since we're not destroying the Static TensorFlow Variables

https://github.com/lupyuen/bl_iot_sdk/blob/tflite/customer_app/sdk_app_tflite/sdk_app_tflite/demo.c#L20-L22
Imagen/Foto


We disable Thread-Safe Initialisation by setting "-fno-threadsafe-statics" ... This fixes the Missing Functions "__cxa_guard_acquire" and "__cxa_guard_release" in #BL602 TensorFlow

https://github.com/lupyuen/bl_iot_sdk/blob/tflite/customer_app/sdk_app_tflite/sdk_app_tflite/bouffalo.mk#L37-L41
Imagen/Foto


Setting this flag will tell TensorFlow Lite to use Static Memory (instead of Heap Memory) on #BL602 ... Neat!

https://github.com/lupyuen/tflite-bl602/blob/main/bouffalo.mk#L46-L49
Imagen/Foto

Este sitio web utiliza cookies. Si continúa navegando por este sitio web, usted acepta el uso de las cookies.