• Rust for Embedded Targets

    A few notes on compiling embedded targets with Rust. The rustup installer supports adding targets: https://rust-lang.github.io/rustup/ e.g. RUN rustup target add riscv32imac-unknown-none-elf There are many embedded targets: https://doc.rust-lang.org/nightly/rustc/platform-support.html e.g. riscv32imac-unknown-none-elf and thumbv6m-none-eabi are Tier 2 A bare-metal no_std “crate attribute” is defined: https://docs.rust-embedded.org/book/intro/no-std.html https://stackoverflow.com/questions/27454761/what-is-a-crate-attribute-and-where-do-i-add-it With no_std: A panic_handler is needed...


  • Not Scraping Real Estate.com.au

    I’d like to automate my monitoring of local real estate. Just a private resource, I’m not trying to re-create a site such as http://house.ksou.cn/. I’d like to implement a process to automate and do efficient market analysis, something like this: Scraping A few years ago was to easy to scrape...


  • KVM On WSL2

    Replacing VirtualBox with KVM inside of WSL2. Compile a new Kernel. KVM needs to be enabled in the WSL kernel variant. This post gives the details: https://boxofcables.dev/accelerated-kvm-guests-on-wsl-2/ A few key points: Microsoft’s kernel is here: https://github.com/microsoft/WSL2-Linux-Kernel/. The default config is in Microsoft/config-wsl You update the config to enable KVM and...


  • A Simple Example app in Vue3+Typescript

    Vue3 Vue3 is the latest iteration of the Vue framework. The attraction of this framework is: Component based development. Each component can be encapsulated in a single (.vue) file that encapsulates: the presentation (Templated HTML), view logic script (JavaScript or Typescript), style (SCSS). A model can be built outside of...


  • Docker and GitHub Actions for Embedded Compilation

    Using Docker and GitHub actions to build an embedded project. These scripts have been added to to the modern C++ RISC-V blinky project to implement build on push. Dockerfile docker_entrypoint.sh action.yml .github/workflows/main.yml The general flow is: The github/workflows/main.yml has a trigger on push, this invokes an action in action.yml. The...