Cannot set the correct include paths

Forum related to ERIKA Enterprise and RT-Druid version 3

Moderator: paolo.gai

Post Reply
Giacomo
Newbie
Posts: 1
Joined: Thu Jan 14, 2021 10:10 am

Cannot set the correct include paths

Post by Giacomo » Thu Jan 28, 2021 3:26 pm

Hello,

I am trying to port ERIKA3 GH65 to NUCLEO-F429ZI (a.k.a. STM32 Nucleo-144). My naive approach was to start from the Basic Demo 1 template of STM32F429I-DISC1 and replace the references to that board in the following files:
  • {ERIKA_PATH}/contrib/st/ee_st_libcfg.mk -> change STM32CubeF4 paths
  • {ERIKA_PATH}/contrib/st/ee_st_linkcfg.mk -> change STM32CubeF4 paths, preprocessor macros
  • {PROJECT_PATH}/hal.c -> change include
I have tried to build the project, but the Includes section in the Project Explorer still shows references to DISC1 instead of NUCLEO.

My question is: where do these include paths come from? I thought that editing ee_st_linkcfg.mk would update them accordingly, but apparently they are taken from somewhere else/hardcoded/cached. If I delete them, they will be regenerated incorrectly.
Maybe it's a problem with Eclipse itself, but the paths are generated during the "pull" phase of RT-Druid. I have looked both in the ERIKA3 files and in my project folder, but these paths are only mentioned in ee_st_linkcfg.mk.

Thanks in advance for your help :)

Post Reply