dear all
Can keil compiled library be used in segger embedded studio? For example, I have a paw8001_ ofn114009_ 12_ m4f_ keil.lib
Library, can I put it directly into NRF connect SDK project to compile?
Best Regards
dear all
Can keil compiled library be used in segger embedded studio? For example, I have a paw8001_ ofn114009_ 12_ m4f_ keil.lib
Library, can I put it directly into NRF connect SDK project to compile?
Best Regards
hi
I put the config_ COMPILER_ Opt = - LM "into my pri.conf, the problem still exists, But there's one amazing thing,When I put the following code in *. C,Even though I don't make any calls。The compilation is successful。
It looks like there's something wrong with the compiler。
#include <math.h>
#if(1)
int compare(const void *, const void *);
void test(void)
{
const char *a[10] = {"enter", "number", "size", "begin", "of", "cat", "case","program","certain","a"};
float op;
float result;
op = 0.08;
result= sqrtf(op);
result= log10f(op);
result= expf(op);
result= cosf(op);
qsort(a, 10, sizeof(a[0]), compare);
result= tanf(op);
result= sinf(op);
result= logf(op);
}
int compare(const void *c, const void *d)
{
int m,n,r;
char **a, **b; // !!
a = (char **)c;
b = (char **)d;
m = strlen(*a);
n = strlen(*b);
r = m - n;
if (r != 0)
return r;
return memcmp(*a,*b,m);
}
#endif
best regards
Hi,
It is good you have a work around, but it seems odd. I agree this seems like a compiler issue. I am not able to find any reference to this, but perhaps it is worth testing a different GCC version (though the workaround seems fair enough).
dear Einar Thorsrud
By the way
I encountered a strange problem with mcuboot in ncs1.6.0, and the program has been running for a long time to FIH_PANIC and It's not going to work.
FIH_CALL(boot_go, fih_rc, &rsp);
if (fih_not_eq(fih_rc, FIH_SUCCESS)) {
BOOT_LOG_ERR("Unable to find bootable image");
FIH_PANIC;
}

Please ask what causes this?
best regards
Hi,
Please open a new case for this question as it is not directly related to the original topic. (Also, I will be OoO from three weeks from today and unable to reply.)