From 25a476ff48d5ae930ef1d41c536abd053959cdb1 Mon Sep 17 00:00:00 2001 From: Gregory Holder <30503300+blueted2@users.noreply.github.com> Date: Wed, 27 Jul 2022 09:43:17 +0200 Subject: [PATCH] pkg/nimble: Replace double quotes with single quotes for two CFLAGS Using double quotes can cause issue when the final cmake command is called, and you end up with un-escpaed nested double quotes. --- pkg/nimble/Makefile.include | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/nimble/Makefile.include b/pkg/nimble/Makefile.include index 5efaa78946fb..e647d581a41a 100644 --- a/pkg/nimble/Makefile.include +++ b/pkg/nimble/Makefile.include @@ -133,7 +133,7 @@ ifneq (,$(filter nimble_netif,$(USEMODULE))) # in order to fit a 251 byte COC data segment into a single mbuf buffer, the # used block size must be at least 297 byte (251 data + 48 overhead) - CFLAGS += -DMYNEWT_VAL_MSYS_1_BLOCK_SIZE="(MYNEWT_VAL_BLE_L2CAP_COC_MPS + 48)" + CFLAGS += -DMYNEWT_VAL_MSYS_1_BLOCK_SIZE='(MYNEWT_VAL_BLE_L2CAP_COC_MPS + 48)' # in the worst case, NimBLEs internal buffer needs to hold two full IPv6 MTUs # per connection (1 TX and 1 RX). But in practice this would be highly over- @@ -156,7 +156,7 @@ else # in order to fit a 251 byte COC data segment into a single mbuf buffer, the # used block size must be at least 297 byte (251 data + 48 overhead) - CFLAGS += -DMYNEWT_VAL_MSYS_1_BLOCK_SIZE="(MYNEWT_VAL_BLE_L2CAP_COC_MPS + 48)" + CFLAGS += -DMYNEWT_VAL_MSYS_1_BLOCK_SIZE='(MYNEWT_VAL_BLE_L2CAP_COC_MPS + 48)' endif endif