---
title: "Discussion on \"Embedded Rust BSP with µFerris & XIAO: Getting started with µferris-bsp\" | Hashnode"
description: "Discussion on \"Embedded Rust BSP with µFerris & XIAO: Getting started with µferris-bsp\". This is the second post in the µFerris & Xiao BSP series. If you haven't yet, start with Getting Started with µFerris & Xiao where we assembled the board, set up the toolchain, and blinked an LED. Thi"
url: "https://hashnode.com/posts/embedded-rust-bsp-with-ferris-xiao-getting-started-with-ferris-bsp/6a840a0cf6789182d19f314c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Embedded Rust BSP with µFerris & XIAO: Getting started with µferris-bsp](https://blog.theembeddedrustacean.com/embedded-rust-bsp-with-ferris-xiao-getting-started-with-ferris-bsp?utm_source=hashnode&utm_medium=feed)

This is the second post in the µFerris & Xiao BSP series. If you haven't yet, start with Getting Started with µFerris & Xiao where we assembled the board, set up the toolchain, and blinked an LED. Thi

Aug 18 · 11 min read · blog.theembeddedrustacean.com  
Updated Aug 23  
Read the article

-   [#rust](https://hashnode.com/tag/rust)
-   [#xiao](https://hashnode.com/tag/xiao)
-   [#iot](https://hashnode.com/tag/iot)
-   [#embedded](https://hashnode.com/tag/embedded)

## Written by

[Omar Hiari](https://hashnode.com/@omarhiari)

@omarhiari

  
[View profile](https://hashnode.com/@omarhiari)

I am an 📟 Embedded Engineer with years of experience in both industry 🏭 and academia 🏫. Passionate Mentor 👨‍💼 and Instructor 👨‍🏫. Rustacean 🦀

## Responses 10

Markdown supported · ⌘↵ to post

[R](https://hashnode.com/@rfjl12345)

[Oct 12](https://hashnode.com/posts/embedded-rust-bsp-with-ferris-xiao-getting-started-with-ferris-bsp/6a840a0cf6789182d19f314c/comment/6acd5bc26a7ba8a34bbce574)

Thanks Omar for fixing the bsp crate it works well now. I have a question on the the 7 segment display. When i run the code for the Light Intensity Reading Example all works well. The 7 segment displays the values correctly, but some of the other segments seem to be half on making it hard to read the correct value. Is this normal ?

[R](https://hashnode.com/@rfjl12345)

[Oct 13](https://hashnode.com/posts/embedded-rust-bsp-with-ferris-xiao-getting-started-with-ferris-bsp/6a840a0cf6789182d19f314c/comment/6acd5bc26a7ba8a34bbce574#reply-6acd8f68ce662a118ed71d7e)

Interesting when i commented out all the write\_seven\_segments with the some digits except one, in this case the second digit, the second digit worked fine, but also the 3rd digit lit up with the same digit but slightly dimmer. It followed the same pattern of always lighting up the digit after the one chose with a dimmer version. for \_ in 0..250 { uferris.write\_seven\_segment\_digit(SevenSegDigit::Digit1, None).unwrap(); //uferris.write\_seven\_segment\_digit(SevenSegDigit::Digit1, Some(digits\[0\])).unwrap(); delay.delay\_ms(1); uferris.write\_seven\_segment\_digit(SevenSegDigit::Digit2, None).unwrap(); uferris.write\_seven\_segment\_digit(SevenSegDigit::Digit2, Some(digits\[1\])).unwrap(); delay.delay\_ms(1); uferris.write\_seven\_segment\_digit(SevenSegDigit::Digit3, None).unwrap(); // uferris.write\_seven\_segment\_digit(SevenSegDigit::Digit3, Some(digits\[2\])).unwrap(); delay.delay\_ms(1); uferris.write\_seven\_segment\_digit(SevenSegDigit::Digit4, None).unwrap(); // uferris.write\_seven\_segment\_digit(SevenSegDigit::Digit4, Some(digits\[3\])).unwrap(); delay.delay\_ms(1); } Regards, R

[Omar Hiari](https://hashnode.com/@omarhiari)

[Oct 13](https://hashnode.com/posts/embedded-rust-bsp-with-ferris-xiao-getting-started-with-ferris-bsp/6a840a0cf6789182d19f314c/comment/6acd5bc26a7ba8a34bbce574#reply-6ace222090a337e7cf89551b)

Hello, it seems your sequence is off. You are blanking and then activating. It should be more like:

```
Some(value) // Activate value on seven segment
Delay // Keep it on for some time
None // Blank
```

[R](https://hashnode.com/@rfjl12345)

[Oct 13](https://hashnode.com/posts/embedded-rust-bsp-with-ferris-xiao-getting-started-with-ferris-bsp/6a840a0cf6789182d19f314c/comment/6acd5bc26a7ba8a34bbce574#reply-6ace33ba94ddbcacaa3d781e)

Thank you , that worked

[R](https://hashnode.com/@rfjl12345)

[Oct 8](https://hashnode.com/posts/embedded-rust-bsp-with-ferris-xiao-getting-started-with-ferris-bsp/6a840a0cf6789182d19f314c/comment/6ac78435772bf8d4573f4332)

Hi, i am using a xiao-esp32c6 board and i am receiving conflicts between uferris-bsp v0.2.0 and the esp hal 1.2. It suggested to change the esp-hal to ~1.1 which i did and know i get different dependency issue with esp-stoarge and esp-bootloader. Is this xiao-esp32c6 supported in the uferris-bsp?

[Omar Hiari](https://hashnode.com/@omarhiari)

[Oct 8](https://hashnode.com/posts/embedded-rust-bsp-with-ferris-xiao-getting-started-with-ferris-bsp/6a840a0cf6789182d19f314c/comment/6ac78435772bf8d4573f4332#reply-6ac802b32999a15bf26f0df0)

Hello Robert, yes it is, what you are seeing is probably because other dependencies follow the latest version of esp-hal. If you could please submit an issue on the BSP repo ([https://github.com/uFerris-rs/uferris-bsp](https://github.com/uFerris-rs/uferris-bsp)) to update the BSP to support the latest esp-hal and I'll get to it as soon as I can.

[R](https://hashnode.com/@rfjl12345)

[Oct 9](https://hashnode.com/posts/embedded-rust-bsp-with-ferris-xiao-getting-started-with-ferris-bsp/6a840a0cf6789182d19f314c/comment/6ac78435772bf8d4573f4332#reply-6ac8b3c7dc5651bb56c9523e)

Thank you !

[Omar Hiari](https://hashnode.com/@omarhiari)

[Oct 11](https://hashnode.com/posts/embedded-rust-bsp-with-ferris-xiao-getting-started-with-ferris-bsp/6a840a0cf6789182d19f314c/comment/6ac78435772bf8d4573f4332#reply-6acbf5ee16e75e02f259e5c6)

The BSP has been updated to fix the issue!
