FreeRTOS/Demo/RISC-V_RV64_PolarFire_SoftConsole/polarfire_hal/platform/mpfs_hal/startup_gcc/system_startup.c
/**
 * init_mem_protection_unit(void)
 * add this function to you code and configure as required
 * @return
 */
init_mem_protection_unit(void)
add this function to you code and configure as required
@return
init_mem_protection_unit ( void ) add this function to you code and configure as required @return
__attribute__((weak)) uint8_t init_mem_protection_unit(void)
{
#ifndef SIFIVE_HIFIVE_UNLEASHED
    mpu_configure();
#endif
    return (0U);
}
__attribute__ ( ( weak ) ) uint8_t init_mem_protection_unit ( void ) { #ifndef SIFIVE_HIFIVE_UNLEASHED mpu_configure ( ) ; #endif return ( 0U ) ; }
init_mem_protection_unit(void)
 add this function to you code and configure as required
 @return
init_mem_protection_unit ( void ) add this function to you code and configure as required @return