I got my Sipeed M1S Dock (BL808) yesterday, but I don’t see a macos toolchain for the C SDK. Am I missing something?

This page summarizes the projects mentioned and recommended in the original post on /r/microcontrollers

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • buildroot-osx

    Buidroot OSX - Use Buildroot on OSX natively without a Linux container.

  • i386 just refers to x32 code; completely normal. As mentioned, https://github.com/generia/buildroot-osx has what you'll need to get started.

  • bouffalo_sdk

    BouffaloSDK is the IOT and MCU software development kit provided by the Bouffalo Lab Team, supports all the series of Bouffalo chips. Also it is the combination of bl_mcu_sdk and bl_iot_sdk

  • I just scoured the current main branch of https://github.com/bouffalolab/bl_mcu_sdk and can see the current HAL supports DMA, EMAC, flash, GPIO, MJPEG, PWM, RTC, encryption, timers, UART and USB. DAC and ADC's (audio) are implemented but not tested. I can also see there are BSPs for the LP core if you wanted to take advantage of it, with helloworld examples for all three, and finally there are some examples of using TensorFlowLite in the examples directory that you could build and try too.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • bl808_linux

  • https://github.com/arm000/bl808_linux

  • buildroot_bouffalo

    Linux Image for the BL808 CPU by Bouffalo Lab

  • OBLFR

    OpenBouffalo Firmware Repository

  • bl808_linux

  • Ref https://github.com/arm000/bl808_linux/tree/irq-forward/bl_mcu_sdk_bl808/examples/low_load as probably some good C starting point!

  • homebrew-riscv

    homebrew (macOS) packages for RISC-V toolchain

  • Maybe try the very simple approach; grab the SDK from the BL or arm000's repo, grab those example files, and install the toolchain via homebrew; https://github.com/riscv-software-src/homebrew-riscv

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • M1s_BL808_example

    M1s_BL808_example

  • The audio may or may not work, and looking at the M1s example code at https://github.com/sipeed/M1s_BL808_example it looks like they are just working in the C906 core (D0 - the 64 bit core), and with similarly limited functionality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts