Skip to content

Commit

Permalink
adding missing flags in build_nrf52840.sh (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
priyankaCh22 authored Feb 24, 2021
1 parent d864a94 commit e83cd65
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions silk/shell/build_nrf52840.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ else
CPPFLAGS="${CPPFLAGS} -DOPENTHREAD_CONFIG_TMF_ADDRESS_QUERY_INITIAL_RETRY_DELAY=4"
CPPFLAGS="${CPPFLAGS} -DOPENTHREAD_CONFIG_TMF_ADDRESS_CACHE_MAX_SNOOP_ENTRIES=2"
CPPFLAGS="${CPPFLAGS} -DOPENTHREAD_CONFIG_TMF_SNOOP_CACHE_ENTRY_TIMEOUT=10"
CPPFLAGS="${CPPFLAGS} -DOPENTHREAD_CONFIG_CHANNEL_MANAGER_MINIMUM_DELAY=2"
CPPFLAGS="${CPPFLAGS} -DOPENTHREAD_CONFIG_MLE_MAX_CHILDREN=32"
CPPFLAGS="${CPPFLAGS} -DOPENTHREAD_CONFIG_MLE_IP_ADDRS_PER_CHILD=10"
CPPFLAGS="${CPPFLAGS} -DOPENTHREAD_CONFIG_IP6_MAX_EXT_UCAST_ADDRS=8"
CPPFLAGS="${CPPFLAGS} -DOPENTHREAD_CONFIG_IP6_MAX_EXT_MCAST_ADDRS=4"
CPPFLAGS="${CPPFLAGS} -DOPENTHREAD_CONFIG_MAC_FILTER_SIZE=10"
CPPFLAGS="${CPPFLAGS} -DOPENTHREAD_CONFIG_IP6_SLAAC_ENABLE=1"
CPPFLAGS="${CPPFLAGS}" make -f examples/Makefile-nrf52840 \
BORDER_ROUTER=1 \
CHILD_SUPERVISION=1 \
Expand All @@ -58,6 +65,7 @@ else
USB=1 \
CHANNEL_MANAGER=1 \
CHANNEL_MONITOR=1 \
JAM_DETECTION=1 \
OTNS=1

echo "Completed building, change to output/nrf52840/bin"
Expand Down

0 comments on commit e83cd65

Please sign in to comment.