Questions tagged [rust]

Rust is a next generation compiled, statically typed language developed by Mozilla.

See also: https://www.rust-lang.org/

6 questions
4
votes
1 answer

libc 2.29 on buster

I am trying to use my new Pi 4 to run a Rust executable that I compiled on Linux but it will not run because it needs libc 2.29 and it appears that buster comes with libc 2.28. Is it possible to update the version of libc6 and if it is then what is…
Dan Forbes
  • 141
  • 1
  • 4
3
votes
0 answers

Creating an OS for the raspberry pi in rust, booting from it

I was following this tutorial on how to make your own basic OS for an x86_64 system in rust, but wanted to do it for an ARM64 target, specifically, the raspberry pi 4. I am at the point where I have compiled an executable with a bare metal arm64…
2
votes
2 answers

What should I look for to find the proper GPIO chip on the system?

I'm using the Rust gpio_cdev library. This uses the GPIO character device, rather than the deprecated sysfs. With the character device, you need to tell it the proper gpio chip to use. My code might be running on a Raspberry Pi 2, 3, 4, or…
John
  • 467
  • 1
  • 5
  • 10
1
vote
1 answer

Raspberry Pi Mailbox Interface Difficulties

I have been working on a bare metal program on my Raspberry Pi 3 B and am currently working on using the Mailbox Property Interface. I have been able to use it to initialize a framebuffer using the following request: [ //Headers:…
Someone
  • 111
  • 1
0
votes
0 answers

Learn "rust raspberrypi os tutorials" got error "rust-objcopy:no file or folder",make error 127

I am learning https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials by an new ubuntu 22.04 in virtualbox 1 install some tools:gcc,make,curl... 2 follow the readme said,install docker and "Ensure your user account is in the docker…
wang kai
  • 101
0
votes
0 answers

Bluetooth 1200ms delay on Raspberry Pi using bluez (GATT Server)

I have set up GATT server on Raspberry Pi, and I am experiencing huge delay of about, 1200ms. To check delay, I am using nRF Connect on iPhone. I am using Raspberry Pi zero w and bluez bindings for rust. I have bluez 5.65. In my Bluetooth config, I…
MN_XD
  • 11
  • 3