diff --git a/port/wiced-h4/create_examples.py b/port/wiced-h4/create_examples.py index 104ee978e..52c1e3012 100755 --- a/port/wiced-h4/create_examples.py +++ b/port/wiced-h4/create_examples.py @@ -18,6 +18,9 @@ NAME := EXAMPLE GLOBAL_INCLUDES += . +# Replace Linefeed with -> CRLF +GLOBAL_DEFINES += CRLF_STDIO_REPLACEMENT + $(NAME)_SOURCES := ../../../libraries/btstack/example/EXAMPLE.c $(NAME)_COMPONENTS += btstack/port/wiced-h4 diff --git a/port/wiced-h5/create_examples.py b/port/wiced-h5/create_examples.py index 02146c92e..62c35c223 100755 --- a/port/wiced-h5/create_examples.py +++ b/port/wiced-h5/create_examples.py @@ -18,6 +18,9 @@ NAME := EXAMPLE GLOBAL_INCLUDES += . +# Replace Linefeed with -> CRLF +GLOBAL_DEFINES += CRLF_STDIO_REPLACEMENT + $(NAME)_SOURCES := ../../../libraries/btstack/example/EXAMPLE.c $(NAME)_COMPONENTS += btstack/port/wiced-h5