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!
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 ==============================================
echo Startup batch for ChibiStudio
echo ==============================================
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 CHIBIROOT=%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:
__________________________________________________________________________________
#!/bin/bash
# ChibiStudio path,
export CHIBISTUDIO="$HOME/ChibiStudio"
export CHIBIOS="$CHIBISTUDIO/workspace/ChibiOS"
# ARM compiler path.
PATH="$CHIBISTUDIO/tools/GNU.Tools.ARM.Embedded/bin:$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
./eclipse
exit
__________________________________________________________________________________
Improvements in ChibiStudio
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Improvements in ChibiStudio
Hi,
I split the post from the topic and copied in "Small Change Requests", this way it is not lost in the noise.
Giovanni
I split the post from the topic and copied in "Small Change Requests", this way it is not lost in the noise.
Giovanni
- RoccoMarco
- Posts: 655
- Joined: Wed Apr 24, 2013 4:11 pm
- Location: Munich (Germany)
- Has thanked: 83 times
- Been thanked: 67 times
- Contact:
Re: Improvements in ChibiStudio
Ciao,
I will look into it before to prepare ChibiStudio Preview 21
I will look into it before to prepare ChibiStudio Preview 21
Ciao,
RM
RM
Return to “Small Change Requests”
Who is online
Users browsing this forum: No registered users and 32 guests