Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/zephyr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
board:
- pico_plus2/rp2350b/m33
- native_sim/native/64
- b_u585i_iot02a
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

run this through a formatter, please:

Suggested change
- b_u585i_iot02a
- b_u585i_iot02a

app:
- mini
- demo
Expand Down
7 changes: 7 additions & 0 deletions src/samples/demo/zephyr/boards/b_u585i_iot02a.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @copyright Copyright (c) contributors to Project Ocre,
# which has been established as Project Ocre a Series of LF Projects, LLC
#
# SPDX-License-Identifier: Apache-2.0

CONFIG_STM32_MEMMAP=y
CONFIG_OCRE_MERGE_HEX=y
23 changes: 23 additions & 0 deletions src/samples/demo/zephyr/boards/b_u585i_iot02a.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
* @copyright Copyright (c) contributors to Project Ocre,
* which has been established as Project Ocre a Series of LF Projects, LLC
*
* SPDX-License-Identifier: Apache-2.0
*/

/* The storage partition will be in the external flash */
&flash0 {
partitions {
/delete-node/ partition@f0000;
};
};

&mx25lm51245 {
reg = <0x70000000 DT_SIZE_M(64)>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please,check with @kr-t , I believe the correct is:

Suggested change
reg = <0x70000000 DT_SIZE_M(64)>;
ranges = <0x70000000 DT_SIZE_M(64)>;

partitions {

/* Use the first partition from flash. */
storage_partition: partition@0 {
};
};
};
10 changes: 10 additions & 0 deletions src/samples/mini/zephyr/boards/b_u585i_iot02a.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* @copyright Copyright (c) contributors to Project Ocre,
* which has been established as Project Ocre a Series of LF Projects, LLC
*
* SPDX-License-Identifier: Apache-2.0
*/

&storage_partition{
reg = <0x000f0000 DT_SIZE_K(512)>;
};