0

Hello everyone,
I’m currently working on porting an IO-Link Device Stack of the company iq2 development into the Renesas IO-Link Starter Kit.
I’m using e2-Studio (V 5.4.0.015) and the Renesas GCC for RL78 Toolchain.

After creating a c Project and imported all folders/files I have the folder structure seen in picture 1.

My Question is: What do I have to change within the compiler/linker preferences?
After building the project i’ll get following Error:

10:04:23 **** Build of configuration Debug for project iolDevice ****

make -j4 all

‘Scanning and building file: ../src/dev_appl.c’

‘Scanning and building file: ../src/dev_pl.c’

‘Scanning and building file: ../src/hardware_setup.c’

‘Invoking: Scanner and Compiler’

‘Invoking: Scanner and Compiler’

‘Invoking: Scanner and Compiler’

‘Scanning and building file: ../src/interrupt_handlers.c’

../src/dev_appl.c:110:21: fatal error: dev_iol.h: No such file or directory

#include “dev_iol.h”

^

compilation terminated.

‘Invoking: Scanner and Compiler’

../src/dev_pl.c:8:21: fatal error: dev_iol.h: No such file or directory

#include “dev_iol.h”

^

compilation terminated.

make: *** [src/dev_appl.o] Error 1

src/subdir.mk:40: recipe for target ‘src/dev_appl.o’ failed

make: *** Waiting for unfinished jobs….

src/subdir.mk:50: recipe for target ‘src/dev_pl.o’ failed

make: *** [src/dev_pl.o] Error 1

rl78-elf-gcc -MM -MP -MF “src/hardware_setup.d” -MT”src/hardware_setup.o” -MT”src/hardware_setup.d” -x c   -nostdinc -I”C:\PROGRA~2\GCCFOR~1.201\rl78-elf\rl78-elf/rl78-elf/optlibinc” -Wstack-usage=64 -mg13 -g2 -g “../src/hardware_setup.c”

rl78-elf-gcc -MM -MP -MF “src/interrupt_handlers.d” -MT”src/interrupt_handlers.o” -MT”src/interrupt_handlers.d” -x c   -nostdinc -I”C:\PROGRA~2\GCCFOR~1.201\rl78-elf\rl78-elf/rl78-elf/optlibinc” -Wstack-usage=64 -mg13 -g2 -g “../src/interrupt_handlers.c”

rl78-elf-gcc -c -x c  -Wa,-adlhn=”hardware_setup.lst” -nostdinc -I”C:\PROGRA~2\GCCFOR~1.201\rl78-elf\rl78-elf/rl78-elf/optlibinc” -Wstack-usage=64 -mg13 -g2 -g -o “src/hardware_setup.o” “../src/hardware_setup.c”

‘Finished scanning and building: ../src/hardware_setup.c’

rl78-elf-gcc -c -x c  -Wa,-adlhn=”interrupt_handlers.lst” -nostdinc -I”C:\PROGRA~2\GCCFOR~1.201\rl78-elf\rl78-elf/rl78-elf/optlibinc” -Wstack-usage=64 -mg13 -g2 -g -o “src/interrupt_handlers.o” “../src/interrupt_handlers.c”

‘Finished scanning and building: ../src/interrupt_handlers.c’

10:04:27 Build Failed. 7 errors, 0 warnings. (took 3s.229ms)

Grigore Dobra answered