Hi! Thanks for the reply.Im using bcm2835 1.68 version and im using Linux Kernel 5.4.51. The code i posted isn't acctually mine. I have a Raspberry pi HAT called "Pioneer600 extention board" that requires the bcm2835, wiringpi and python libraries to be installed. The code is from the Pioneer600 library that has example code like the blinking LED.Heres the link to the Pioneer600 library:https://www.waveshare.com/wiki/File:Pioneer600-Code.tar.gzIf i run the "sudo ./led" command in "/Pioneer600/LED/bcm2835/" folder i get "bcm2835_init:gpio mmap failed: Cannot allocate memory"I hope this helps....
I noticed in one of the previous emails that you said the kernel version
was 5.4.51, is this because you are using the pre-released version of the
64 bit version of Raspberry Pi OS?
> > > > > > > >
> > >> Im using bcm2835 1.68 version and im using Linux Kernel
> > > >
> > > > 5.4.51.
I am using the Raspberry Pi OS released 27-May-2020
Image with desktop and recommended software based on Debian Buster
Version:May 2020
Release date:2020-05-27
Kernel version:4.19
The Kernel version is :- * Linux kernel 4.19.118
Haven’t seen the problem you have described in the previous emails, I haven’t tried the 64 bit version
yet.
Not sure if this will help you but might be worth checking.
All the best.
Alec.