Skip to content

Commit 544ac9e

Browse files
committed
Disable DEVICE_STDIO_MESSAGES for LPC81X
Because the LPC81X HAL implementation calls error(), which in turn calls fprintf(), quite a bit of code is added to the image, which is not a good idea on such resource constrained targets.
1 parent 430869d commit 544ac9e

File tree

1 file changed

+1
-1
lines changed
  • libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC81X/TARGET_LPC81X_COMMON

1 file changed

+1
-1
lines changed

libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC81X/TARGET_LPC81X_COMMON/device.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
#define DEVICE_DEBUG_AWARENESS 0
5050

51-
#define DEVICE_STDIO_MESSAGES 1
51+
#define DEVICE_STDIO_MESSAGES 0
5252

5353
#define DEVICE_ERROR_RED 1
5454

0 commit comments

Comments
 (0)