Our great sponsors
-
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
-
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.
-
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.
i386 just refers to x32 code; completely normal. As mentioned, https://github.com/generia/buildroot-osx has what you'll need to get started.
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.
https://github.com/arm000/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!
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
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.