On Sat, Jan 16, 2021 at 6:08 PM Matias N. <mat...@imap.cc> wrote: > Hi, > I would like to add this feature so I can measure used stack on nRF52. I'm > trying to figure out what > is needed and it would seem I need to replicate the go_nx_start() function > found on other <arch>_start.c > files. Is that all there is to it? > > it's only for idle thread coloration, other thread stack coloration is handled by common code.
> Also, any reason why this is chip dependant and not simply arch dependant? > It would seem this piece of code > is the same for all chip families inside a given arch. > > Yes, go_nx_start could share the same code in one arch. While we're at it, stack check code also involves replicating the few lines > found on <arch>_start.c right? Is this > also really chip dependant? > > Best, > Matias