mkdir workspace
cd workspace
git clone https://github.com/crosscon/uc1-integration
git checkout $BRANCH # if testing from branch other than main
cd uc1-integration
git submodule update --init --recursive
west init -l && west update
Refer to the uc1.sh
for details.
export ZEPHYR_APP="timer_test"
export HV_CONFIG="two_bm_zephyr"
./uc1.sh build && ./uc1.sh flash && ./uc1.sh hv_start
Default USART
assignment:
USART0
- hypervisorUSART2
- ZephyrUSART3
- bare-metal app
Note:
wifi_app
will needUSART2
for communication with WiFi module. An alternative Zephyr code usingUSART3
as Zephyr console for debugging capabilities of this app is available here. This can be selected inwest.yml
file.
-
Go to
app/src/main.c
-
In lines:
#define WIFI_SSID "rpi3-hotspot" #define WIFI_PASSWORD "rpi3-pass"
Set the values to actual SSID and password of the target wifi network.
-
Save the file.