Search found 3 matches

by PeterAwsmtek
Tue Feb 05, 2019 8:37 pm
Forum: ChibiOS/NIL
Topic: NIL without HAL / wrong PSP value
Replies: 4
Views: 7221

Re: NIL without HAL / wrong PSP value

I've started adopting it and I found definition of double stack. Now I need some time to understand all relations between ld and startup.
Thank you for support!
by PeterAwsmtek
Mon Feb 04, 2019 10:27 pm
Forum: ChibiOS/NIL
Topic: NIL without HAL / wrong PSP value
Replies: 4
Views: 7221

Re: NIL without HAL / wrong PSP value

Thanks! I am starting to move from my startup to chibios startup.
In the file crt1.c there are lots of extern variables from linker. ram0, ram1 etc.
That is purpose of this? can these regions be merged, resized of rearranged? How it used in os?
by PeterAwsmtek
Sun Feb 03, 2019 11:57 am
Forum: ChibiOS/NIL
Topic: NIL without HAL / wrong PSP value
Replies: 4
Views: 7221

NIL without HAL / wrong PSP value

Hello! I have the baremetal project in which I want to add ChibiOS. For test I created empty project with same MCU, startup, vector table and ldscript. As well I use LL library provided by manufacturer. Startup used is CMSIS startup. Ldscripts and early init used are provided my GNU ARM Embedded pro...

Go to advanced search