diff options
| author | iabdalkader <i.abdalkader@gmail.com> | 2024-07-11 15:54:12 +0300 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-08-08 17:59:32 +1000 |
| commit | 7f49897adad10133cf1d55db9caed66326cd4416 (patch) | |
| tree | 235192a43e5aa96880caf0a35caca61621ba5feb /extmod/modopenamp_remoteproc.c | |
| parent | 4350cbcb48599d29d77c8b557aa96b65ae7d6aeb (diff) | |
extmod/modopenamp: Add support for building Open-AMP on device side.
Tested with two VMs each running on a different core.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
Diffstat (limited to 'extmod/modopenamp_remoteproc.c')
| -rw-r--r-- | extmod/modopenamp_remoteproc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extmod/modopenamp_remoteproc.c b/extmod/modopenamp_remoteproc.c index 82719dca9..ed61cb6bd 100644 --- a/extmod/modopenamp_remoteproc.c +++ b/extmod/modopenamp_remoteproc.c @@ -26,7 +26,7 @@ * OpenAMP's remoteproc class. */ -#if MICROPY_PY_OPENAMP_REMOTEPROC +#if MICROPY_PY_OPENAMP_HOST && MICROPY_PY_OPENAMP_REMOTEPROC #include "py/obj.h" #include "py/nlr.h" @@ -170,4 +170,4 @@ MP_DEFINE_CONST_OBJ_TYPE( locals_dict, &openamp_remoteproc_dict ); -#endif // MICROPY_PY_OPENAMP_REMOTEPROC +#endif // MICROPY_PY_OPENAMP_HOST && MICROPY_PY_OPENAMP_REMOTEPROC |
