Improvements in ChibiStudio

Use this forum for requesting small changes in ChibiOS. Large changes should be discussed in the development forum. This forum is NOT for support.
User avatar
Posts: 26
Joined: Thu Feb 08, 2018 8:38 am
Location: Switzerland
Been thanked: 3 times

Improvements in ChibiStudio

Postby psavr » Sun May 13, 2018 10:41 am

Thank you for providing "ChibiStudio preview 20" viewtopic.php?f=7&t=2119&p=32789#p32789
But have you planned also to provide a Linux package as well, this would be fantastic! :D

While using ChibiOS (18.2.0) and your last ChibiStudio (on Windows and Linux) for some time, I would like to give several feedbacks and proposals.

I prefer to have ChibiOS project directory in the workspace directory. Then you have still the choice to use different workspaces for different ChibiOS versions or to have different ChibiOS versions in the same workspace. Then, you can use the CHIBIOS path variable as relative path according to you current workspace selection:
[File]=>[Properties]=>[Resource]=>[Linked Resources]=>[Name: CHIBIOS]=>[Location: ${WORKSPACE_LOC}/ChibiOS]

For windows I have modified the startup batch file, using the %CD% variable (Current Directory) to be independent from the drive and path of ChibiStudio. The commented section is useful if the path is to difficult for Eclipse (e,g, network-paths), it substitute the current Directory a local drive letter, in this example to Q:\
@echo off
echo ==============================================
echo Startup batch for ChibiStudio
echo ==============================================
set QP=%CD%
rem -----------------------------------------------
rem echo Relocating '%CD%'to %QP%\
rem set QP=Q:
rem if "%CD%" NEQ "%QP%" subst Q: /d
rem if "%CD%" NEQ "%QP%" subst Q: "%CD%"
rem -----------------------------------------------
cd /D %QP%
explorer %QP%
set CHIBIOS=%CHIBIROOT%\workspace\ChibiOS
set PATH=%CHIBIROOT%\tools\gnutools\bin;%PATH%
set PATH=%CHIBIROOT%\tools\openocd\bin;%PATH%
set PATH=%CHIBIROOT%\tools\GNU.Tools.ARM.Embedded\6.3.2017q2\arm-none-eabi\bin;%PATH%
set PATH=%CHIBIROOT%\tools\GNU.Tools.ARM.Embedded\6.3.2017q2\bin;%PATH%
echo Starting Eclipse...
cd /D %CHIBIROOT%\eclipse
start eclipse.exe

For Linux I placed ChibiOS in my $HOME Patch and I'm using this start-up script:

# ChibiStudio path,
export CHIBISTUDIO="$HOME/ChibiStudio"
export CHIBIOS="$CHIBISTUDIO/workspace/ChibiOS"
# ARM compiler path.
# Power compiler path.
# PATH="$CHIBISTUDIO/tools/powerpc-eabivle/bin:$PATH"
# OpenOCD executable.
export OPENOCD="$CHIBISTUDIO/tools/openocd/bin/openocd"
# FMPP executable.
export FMPP="$CHIBISTUDIO/tools/fmpp/bin/fmpp"
# Eclipse tooltips workaround.
export SWT_GTK3=0
# Starting Eclipse.
cd $CHIBISTUDIO/eclipse

User avatar
Site Admin
Posts: 13063
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 757 times
Been thanked: 636 times

Re: Improvements in ChibiStudio

Postby Giovanni » Sun Oct 21, 2018 5:15 am


I split the post from the topic and copied in "Small Change Requests", this way it is not lost in the noise.


User avatar
Posts: 635
Joined: Wed Apr 24, 2013 4:11 pm
Location: Salerno (Italy)
Has thanked: 77 times
Been thanked: 60 times

Re: Improvements in ChibiStudio

Postby RoccoMarco » Sun Jan 27, 2019 5:35 pm

I will look into it before to prepare ChibiStudio Preview 21

Return to “Small Change Requests”

Who is online

Users browsing this forum: No registered users and 3 guests