1234567891011121314151617181920212223242526272829 |
- # For nRF51-based targets, we need to reduce buffer sizes to make this test fit
- # into RAM
- # Note: as the CPU variable is not set at this point, we manually 'whitelist'
- # all supported nrf51-boards here
- # Set the tests default configuration
- APP_MTU ?= 5000
- APP_BUF_CHUNKSIZE ?= 250 # must be full divider of APP_MTU
- APP_BUF_NUM ?= 3
- APP_NODENAME ?= \"ROOMBAHAHAHACKED\"
- APP_CID ?= 0x0235
- # Apply configuration values
- CFLAGS += -DAPP_MTU=$(APP_MTU)
- CFLAGS += -DAPP_BUF_CHUNKSIZE=$(APP_BUF_CHUNKSIZE)
- CFLAGS += -DAPP_BUF_NUM=$(APP_BUF_NUM)
- CFLAGS += -DAPP_NODENAME=$(APP_NODENAME)
- CFLAGS += -DAPP_CID=$(APP_CID)
- # configure NimBLE
- #USEPKG += nimble
- MSYS_CNT ?= 40
- #CFLAGS += -DMYNEWT_VAL_BLE_L2CAP_COC_MAX_NUM=1
- #CFLAGS += -DMYNEWT_VAL_BLE_L2CAP_COC_MPS=250
- #CFLAGS += -DMYNEWT_VAL_BLE_MAX_CONNECTIONS=1
- #CFLAGS += -DMYNEWT_VAL_MSYS_1_BLOCK_COUNT=$(MSYS_CNT)
- #CFLAGS += -DMYNEWT_VAL_MSYS_1_BLOCK_SIZE=298
- #CFLAGS += -DMYNEWT_VAL_BLE_LL_CFG_FEAT_DATA_LEN_EXT=1
|