Closed maxgerhardt closed 5 years ago
Hmm, couldn't reproduce the issue with the latest Eclipse and toolchain paths are still in .settings/language.settings.xml
@valeros Then I will upgrade my Eclipse and retry, thanks. Was using the April 2018 version.
@valeros You are right it does work with the latest 2018-12 (4.10.0)
version of Eclipse-CPP. Closing.
Also works for CLion in the newest version (2018.3.4)
I have noticed that suddenly my IDEs (CLion and Eclipse) cannot resolve the toolchain's standard include files anymore. Things like
#include <stdio.h>
are not resolvable.This does not happen in e.g. a ESP8266 Arduino project genereted by PIO. For such a project, the include paths include e.g.
etc in which these headers are found. However, for STM32 mbed projects, this doesn't happen. There is no reference to a
toolchain-gccarmnoneeabi
folder.Either the process by which these include paths are discovered via invoking the compiler is broken or PIO suddenly doesn't export these paths anymore.
PIO version is the latest dev version (
pio upgrade --dev
) and this was tested with the latest ststm32 platform (platform = https://github.com/platformio/platform-ststm32.git
). As a sample project one can e.g. again take my https://github.com/maxgerhardt/pio-lorawan-example, do apio init --ide=eclipse
and see the results.