-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added workflow to build sample and overlays for posix and stm32h7
- Loading branch information
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright (c) 2024, Victor Chavez | ||
# SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
name: Build | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ubuntu-22.04 | ||
container: ghcr.io/zephyrproject-rtos/ci:v0.26.2 | ||
env: | ||
CMAKE_PREFIX_PATH: /opt/toolchains | ||
ZEPHYR_VERSION: v3.6-branch | ||
# Board to use with renode | ||
BOARD: native_posix_64 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Initialize | ||
run: | | ||
cd /tmp/ | ||
west init | ||
west update -o=--depth=1 -n | ||
- name: Build PoC | ||
working-directory: /tmp/ | ||
run: | | ||
west build $GITHUB_WORKSPACE/samples/ifm_sample_app -b $BOARD --build-dir $GITHUB_WORKSPACE/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
CONFIG_SPI_EMUL=y | ||
CONFIG_EMUL=y | ||
CONFIG_GPIO_EMUL=y |
3 changes: 3 additions & 0 deletions
3
samples/ifm_sample_app/boards/stm32h747i_disco_stm32h747xx_m7.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
&gpioe { | ||
status="okay"; | ||
}; |