Skip to content

Commit b9e6507

Browse files
committed
Merge branch 'master' into stuck_hunt
2 parents 5bee2dd + f933610 commit b9e6507

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

build.sh

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ usage: ./build DEVICE1 DEVICE2 ... ACTION1 ACTION2 ...
2727
uart open uhk shell
2828
switchMcux switch to UHK60 build environment
2929
switchZephyr switch to UHK80 build environment
30+
status print current branch and west workspace (zephyr/mcux)
3031
3132
Optionally run with "--dev-id 123" to select device for flashing.
3233
@@ -82,7 +83,7 @@ function processArguments() {
8283
TARGET_TMUX_SESSION=$BUILD_SESSION_NAME
8384
shift
8485
;;
85-
switchMcux|switchZephyr)
86+
switchMcux|switchZephyr|status)
8687
SINGLEPLEXED_ACTIONS="$SINGLEPLEXED_ACTIONS $1"
8788
shift
8889
;;
@@ -385,6 +386,20 @@ function performAction() {
385386
west config --local build.cmake-args -- "-Wno-dev"
386387
upgradeEnv
387388
;;
389+
status)
390+
echo "branch: `git rev-parse --abbrev-ref HEAD`"
391+
case `west config manifest.file` in
392+
west_nrfsdk.yml)
393+
echo "workspace: zephyr"
394+
;;
395+
west_mcuxsdk.yml)
396+
echo "workspace: mcux"
397+
;;
398+
*)
399+
echo "workspace: unknown (`west config manifest.file`)"
400+
;;
401+
esac
402+
;;
388403
switchMcux)
389404
west config manifest.file west_mcuxsdk.yml
390405
upgradeEnv

right/src/power_mode.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ void PowerMode_ActivateMode(power_mode_t mode, bool toggle, bool force, const ch
182182
}
183183

184184
void PowerMode_WakeHost() {
185-
LogUS("Usb_RemoteWakeup\n");
186185
USB_RemoteWakeup();
187186
}
188187

0 commit comments

Comments
 (0)