Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

Compile DAVE generated code on Linux

$
0
0
We are building out SW, including some DAVE generated code, on Linux. This works fine, except for some modules. The PWM_SVM is one. A section in pvm_svm.h looks like this:
Code:

#include <xmc_ccu8.h>
#include <xmc_scu.h>
#include "..\GLOBAL_CCU8\GLOBAL_CCU8.h"
#include <xmc_gpio.h>
#include <DAVE_common.h>
#include "pwm_svm_conf.h"

To compile on Linux, this should be:
Code:

#include <xmc_ccu8.h>
#include <xmc_scu.h>
#include "../GLOBAL_CCU8/global_ccu8.h"
#include <xmc_gpio.h>
#include <DAVE_Common.h>
#include "pwm_svm_conf.h"

File path separator should be / not \, and file name case should match the include statement.

Is it possible to ensure this for all generated code?

Viewing all articles
Browse latest Browse all 9892


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>