Giovanni wrote:Sure, 2014
So much better than 2015!
I will let the others push you further
Code: Select all
chnWrite(&SD1, (const uint8_t *)"Hello World!\r\n", 14);Code: Select all
while (oqIsFullI(oqp)) {
osalSysUnlock();////////////////////////////////////////////////////////
return w;///////////////////////////////////////////////////////////////
if (osalThreadEnqueueTimeoutS(&oqp->q_waiting, time) != Q_OK) {
osalSysUnlock();
return w;
}
}
Linking build/ch.elf
main.c: In function 'main':
main.c:58:5: internal compiler error: Segmentation fault
int main(void) {
^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://sourcery.mentor.com/GNUToolchain/> for instructions.
lto-wrapper: arm-none-eabi-gcc returned 1 exit status
c:/users/bill/mentorgraphics/sourcery_codebench_lite_for_arm_eabi/bin/../lib/gcc
/arm-none-eabi/4.8.1/../../../../arm-none-eabi/bin/ld.exe: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
cs-make: *** [build/ch.elf] Error 1
cs-make USE_LTO=no
[03:27:45] che@quad:~/mcu/chibios-stm32f103/ChibiOS-RT/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103$ make
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] Error 1