Ceedling icon indicating copy to clipboard operation
Ceedling copied to clipboard

unity_memory.h

Open bhaggenmiller opened this issue 9 months ago • 1 comments

I did not find the config option for enabling the extension memory option for unity. Can someone help me with this ?

bhaggenmiller avatar Apr 28 '25 13:04 bhaggenmiller

Hi @bhaggenmiller -- you've not found it, because it doesn't exist.

At the moment, you'd have to add it to the support path:

:paths:
  :support:
    - vendor/unity/extras/memory/src

Then you'd have to TEST_SOURCE_FILE("unity_memory.c") in any test you intend to use it.

The challenge will be getting the correct path above, as the vendor folder is likely stowed away in your gem somewhere.

Feel free to keep pinging me if you need further help... but also, I'd love it if you'd leave this issue open. It SHOULD be simplified to a single ceedling feature.

mvandervoord avatar May 12 '25 15:05 mvandervoord