memcmp does not work properly.
If I call memcmp with a length > 1 on identical memory areas it returns a non-zero value.
I've tried this on the application template (AN-1174) end device as follows
if (memcmp(b,c,2)!=0) for (;;);
It does not connect. If I change the compare length to 1 it does connect.
If I change the BA toolchain path in config_ba2.mk to "ba-elf-ba2-r34135" it works.
If I force it to use the optimised versions under r36379 it works.
I am using Beyond Studio Build 1308 and JN-SW-4143 Build 1307.