-
Notifications
You must be signed in to change notification settings - Fork 19
Native sim support #183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Native sim support #183
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
05700e6
samples(zephyr): add config and overlay files for native_sim support
SorinOlari f1d8006
zephyr(bug fix): add CONFIG_64BIT check for x86_64 target to select c…
SorinOlari dd98ac3
platform-zephyr(bug fix): WAMR expects linear memory to be alligned s…
SorinOlari e3e4b1f
samples(demo): enable SYS_HEAP_AUTO to support big heaps memory alloc…
SorinOlari 54b6007
runtime(wamr): fix wrong parameter passed to user_malloc, replace CON…
SorinOlari c06da1f
docs(native_sim): modify native_sim board documentation
SorinOlari 2d33715
tests_hw: add license banner to .sh scripts to pass ci checks
SorinOlari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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,9 @@ | ||
| # @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_COMMON_LIBC_MALLOC_ARENA_SIZE=10485760 | ||
| CONFIG_UART_NATIVE_PTY_0_ON_STDINOUT=y | ||
| CONFIG_UART_NATIVE_PTY=y | ||
| CONFIG_SYS_HEAP_AUTO=y |
This file contains hidden or 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,14 @@ | ||
| /** | ||
| * @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 | ||
| */ | ||
|
|
||
| &flash0 { | ||
| reg = < 0x0 DT_SIZE_M(32) >; | ||
| }; | ||
|
|
||
| &storage_partition { | ||
| reg = < 0xfc000 DT_SIZE_M(16) >; | ||
| }; |
This file contains hidden or 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,9 @@ | ||
| # @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_COMMON_LIBC_MALLOC_ARENA_SIZE=10485760 | ||
| CONFIG_UART_NATIVE_PTY_0_ON_STDINOUT=y | ||
| CONFIG_UART_NATIVE_PTY=y | ||
| CONFIG_SYS_HEAP_AUTO=y |
This file contains hidden or 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,14 @@ | ||
| /** | ||
| * @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 | ||
| */ | ||
|
|
||
| &flash0 { | ||
| reg = < 0x0 DT_SIZE_M(32) >; | ||
| }; | ||
|
|
||
| &storage_partition { | ||
| reg = < 0xfc000 DT_SIZE_M(16) >; | ||
| }; |
This file contains hidden or 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,9 @@ | ||
| # @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_COMMON_LIBC_MALLOC_ARENA_SIZE=10485760 | ||
| CONFIG_UART_NATIVE_PTY_0_ON_STDINOUT=y | ||
| CONFIG_UART_NATIVE_PTY=y | ||
| CONFIG_SYS_HEAP_AUTO=y |
This file contains hidden or 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,14 @@ | ||
| /** | ||
| * @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 | ||
| */ | ||
|
|
||
| &flash0 { | ||
| reg = < 0x0 DT_SIZE_M(32) >; | ||
| }; | ||
|
|
||
| &storage_partition { | ||
| reg = < 0xfc000 DT_SIZE_M(16) >; | ||
| }; |
This file contains hidden or 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 |
|---|---|---|
| @@ -1 +1,7 @@ | ||
| echo "Cleanup is complete" | ||
| #!/bin/sh | ||
| # @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 | ||
|
|
||
| echo "Cleanup is complete" |
This file contains hidden or 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 |
|---|---|---|
| @@ -1 +1,7 @@ | ||
| echo "Setup is complete" | ||
| #!/bin/sh | ||
| # @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 | ||
|
|
||
| echo "Setup is complete" |
This file contains hidden or 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 |
|---|---|---|
| @@ -1 +1,7 @@ | ||
| echo "Cleanup is complete" | ||
| #!/bin/sh | ||
| # @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 | ||
|
|
||
| echo "Cleanup is complete" |
This file contains hidden or 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 |
|---|---|---|
| @@ -1 +1,7 @@ | ||
| echo "Setup is complete" | ||
| #!/bin/sh | ||
| # @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 | ||
|
|
||
| echo "Setup is complete" |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.