This document describes, in some detail, the steps required to establish a reliable TCP commmunication channel between a Linux workstation and Zephyr device over IEEE 802.15.4 and IPv6 (via 6LowPAN).
- a Linux workstation running Ubuntu Bionic
- Only x86_64 is supported at this time
- a board that is supported by Zephyr with support for IEEE 802.15.4
- In this example, we use the cc1352r1_launchxl
A Travis-CI Compatible Environment for Windows on Google Cloud
This gist should help users set a Google Cloud Virtual Machine (VM) environment similar environment to that provided by the Travis CI for Windows.
Initially, the regular traditional Windows Command Prompt is used for executing commands, and then git-bash is used for subsequent commands, much like the Travis environment.
These instrctions are an abridged version of the instructions to build WireShark for Windows found here.
In this case, the regular traditional Windows Command Prompt is used for executing commands, not the Windows PowerShell.
Rather than using a mingw environment (for gcc) or using LLVM/clang, we opt to simply use Microsoft Visual Studio. However, the Chocolatey package manager provides builds for a number of additional tools that might make Windows development seem a bit more familiar for non-Windows developers.
First, we have to set up a [virtual machine](https://en.wikipedia
| diff --git a/samples/rfBleConnect/CMakeLists.txt b/samples/rfBleConnect/CMakeLists.txt | |
| new file mode 100644 | |
| index 0000000000..54b14914b5 | |
| --- /dev/null | |
| +++ b/samples/rfBleConnect/CMakeLists.txt | |
| @@ -0,0 +1,20 @@ | |
| +# SPDX-License-Identifier: Apache-2.0 | |
| + | |
| +cmake_minimum_required(VERSION 3.13.1) | |
| + |
| *** Booting Zephyr OS build zephyr-v2.1.0-827-g823bf2ec1b38 *** | |
| [00:00:00.010,253] <dbg> bt_conn.bt_conn_prepare_events: | |
| [00:00:00.010,406] <dbg> bt_ctlr_hal_ti_radio.ble_cc13xx_cc26xx_data_init: device address: cd:de:1e:b0:6f:c0 | |
| [00:00:00.011,077] <dbg> bt_ctlr_hal_ti_radio.get_isr_latency: isr_latency: 99 | |
| [00:00:00.011,596] <dbg> bt_conn.bt_conn_prepare_events: | |
| [00:00:00.011,688] <dbg> bt_conn.bt_conn_prepare_events: | |
| [00:00:00.011,779] <dbg> bt_conn.bt_conn_prepare_events: | |
| [00:00:00.011,871] <dbg> bt_conn.bt_conn_prepare_events: | |
| [00:00:00.011,993] <dbg> bt_conn.bt_conn_prepare_events: | |
| [00:00:00.012,084] <dbg> bt_conn.bt_conn_prepare_events: |
| #include <algorithm> | |
| #include <cfloat> | |
| #include <climits> | |
| #include <cmath> | |
| #include <iomanip> | |
| #include <iostream> | |
| #include <numeric> | |
| #include <vector> | |
| /* |
| diff --git a/boards/arm/twr_k60d100m/CMakeLists.txt b/boards/arm/twr_k60d100m/CMakeLists.txt | |
| new file mode 100644 | |
| index 00000000000..a176e416064 | |
| --- /dev/null | |
| +++ b/boards/arm/twr_k60d100m/CMakeLists.txt | |
| @@ -0,0 +1,7 @@ | |
| +# SPDX-License-Identifier: Apache-2.0 | |
| + | |
| +if(CONFIG_PINMUX_MCUX) | |
| + zephyr_library() |
| # Install some Ubuntu dependencies | |
| apt install libnl-genl-3-dev libbluetooth-dev libavahi-client-dev gcc-arm-none-eabi curl build-essential git ssh python3-pip linux-headers-$(uname -r) flex bison gperf ninja-build cmake gpiod | |
| # Install a newer version of cmake (required by zephyr) | |
| # If you are using ubuntu:disco or newer, this can be ignored | |
| PN=cmake | |
| PV=3.15.2 | |
| PR=1 | |
| DEB="${PN}_${PV}-${PR}.deb" | |
| curl -L -o "${DEB}" "https://github.com/cfriedt/${PN}-debs/releases/download/v${PV}/${DEB}" |
Crostini is the codename for the Linux virtual machine in Chrome OS. It has a number of particular functions, such as running Docker containers. Recently, it also became possible to connect USB devices to the Linux VM.
Currently, only Android devices are usable within Crostini, as indicated by this phrase within the settings screen.
Only Android devices are currently supported
But to be specific, each Chrome Device should..