Skip to content

examples.projectspec updates #93

@nsaulnier-ti

Description

@nsaulnier-ti
  1. do not hardcode the project name in the postbuild code

e.g., replace $(CG_TOOL_ROOT)/bin/hexpru --diag_wrap=off --array --array:name_prefix=PRU0Firmware -o pru0_load_bin.h empty_am64x-evm_icss_g0_pru0_fw_ti-pru-cgt.out
with
$(CG_TOOL_ROOT)/bin/hexpru --diag_wrap=off --array --array:name_prefix=PRU0Firmware -o pru0_load_bin.h {BuildArtifactFileBaseName}.out

  1. the if condition in the postbuild code does not run on both Windows and Linux. Get rid of the conditional, and either document that customer must manually modify this entry if they are using the computer OS that is not supported, or do not add the copyright so we don't even have to have the conditional to begin with.

  2. remove dependencies on MCU+ SDK. Postbuild step must be modified to use OPEN_PRU for the copyright. TODO: Check if the compiler includes throw an error if MCU+ SDK is not defined in CCS

  3. use the same C code optimization for both project makefiles & example.projectspec

  4. Add other action items as needed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions