Build Etrice with STM32 [message #1839739] |
Fri, 26 March 2021 17:38  |
Eclipse User |
|
|
|
Hello,
I'm trying to set up eTrice for my custom STM32 board. I'm using
Platformio for building and deploying the embedded code.
I have tried following the DAVE tutorial and adapting it for my system
instead, but when I use the wizard like in the tutorial the generator
only generates the following files in my model folder:
* et_blinky.etmap
* et_blinky.etphys
* et_blinky.room
According to the tutorial I should get more files:
I seem to be missing
* etrice_c_runtime
* etrice_c_modellib
The launch script are generated correctly.
I have tried to include files from org.eclipse.etrice.runtime.c and
org.eclipse.etrice.runtime.cpp and referring to the sources and
include paths in my build scripts. This lets me build more of my
project but errors on
lib/etrice/src/common/modelbase/RTSystemProtocol.h:11:10: fatal error:
common/modelbase/RTSystemServicesProtocol.h: No such file or directory
11 | #include "common/modelbase/RTSystemServicesProtocol.h"
So I have identified that the header for RTSystemServicesProtocol.h is
a generated header. And it is generated when the etrice_modellib is
properly included in the project, I have identified the modelpath
file, and tried to insert the full path to the etrice.modellib.cpp in
this file, and the generator cannot seem to find this folder.
So my question is, where do I start looking if I want to start cross
compiling a project for an MCU?
If I get it working I will gladly contribute with an updated tutorial :)
|
|
|
|
|
Re: Build Etrice with STM32 [message #1848514 is a reply to message #1840138] |
Mon, 06 December 2021 09:13  |
Eclipse User |
|
|
|
Hi,
I know this thread is a bit old, but as I've started working on an STM32 project and was thinking of trying eTrice, I wanted to touch base to see if there is any further input regarding this topic. Did I understand correctly that the suggestion in the most recent reply was to develop the eTrice application, along with its runtime and modellib, as a separate Eclipse library project and reference that library from the STM32 IDE of choice (STM32CubeIDE in my case)?
Thanks and best regards,
Tim
|
|
|
Powered by
FUDForum. Page generated in 0.03993 seconds