System Hardfault when calling dwt_probe()

You only need symbols from the linker such the driver “probe” would know where the array of struct describing driver starts and ends.

defining of the section(but you do not have to make it on a fixed address) is one approach;

Another approach would be to define array in your main code which has these start end symbols defined. You also can reduce the code size by attaching only 1 variant of driver to your code.

I think the code example was on this forum…