Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open access to the UART and timer from non-privileged mode #196

Open
tdrozdovsky opened this issue Nov 26, 2024 · 0 comments
Open

Open access to the UART and timer from non-privileged mode #196

tdrozdovsky opened this issue Nov 26, 2024 · 0 comments

Comments

@tdrozdovsky
Copy link
Contributor

Describe the bug
It is necessary to open access to the UART and timer memory from non-privileged mode. (see setting PMP)

Remove

ifdef BL808
void MPU_bflb_uart_putchar(struct bflb_device_s *uart0, int character)
{
        BaseType_t xRunningPrivileged;

        xPortRaisePrivilege( xRunningPrivileged );
        bflb_uart_putchar(uart0, character);
        vPortResetPrivilege( xRunningPrivileged );
}
#endif

from mpu_wrappers.c

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant