Crossworks & ChibiOS

Comments

4 comments

  • Avatar
    Michael Johnson

    Stack size?

    Add the linker script to the project and change it's file type to be linker script.

    0
    Comment actions Permalink
  • Avatar
    Lipin

    Problem solved by creating Generic STM32 Project (not STM32F10X it is missing some options so u cannot set procces stack). Also u need to add USE_PROCESS_STACK;INITIALIZE_STACK in preprocessor options (taken from yagarto rtos benchmark project) and modify chmemcore to use __heap_start__ instead of __heap_base__.

    I have uploaded template project in case someone needs it (although it uses modified startup file from Generic STM32F103x project to lazy now to modify Generic STM32 startup file). Hal should work fine if I didn’t make any mistake. 

    Template: http://tinyurl.com/3xfon9a

    Thank you for help

    Regards Thomas

    0
    Comment actions Permalink
  • Avatar
    Alexandre Courtemanche

    Lipin, your projct dowes not compile "out-of-the-box". WHen I try to build, I get: 

     

    /usr/share/crossworks_for_arm_2.3/gcc/arm-unknown-elf/bin/ld: cannot find /home/acourt/.rowley_associates_limited/CrossWorks for ARM/packages/targets/STM32/lib/libcmsis_v7m_t_le.a: No such file or directory

    0
    Comment actions Permalink
  • Avatar
    Lipin

    That is an old old post. I do not use Rowley and I am even not on cortex m3 anymore. I guess many things changed since then.

    You may look at post https://rowley.zendesk.com/entries/421541--Solved-Build-failed-but-No-errors-reported it seems like it is the same issue with solution.

    Basing on zip filename it was hobby induction motor inverter project that ended up using freertos in later phases therefore I cannot guarantee quality of previously attached code and to be honest I can barely recall it.

    Greetings

    0
    Comment actions Permalink

Please sign in to leave a comment.