Commit 4350cbcb authored by iabdalkader's avatar iabdalkader Committed by Damien George

extmod/modopenamp_remoteproc: Fix entry point address int overflow.

Signed-off-by: default avatariabdalkader <i.abdalkader@gmail.com>
parent 1216f2c3
......@@ -137,7 +137,7 @@ mp_obj_t openamp_remoteproc_make_new(const mp_obj_type_t *type, size_t n_args, s
}
if (mp_obj_is_int(args[ARG_entry].u_obj)) {
self->rproc.bootaddr = mp_obj_get_int(args[ARG_entry].u_obj);
self->rproc.bootaddr = mp_obj_int_get_truncated(args[ARG_entry].u_obj);
} else {
#if MICROPY_PY_OPENAMP_REMOTEPROC_ELFLD_ENABLE
// Load firmware.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment