Hi everyone,

I am trying to print floating point in mynewt using
*console_printf("%f",floating_var)* but i am unable to do so. I read that
the baselibc does not support floating point, so I tried removing the
libc/baselibc from pkg.deps: in pkg.yml so that the compiler uses newlib
but then i hit the following error:
Linking /project/bin/targets/kwp1/app/apps/bme280/bme280.elf
Error:/project/bin/targets/kwp1/app/hw/bsp/nrf52dk/hw_bsp_nrf52dk.a(gcc_startup_nrf52.o):
In function `.bss_zero_loop':
/project/repos/apache-mynewt-core/hw/bsp/nrf52dk/src/arch/cortex_m4/gcc_startup_nrf52.s:182:
undefined reference to `_start'
collect2: error: ld returned 1 exit status

how can i resolve this issue?

thank you

Reply via email to