Search found 66 matches

by ceremcem
Tue Jun 18, 2019 3:30 pm
Forum: STM32 Support
Topic: spiExchange problem Topic is solved
Replies: 8
Views: 689

spiExchange problem Topic is solved

Hi, I'm trying to echo what I send via MOSI with MISO pin, so I just short circuited the MOSI and MISO pins. int main(void) { halInit(); chSysInit(); init_io(); // start the blinker thread chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL); spiStart(&SPID1, &test_spic...
by ceremcem
Tue Jun 11, 2019 10:11 pm
Forum: General Support
Topic: How to use custom GCC?
Replies: 5
Views: 645

Re: How to use custom GCC?

@giovanni,

New Debian installation couldn't make gcc toolchain work till I installed gcc-multilib via apt (apt-get install gcc-multilib). That's the reason I think they are correlated. However, currently I'm not able to debug further.
by ceremcem
Tue Jun 11, 2019 4:45 pm
Forum: General Support
Topic: How to use custom GCC?
Replies: 5
Views: 645

Re: How to use custom GCC?

FYI:

I've successfully reproduced the current issue on a newly installed Debian 9 stable distro inside VirtualBox. Any of the downloaded gcc toolchain (v5.3 or v8) makes the context switch work on STM32F030F4P6. I'm suspecting gcc-multilib here.
by ceremcem
Fri Jun 07, 2019 10:54 am
Forum: General Support
Topic: How to use custom GCC?
Replies: 5
Views: 645

Re: How to use custom GCC?

Looks like a caching or path issue. it might also be some libs/programs that are installed on your host and create conflicts. Try with the PATH environment variable instead of your GCC_PATH variable. I tried setting the PATH variable before and there was no luck with that either. I forgot to mentio...
by ceremcem
Thu Jun 06, 2019 12:29 pm
Forum: General Support
Topic: How to use custom GCC?
Replies: 5
Views: 645

How to use custom GCC?

Here is a really weird situation: Apparently I can not compile my app with a custom GCC suite. --- This story begun with this post . I downloaded various GCC versions from https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads, set the PATH v...
by ceremcem
Thu Jun 06, 2019 6:46 am
Forum: General Support
Topic: Git refuses to merge unrelated histories on branch stable_18.2.x Topic is solved
Replies: 8
Views: 1156

Re: Git refuses to merge unrelated histories on branch stable_18.2.x Topic is solved

Very nice! Now my existing git clone can sync with current (new) Github repo. Thank you.

If you could explain the steps, it would be also useful for the future operations: https://superuser.com/q/1445182/187576
by ceremcem
Wed Jun 05, 2019 1:39 pm
Forum: Development and Feedback
Topic: [INFO] Moving repository to OSDN
Replies: 22
Views: 3019

Re: [INFO] Moving repository to OSDN

@mobyfab

I'm redirected here from viewtopic.php?p=35538. It's very surprising to come across with a completely new ChibiOS repo suddenly on Github. What is the rationale for this change? Can't we just keep using "old" repo?
by ceremcem
Wed Jun 05, 2019 9:50 am
Forum: General Support
Topic: Git refuses to merge unrelated histories on branch stable_18.2.x Topic is solved
Replies: 8
Views: 1156

Re: Git refuses to merge unrelated histories on branch stable_18.2.x Topic is solved

Wow! Apparently the upstream repo that I've cloned was moved to https://github.com/ChibiOS/ChibiOS-Old and had been archived. There is a brand new repo pushed to the https://github.com/ChibiOS/ChibiOS location.

Why is this happened? Who is managing the Github mirror?
by ceremcem
Tue Jun 04, 2019 9:54 pm
Forum: General Support
Topic: Git refuses to merge unrelated histories on branch stable_18.2.x Topic is solved
Replies: 8
Views: 1156

Git refuses to merge unrelated histories on branch stable_18.2.x Topic is solved

Hi,

My latest commit on the PC is 5b8695ccb and when I try to update with `git pull upstream stable_18.2.x`, I receive the following error:

Code: Select all

fatal: refusing to merge unrelated histories


What is going on?
by ceremcem
Mon Apr 08, 2019 8:16 am
Forum: STM32 Support
Topic: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved
Replies: 19
Views: 3607

Re: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved

Hi Giovanni, I downloaded https://developer.arm.com/-/media/Files/downloads/gnu-rm/5_3-2016q1/gccarmnoneeabi532016q120160330linuxtar.bz2?revision=417e2623-c259-4a12-aacc-c87200b569c7?product=GNU%20Arm%20Embedded%20Toolchain,32-bit,,Linux,5-2016-q1-update which is the same binary as I downloaded from...

Go to advanced search