nimble.inc.mk 971 B

1234567891011121314151617181920212223242526272829
  1. # For nRF51-based targets, we need to reduce buffer sizes to make this test fit
  2. # into RAM
  3. # Note: as the CPU variable is not set at this point, we manually 'whitelist'
  4. # all supported nrf51-boards here
  5. # Set the tests default configuration
  6. APP_MTU ?= 5000
  7. APP_BUF_CHUNKSIZE ?= 250 # must be full divider of APP_MTU
  8. APP_BUF_NUM ?= 3
  9. APP_NODENAME ?= \"ROOMBAHAHAHACKED\"
  10. APP_CID ?= 0x0235
  11. # Apply configuration values
  12. CFLAGS += -DAPP_MTU=$(APP_MTU)
  13. CFLAGS += -DAPP_BUF_CHUNKSIZE=$(APP_BUF_CHUNKSIZE)
  14. CFLAGS += -DAPP_BUF_NUM=$(APP_BUF_NUM)
  15. CFLAGS += -DAPP_NODENAME=$(APP_NODENAME)
  16. CFLAGS += -DAPP_CID=$(APP_CID)
  17. # configure NimBLE
  18. #USEPKG += nimble
  19. MSYS_CNT ?= 40
  20. #CFLAGS += -DMYNEWT_VAL_BLE_L2CAP_COC_MAX_NUM=1
  21. #CFLAGS += -DMYNEWT_VAL_BLE_L2CAP_COC_MPS=250
  22. #CFLAGS += -DMYNEWT_VAL_BLE_MAX_CONNECTIONS=1
  23. #CFLAGS += -DMYNEWT_VAL_MSYS_1_BLOCK_COUNT=$(MSYS_CNT)
  24. #CFLAGS += -DMYNEWT_VAL_MSYS_1_BLOCK_SIZE=298
  25. #CFLAGS += -DMYNEWT_VAL_BLE_LL_CFG_FEAT_DATA_LEN_EXT=1