Skip to content

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
markCwatson committed Nov 18, 2023
1 parent b213a86 commit f1bc943
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 13 deletions.
Binary file removed .DS_Store
Binary file not shown.
21 changes: 12 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,22 @@ on:
push:
branches:
- main
- 'dev_**'
- develop
pull_request:
branches:
- main
- develop

jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/zephyrproject-rtos/ci:latest
runs-on: ubuntu-22.04
container: ghcr.io/zephyrproject-rtos/ci:v0.26.5
env:
CMAKE_PREFIX_PATH: /opt/toolchains

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Environment
run: python scripts/pipeline-setup.py
Expand All @@ -26,13 +28,14 @@ jobs:
run: west build -b my_custom_board -s app -p

test:
runs-on: ubuntu-latest
container:
image: ghcr.io/zephyrproject-rtos/ci:latest
runs-on: ubuntu-22.04
container: ghcr.io/zephyrproject-rtos/ci:v0.26.5
env:
CMAKE_PREFIX_PATH: /opt/toolchains

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Environment
run: python scripts/pipeline-setup.py
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
# This CMake file is picked by the Zephyr build system because it is defined
# as the module CMake entry point (see zephyr/module.yml).

zephyr_include_directories(include)
# zephyr_include_directories(include)

add_subdirectory(drivers)
# add_subdirectory(drivers)
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Use Zephyr's pre-built image (baed on Ubuntu Linux)
# see https://github.com/zephyrproject-rtos/docker-image
FROM ghcr.io/zephyrproject-rtos/ci:latest
FROM ghcr.io/zephyrproject-rtos/ci:v0.26.5

# Set the working directory
WORKDIR /usr/src/app
Expand Down
2 changes: 1 addition & 1 deletion Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# as the module Kconfig entry point (see zephyr/module.yml). You can browse
# module options by going to Zephyr -> Modules in Kconfig.

rsource "drivers/Kconfig"
# rsource "drivers/Kconfig"
25 changes: 25 additions & 0 deletions boards/arm/my_custom_board/my_custom_board.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,28 @@
pinctrl-1 = <&uart0_sleep>;
pinctrl-names = "default", "sleep";
};

&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 0xc000>;
};
slot0_partition: partition@c000 {
label = "image-0";
reg = <0x0000C000 0x37000>;
};
slot1_partition: partition@43000 {
label = "image-1";
reg = <0x00043000 0x37000>;
};
storage_partition: partition@7a000 {
label = "storage";
reg = <0x0007a000 0x00006000>;
};
};
};

0 comments on commit f1bc943

Please sign in to comment.