Project builds in 3.2 but not 3.5

Comments

6 comments

  • Avatar
    Michael Johnson

    Merge the thumb_crt0.s changes into your project local copy.

    0
    Comment actions Permalink
  • Avatar
    Clark Leach

    Could you elaborate on that a bit?

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Diff your project local copy of thumb_crt0.s with the one in the distribution and merge in the changes.

    0
    Comment actions Permalink
  • Avatar
    Clark Leach

    The only copies of this file are:

    C:\Program Files (x86)\Rowley Associates Limited\CrossWorks for ARM 3.5\source

    C:\Program Files (x86)\Rowley Associates Limited\CrossWorks for ARM 3.2\source

    I'm guessing the problem must lie in the libraries provided by ZMDI.

     

     

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    It's a bit crap but you can just declare

    void __heap_lock() {}

    void __heap_unlock() {}

    void __printf_lock() {}

    void __printf_unlock() {}

    in a source file.

    0
    Comment actions Permalink
  • Avatar
    Rafael Castro

    Hi Michael,

     

    I am having same problem. My application builds in ARM 2.3 but not in ARM 3.5.

    When compiling I get:

    >>>>>>

    Building ‘uTaskerV14’ from solution ‘uTaskerV14(IPM)’ in configuration ‘THUMB Flash Debug’
      Compiling application.c
        config.h
        application.c
        unknown type name 'CTL_MUTEX_t'
        variable 'usTemp' set but not used [-Wunused-but-set-variable]
        control reaches end of non-void function [-Wreturn-type]
    Build failed

    >>>>>>>>>

     

    I also added the source file as you proposed and did not work, I get same error!

    Do you mean merging thumb_crt0.s from both distributions into one and replacing it on the ARM 3.5 ?

    Do you mean merging two *.s files?

     

    Thanks

    Rafael

     

    0
    Comment actions Permalink

Please sign in to leave a comment.