Sming Framework can be used from command line but it can also be configured to work with an integrated development environment (IDE). Before proceeding to setup Eclipse first configure Sming Framework on Arch Linux.
Install C++ variant of Eclipse from official repositories.
sudo pacman -S eclipse-cpp
Set Sming directory ownership to the current user.
sudo chown -R dom:users /opt/Sming
A non fatal error will be displayed if the user does not have write permissions.
Problem running CDT Scanner Discovery provider org.eclipse.cdt.build.crossgcc.CrossGCCBuiltinSpecsDetector Error serializing language settings Internal error while trying to serialize language settings Parent of resource: /opt/Sming/samples/Basic_Blink/.settings is marked as read-only.
Import Sming Sample Projects
Import then General ->
Existing Projects into Workspace and click
Browse for or enter Sming samples directory path which is by default
Select all sample projects and hit
Enable Sming Code Completion
Preferences then expand
Build menus, select
Environment and hit
Add. In the
Name field enter
ESP_HOME and in the
Value field enter the path to the ESP SDK then click
OK. Repeat the step replacing the
Name field with
ESP_HOME and the
Value field with the path to Sming installation directory.
Replace native environment with specified one option and hit
Enable code completion and get rid of false error reporting right click on a chosen project and select
Properties. From the properties window select
Project References, tick
SmingFramework checkbox and hit
Bring up code completion hinting with