Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Device layer port to nRF52840 #4

Open
wants to merge 3 commits into
base: feature/nrf52840-device-layer-local
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis/build_nrf52840.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
# Travis CI build script for nRF52840 integration builds.
#

# Export NRF5_SDK_ROOT variable pointing to the nRF52840 SDK for Thread and Zigbee.
export NRF5_SDK_ROOT=${TRAVIS_BUILD_DIR}/nRF52840/nRF5_SDK_for_Thread_and_Zigbee_2.0.0_29775ac
# Export NRF5_SDK_ROOT variable pointing to the nRF5x SDK for Thread and Zigbee.
export NRF5_SDK_ROOT=${TRAVIS_BUILD_DIR}/nRF5x-SDK-for-Thread-and-Zigbee

# Export NRF5_TOOLS_ROOT variable pointing to the nRF5x command line tools.
export NRF5_TOOLS_ROOT=${TRAVIS_BUILD_DIR}/nRF5x-Command-Line-Tools
Expand Down
8 changes: 4 additions & 4 deletions .travis/prepare_nrf52840.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ set -x
#

wget -O ${TMPDIR}/nordic_sdk_for_thread.zip -nv ${NORDIC_SDK_FOR_THREAD_URL} || exit 1
unzip -d ${TRAVIS_BUILD_DIR}/nRF52840 -q ${TMPDIR}/nordic_sdk_for_thread.zip || exit 1
unzip -d ${TRAVIS_BUILD_DIR}/nRF5x-SDK-for-Thread-and-Zigbee -q ${TMPDIR}/nordic_sdk_for_thread.zip || exit 1
rm ${TMPDIR}/nordic_sdk_for_thread.zip

# Install Nordic nRF5x Command Line Tools
Expand Down Expand Up @@ -94,12 +94,12 @@ set +x
# Log relevant build information.
#
echo '---------------------------------------------------------------------------'
echo 'nRf52840 Build Preparation Complete'
echo 'nRF52840 Build Preparation Complete'
echo ''
echo "openweave-core branch: ${TRAVIS_BRANCH}"
echo "Nordic SDK for Thread and Zigbee: ${NORDIC_SDK_FOR_THREAD_URL}"
echo "Nordic nRF5x Command Line Tools: ${NORDIC_COMMAND_LINE_TOOL_URL}"
echo "ARM GCC Toolchain: ${NORARM_GCC_TOOLCHAIN_URL}"
echo "Nordic nRF5x Command Line Tools: ${NORDIC_COMMAND_LINE_TOOLS_URL}"
echo "ARM GCC Toolchain: ${ARM_GCC_TOOLCHAIN_URL}"
echo 'Commit Hashes'
echo ' openweave-core: '`git -C ${TRAVIS_BUILD_DIR} rev-parse --short HEAD`
echo '---------------------------------------------------------------------------'
2 changes: 1 addition & 1 deletion src/lib/core/WeaveConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@
*
*/
#ifndef WEAVE_CONFIG_ENABLE_UNSECURED_TCP_LISTEN
#define WEAVE_CONFIG_ENABLE_UNSECURED_TCP_LISTEN 0
#define WEAVE_CONFIG_ENABLE_UNSECURED_TCP_LISTEN 1
#endif // WEAVE_CONFIG_ENABLE_UNSECURED_TCP_LISTEN

/**
Expand Down