Search found 5 matches

by rizzir
Sat Aug 19, 2017 11:37 pm
Forum: ChibiOS/NIL
Topic: Overhead of Thread Working Area in NIL and RT
Replies: 3
Views: 72214

Re: Overhead of Thread Working Area in NIL and RT

Hello Giovanni,

thank you for your explanation. Now that totally makes sense to me. Probably I just should have looked at the macro expansion myself but anyway your explanation was really helpful, especially regarding the size of PORT_INT_REQUIRED_STACK. It is also good to know that the size for ...
by rizzir
Wed Aug 16, 2017 7:08 am
Forum: ChibiOS/NIL
Topic: Overhead of Thread Working Area in NIL and RT
Replies: 3
Views: 72214

Overhead of Thread Working Area in NIL and RT

In the feature description of Nil it is said that tasks only take 7-24 Bytes of memory m.

Out of curiosity I have compiled the NIL-ARMCM0-GENERIC example in demos/various/ and set the WA-size to 128 Bytes for thread1 and 256 Bytes for thread2. If I look into the .dmp file, I can see that waThread1 ...
by rizzir
Sat Mar 05, 2016 1:07 pm
Forum: Development and Feedback
Topic: SD card mount issue on F103
Replies: 17
Views: 17174

Re: SD card mount issue on F103

Ah, I see. It's done through PALConfig in board.c/.h .
I was just blind because I was only looking for palSetPadMode().
Thanks for pointing me into the right direction.
by rizzir
Fri Mar 04, 2016 1:40 pm
Forum: Development and Feedback
Topic: SD card mount issue on F103
Replies: 17
Views: 17174

Re: SD card mount issue on F103

Hi Giovanni,

In the SPI example for STM32F1 in the current Trunk the pins are configured in the main function.
I know that the datasheet is where you can find the possible pin functions but I meant which function/macro does call palSetPadMode to configure the pins in software if you do not do it ...
by rizzir
Wed Mar 02, 2016 2:06 am
Forum: Development and Feedback
Topic: SD card mount issue on F103
Replies: 17
Views: 17174

Re: SD card mount issue on F103

Well, this thread is quite old but while trying to get an SD card working on an STM32-F103 I stumbled uppon this thread as well as another thread where Giovanni pointed to the F103 SD card example for version 2.6 . I tried to port everything to the current 16.1.x version.

Anyway, I figured out that ...