AM261x MCU+ SDK: Enabling Optishare In CCS

| AM261x MCU+ SDK 26.00.00 |

Enabling Optishare In CCS

# Introduction

This document goes over how to enable Optishare in System project in CCS.

# Enabling Optishare

1. Import a system project. In this case, IPC Notify Echo is being imported.

Importing of System Project

1. Go to the properties of `ipc_notify_echo_am263px-cc_system_freertos_nortos` projects and open Optishare. The following is shown:

Optishare CCS Properties

1. From here, Check the `Enable Optishare` checkbox.
2. After enabling, provide the Share Memory Specification File (Optishare talks about this file).

Optishare Script option

On this screen, there are other options as well.

–nobss will keep BSS section being shared and –nodata will keep data section from being shared. If Regional Address Translation (RAT) hardware is not present in the SOC for which Optishare is being applied, then enable both of these options for Optishare to work.

Keep Rest of the options same unless they are required to be changed.

# Building the Application

Once Optishare is enabled in the application, build it normally. This will generate all the necessary files.