Search found 67 matches

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

Re: spiExchange problem Topic is solved

Giovanni wrote:Are pins programmed in the correct alternate mode?

Giovanni


I think so: https://github.com/ceremcem/chibi-examp ... .h#L41-L67
by ceremcem
Tue Jun 18, 2019 3:30 pm
Forum: STM32 Support
Topic: spiExchange problem Topic is solved
Replies: 8
Views: 3667

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: 2879

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: 2879

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: 2879

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: 2879

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: 5995

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: 11551

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: 5995

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: 5995

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?

Go to advanced search