Skip to content

A quick change in debugging documentation #392

@halazouna

Description

@halazouna

Box config called twice and we don't set up the heap_size :
debugging.md

/* Configure the debug box. */
UVISOR_BOX_NAMESPACE(NULL);
UVISOR_BOX_CONFIG(box_debug, UVISOR_BOX_STACK_SIZE); // box config called twice, and the heap size is not set up
UVISOR_BOX_MAIN(box_debug_main, osPriorityNormal, UVISOR_BOX_STACK_SIZE);
UVISOR_BOX_CONFIG(box_debug, acl, UVISOR_BOX_STACK_SIZE, box_context);

I have also some questions about the debug_box:
Does the system reboot only in release mode and not in the debug one? If so, can I reboot it after halting the system in debug mode?

Could we change the behavior of the system after catching an exception, like for example restarting just the box leading to the conflict?

Best regards,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions