Skip to content

Commit 7cb9286

Browse files
dcpleunggalak
authored andcommitted
samples: intel_s1000_crb: set CONFIG_NEWLIB_LIBC for math.h
Including math.h requires Newlib so enable it in project configuration file. Signed-off-by: Daniel Leung <[email protected]>
1 parent eca4d69 commit 7cb9286

File tree

1 file changed

+3
-0
lines changed
  • samples/boards/intel_s1000_crb/i2s

1 file changed

+3
-0
lines changed

samples/boards/intel_s1000_crb/i2s/prj.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ CONFIG_I2C=y
1111
CONFIG_GPIO=y
1212
CONFIG_I2S=y
1313
CONFIG_AUDIO=y
14+
15+
# newlib needed for math.h
16+
CONFIG_NEWLIB_LIBC=y

0 commit comments

Comments
 (0)