ChibiStudio for linux
Re: ChibiStudio for linux
That was the problem. I forgot to switch from Default DSF to standard.
Now it works great.
Thanks a lot!
Now it works great.
Thanks a lot!
- DeusExMachina
- Posts: 223
- Joined: Tue Apr 03, 2012 5:08 am
- Has thanked: 3 times
- Been thanked: 3 times
Re: ChibiStudio for linux
I failed to compile kernel3_dev (Chibios 3.0) stm32F4discovery demo with linux ChibiStudio
Code: Select all
Linking build/ch.elf
main.c: In function 'main':
main.c:41:5: internal compiler error: Segmentation fault
int main(void) {
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: arm-none-eabi-gcc returned 1 exit status
/usr/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [build/ch.elf] Ошибка 1- Giovanni
- Site Admin
- Posts: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
- DeusExMachina
- Posts: 223
- Joined: Tue Apr 03, 2012 5:08 am
- Has thanked: 3 times
- Been thanked: 3 times
Re: ChibiStudio for linux
Hi all,
although I was able to use ChibiOS view in older Eclipse, the plugin doesn't seem to work in new Eclipse (Eclipse IDE for C/C++ Developers, Version: Luna Service Release 1a (4.4.1), Build id: 20150109-0600).
I am using legacy (CDI) GDB launcher, and ChibiOS with all debugging options enabled. However, when I load the code and start debugging, I dont see any variables in ChibiOS/RT 2.x.x Debug View. The program is running, and can be stopped at any point, but the nothing shows in the view.
Is it something with my settings, or is the problem the new Eclipse?
Thanks for help.
although I was able to use ChibiOS view in older Eclipse, the plugin doesn't seem to work in new Eclipse (Eclipse IDE for C/C++ Developers, Version: Luna Service Release 1a (4.4.1), Build id: 20150109-0600).
I am using legacy (CDI) GDB launcher, and ChibiOS with all debugging options enabled. However, when I load the code and start debugging, I dont see any variables in ChibiOS/RT 2.x.x Debug View. The program is running, and can be stopped at any point, but the nothing shows in the view.
Is it something with my settings, or is the problem the new Eclipse?
Thanks for help.
- Giovanni
- Site Admin
- Posts: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: ChibiStudio for linux
Giovanni, could you in that case help me find the problem?
I am running Luna on Ubuntu 14.04 and I followed this http://chibios.org/dokuwiki/doku.php?id ... s:eclipse1 and this http://chibios.org/dokuwiki/doku.php?id ... s:eclipse2 guide. I am using a demo project based on ChibiOS 2.6. I can compile and debug code (i.e. stops at the right breakpoint etc), but even when halted the ChibiOS tab doesn't show anything.
only difference from the guide is that I am using a slightly different set of debugging commands (since I am using BlackMagicProbe):
Any ideas what I should look for?
Thanks.
I am running Luna on Ubuntu 14.04 and I followed this http://chibios.org/dokuwiki/doku.php?id ... s:eclipse1 and this http://chibios.org/dokuwiki/doku.php?id ... s:eclipse2 guide. I am using a demo project based on ChibiOS 2.6. I can compile and debug code (i.e. stops at the right breakpoint etc), but even when halted the ChibiOS tab doesn't show anything.
only difference from the guide is that I am using a slightly different set of debugging commands (since I am using BlackMagicProbe):
Code: Select all
target extended-remote /dev/ttyACM0
monitor jtag_scan
attach 1
monitor vector_catch disable hard
set mem inaccessible-by-default off
monitor option erase
set print prettyAny ideas what I should look for?
Thanks.
- Giovanni
- Site Admin
- Posts: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: ChibiStudio for linux
Are you refreshing the ChibiOS view? it shows nothing until you hit the refresh button. Sorry for asking but I am out of ideas...
Also, there are two plugins, one for 2.6 and another one for 3.0 but I imagine you already saw that.
Giovanni
Also, there are two plugins, one for 2.6 and another one for 3.0 but I imagine you already saw that.
Giovanni
Re: ChibiStudio for linux
It was the refresh button - I totally missed that since it is far from all other buttons. After hitting refresh it indeed works.
I am sorry for the unecessary question.
regards
I am sorry for the unecessary question.
regards
-
renegade82
- Posts: 13
- Joined: Thu Jul 03, 2014 12:21 pm
Re: ChibiStudio for linux
I followed the readme.txt in the tar file(ChibiStudio-linux-64bit-preview.tar.gz), but when I try to compile
How to solve this issue?
Code: Select all
Description Resource Path Location Type
set di istruzioni per l'obiettivo "build/obj/crt0.o" non riuscito rules.mk /ARMCM4-STM32F407-DISCOVERY-MEMS/os/ports/GCC/ARMCMx line 154 C/C++ Problem
make: *** [build/obj/crt0.o] Errore di segmentazione (creato dump del core) ARMCM4-STM32F407-DISCOVERY-MEMS C/C++ ProblemHow to solve this issue?