File tree Expand file tree Collapse file tree
Libraries/zephyr/MAX/Source Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 */
2525void max32xx_system_init (void )
2626{
27+ #ifndef CONFIG_SOC_MAX78000_RV32
28+
29+ // Enable then disable ICC to clear the cache
30+ MXC_ICC_Enable (MXC_ICC0 );
31+ MXC_ICC_Disable (MXC_ICC0 );
2732 MXC_ICC_Enable (MXC_ICC0 );
33+
34+ #else
35+
36+ // Enable then disable ICC to clear the cache
37+ MXC_ICC_Enable (MXC_ICC1 );
38+ MXC_ICC_Disable (MXC_ICC1 );
39+ MXC_ICC_Enable (MXC_ICC1 );
40+
41+ #endif
2842}
Original file line number Diff line number Diff line change 2424 */
2525void max32xx_system_init (void )
2626{
27+ #ifndef CONFIG_SOC_MAX78002_RV32
28+
29+ // Enable then disable ICC to clear the cache
30+ MXC_ICC_Enable (MXC_ICC0 );
31+ MXC_ICC_Disable (MXC_ICC0 );
2732 MXC_ICC_Enable (MXC_ICC0 );
33+
34+ #else
35+
36+ // Enable then disable ICC to clear the cache
37+ MXC_ICC_Enable (MXC_ICC1 );
38+ MXC_ICC_Disable (MXC_ICC1 );
39+ MXC_ICC_Enable (MXC_ICC1 );
40+
41+ #endif
2842}
You can’t perform that action at this time.
0 commit comments