ROCK Pi 4 now supports libmraa and device tree overlay
Community Updates
A lot of our users want to use the HATs on ROCK Pi 4, HATs stands for Hardware AT Top. HATs can extend the hardware capabilities without making one, it's highly welcomed by makers and diyers or even professional projects. The compatibility design of ROCK Pi 4 makes it can work with a lot of existing HATs on the market. That's on the hardware side. What frees and empowers the ROCK Pi 4's 40pin GPIO is the update we are going to introduce today, the device tree overlay support and the libmraa.
Device tree is widely used in ARM Linux world to describe the hardware, so the kernel knows the hardware resources such as memory addresses, gpio assignment, IRQ number etc. But on the HATs world, the hardware resources are dynamic, the users may use different HATs and different HATs requires different resources, the kernel should know that the user has changed the hardware. The way to update the device tree without recompile the device tree blob is called device tree overlay.
MRAA is a project by Intel, now maintained as an open source project.
Libmraa is a C/C++ library with bindings to Java, Python and JavaScript to interface with the IO on some hardware platforms, with a structured and sane API where port names/numbering matches the board that you are on. Use of libmraa does not tie you to specific hardware with board detection done at runtime you can create portable code that will work across the supported platforms.
With libmraa and device tree overlay, we can support a wide of HATs and sensors, users can program it with some high level languages such as python or javascripts.
-- Radxa Team, 2019 in Baoan, Shenzhen, China
- Introduce the new ROCK Pi 4 - hardware
- Firefox OS is running on rock pro
- Kali Linux on Rock Family
- pyRock - python GPIO library
- Cases for radxa rock family
- Initial Node.js GPIO wrapper for Radxa Rock
- New wiki skin powered by bootstrapskin
- Android 4.4.2 preview image released
- radxa at maker fair in Shenzhen
- Ubuntu desktop release update
- Home (2,303,215 views)
- Rock (874,111 views)
- Buy (810,134 views)
- Rockpi4 (697,611 views)
- Rock/flash the image (665,959 views)
- RockpiX (410,714 views)
- Dual Quad SATA HAT (393,148 views)
- Rock2 (381,940 views)
- RockpiS (342,475 views)
- Rock/prebuilt images (306,833 views)