motor-control-sdk/.project/cgt/cgt_ti-arm.js
Naresh A 5f968b0bf2 am64x/am243x/am263x : initial commit for motor control sdk
Initial commit for motor control sdk

Fixes: PINDSW-5635

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-04 18:02:46 +05:30

43 lines
866 B
JavaScript

const cgt = {
path: "CGT_TI_ARM_PATH",
cc: "armcl",
ar: "armar",
includes: {
common: [
"$(CGT_TI_ARM_PATH)/include",
".",
"$(MCU_PLUS_SDK_PATH)/source"],
"${MOTOR_CONTROL_SDK_PATH}/source",
},
cflags: {
common: [
"-c", "-qq",
"-pdsw225",
"--endian=little",
"-mv7R5",
"--abi=eabi",
"--float_support=vfpv3d16",
"--code_state=16",
"--emit_warnings_as_errors",
],
debug: [
"--symdebug:dwarf",
"-g",
"-D_DEBUG_=1",
],
release: [
"--embed_inline_assembly",
"-ms",
"-o3",
],
},
arflags: {
common: [
"rq",
]
},
};
module.exports = cgt;