Getting L2C-310 memory-mapped peripherals working with Streamline
Streamline provides a file, gator_events_l2c-310.c, that you must make a small modification to and include in the build of gator, to get L2C-310 memory mapped peripherals working with Streamline.
Follow these steps to modify and add gator_events_l2c-310.c:
- Open the gator_events_l2c-310.c file located in the archive in .../gator/driver-src
- Find the gator_events_l2c310_probe function in gator_events_l2c-310.c
Add the following
#ifstatement to the existing
#ifstatements in the
#if defined(Your_Architecture) L2C_310_Address, #endif
Your_Architecturewith the name of your architecture and
L2C_310_Addresswith the physical address of your L2C-310 in hexadecimal.
- Rebuild the gator driver.
- Connect to your target.