RAKWireless / RAK-STM32-RUI

RUI3 BSP for RAK3172 modules
Other
26 stars 17 forks source link

dtostrf() build failure #5

Closed lyusupov closed 10 months ago

lyusupov commented 2 years ago

RUI3 SDK release 3.4.2 WisDuo_RAK3172_Evaluation_Board

Sketch _dtostrftest.ino:

#include <avr/dtostrf.h>

float f_val = 123.6794;
char outstr[15];

void setup()
{
  dtostrf(f_val,7, 3, outstr);
}
void loop()
{
}

Build:

$ arduino  --verify --verbose-build dtostrf_test.ino

< ... skipped ... >

system/WisDuo_RAK3172_Evaluation_Board/librui_v3_api.a(dtostrf.o): in function `dtostrf':
(.text.dtostrf+0x14): undefined reference to `asm'
collect2: error: ld returned 1 exit status
exit status 1
lyusupov commented 2 years ago

The issue is confirmed with recent RUI3 SDK release v3.5.2b_175 as well.

beegee-tokyo commented 10 months ago

Fixed in V4.1.0