Skip to content

Wrong MATLAB include path when building foxbms-2 CAN bootloader #72

@BitwiseGuru

Description

@BitwiseGuru

Dear @foxBMS,

I encountered a configuration issue while building the foxbms-2 CAN bootloader.
the build process fails due to non-existent include directories:
['C:\Program Files\MATLAB\R2024a\extern\include\include']

It appears that during the bootloader build, MATLAB Codegen include paths are being checked, and the path is incorrect (contains a duplicated \include in the directory).

Temporary Workaround:
I was able to bypass the issue by editing codegen_matlab.py and manually removing the duplicated include from the affected path definition.

Could you please confirm if this is a known configuration problem and suggest the recommended fix?

Best regards,

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions