WiringPi - mmap

odro
New Member Posts: 5 ✭
Trying to get wiringPi working with an up2 board, I've gotten as far as suppressing the various validation checks put in by the original author and compiling successfully.
However, with Ubilinux, I'm receiving this now:
wiringPiSetup: mmap (GPIO) failed: Operation not permitted
I've tried to add the command line parameter iomem=relaxed, but that doesn't seem to have much effect:GRUB_CMDLINE_LINUX_DEFAULT="iomem=relaxed"
Anyone seen permission denied via mmap and managed to fix it yet?
Cheers!
M
Tagged
Categories
- 301 All Categories
- 104 Announcements & News
- 51 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 52 Unboxing & Project Sharing
- 24 Tech Updates
- 548 UP Products
- 1 UP Xtreme i12
- UP Squared Pro 7000
- 1 UP Element i12 Edge
- 10 UP Squared V2
- 25 UP 4000
- 24 UP Xtreme i11
- 34 UP Squared 6000
- 44 UP Squared Pro
- 140 UP Xtreme
- 819 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 221 UP Core
- 3 UP Xtreme Lite
- 43 UP AI Edge
- 215 Starter Kits & Peripheral