Recognize kill/idle for blacklist #6156
Replies: 1 comment
-
Posted at 2019-05-28 by @gfwilliams You can't really - but when you get to that stage I think we need to think about blacklisting entire C files, not functions. If you blacklist individual init/kill/idle functions you're basically guaranteed to break something. Posted at 2019-05-28 by JumJum Lets start a discussion ;-) My idea was to use wildcard to remove idle/init/kill which belong to a class Going through your list, I tried to get an overview what init idle and kill are used for
Posted at 2019-06-03 by @gfwilliams I think blacklisting whole files is one of the safest ways to work since we try and keep all the code reasonably modular - Waveform especially should work really well if the file is just left out of the build. But maybe defines are the way forward - as you note I think Waveform is the only thing where you can't disable it some other way so rather than trying to build some complex addition, we could just change that. However I do wonder how much flash memory will be saved by disabling it - not much I imagine. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2019-05-24 by JumJum
Taking waveform as an example, we have
"type" : "idle", "generate" : "jswrap_waveform_idle",
how could I recognize that this belongs somehow to class Waveform ?
Beta Was this translation helpful? Give feedback.
All reactions