1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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.
This commit is contained in:
Gregory Holder 2022-07-27 09:43:17 +02:00 committed by GitHub
parent 7ee1b58573
commit 25a476ff48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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