This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

library

Almost all the modules of the library are in the segments LIB_CODE and LDIV, but i don't know if we can separate some modules from these segments.
Can we do it?
And if yes, how can i do it?

Parents
  • I agree but I did not find the functions which can replace the library and i need these functions in the firmware. We read a code that was store in an external flash, via a bus I2c. So we need a long address. So I need such functions as multiplication,division...But now i found these functions.
    Thank you for your answers.
    Kaoru

Reply
  • I agree but I did not find the functions which can replace the library and i need these functions in the firmware. We read a code that was store in an external flash, via a bus I2c. So we need a long address. So I need such functions as multiplication,division...But now i found these functions.
    Thank you for your answers.
    Kaoru

Children
  • You're not quite getting me yet. The trick you're missing is that you will have to have *two* copies of that library segment: one in the firmware part of the program, the other in the program it downloads into the flash.

    Essentially, you'll have to build the firmware and the linker as self-contained separate projects, including separate linker runs for each of them.