Hoping to see if anyone could shed some light on what Im doing wrong or if there is a fix for it. Im currently going through the installation procedure for the MCC128 and when I get to the part were I run the install command (#7) I always get a warning from the gpio.c section stating the following (screenshot attached below as well):
gpio.c: In function 'gpio_init':
gpio.c:111:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
111 | printf("mmap failed %d\n", (int)gpio_map);
| ^
Installation still completes but afterwords when I run the DAQ Hat manager application the control app wont open. I can see the device and read the EEPROM. I have uninstalled and reinstalled the library but the issue persists. Just wondering if anyone has seen this problem before or if there are any recommended places to start checking for a fix. Id prefer not to go poking around in the code on my own but can if need be.
Question
ghoward
Hello,
Hoping to see if anyone could shed some light on what Im doing wrong or if there is a fix for it. Im currently going through the installation procedure for the MCC128 and when I get to the part were I run the install command (#7) I always get a warning from the gpio.c section stating the following (screenshot attached below as well):
gpio.c: In function 'gpio_init':
gpio.c:111:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
111 | printf("mmap failed %d\n", (int)gpio_map);
| ^
Installation still completes but afterwords when I run the DAQ Hat manager application the control app wont open. I can see the device and read the EEPROM. I have uninstalled and reinstalled the library but the issue persists. Just wondering if anyone has seen this problem before or if there are any recommended places to start checking for a fix. Id prefer not to go poking around in the code on my own but can if need be.
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now