no-OS
Loading...
Searching...
No Matches
maxim_init.c File Reference

MAX78000 RISC-V (CPU1) initialization. More...

#include "no_os_init.h"
#include "max78000.h"
#include "maxim_time.h"
Include dependency graph for maxim_init.c:

Functions

void SystemCoreClockUpdate (void)
 Update SystemCoreClock from the system clock configuration.
 
__weak int no_os_init (void)
 Initialize CPU1 services; system clocks are configured by CPU0.
 
int Board_Init (void)
 SDK board initialization hook, called by the CPU1 startup code.
 

Detailed Description

MAX78000 RISC-V (CPU1) initialization.

Author
Victor Pascu (victo.nosp@m.r.pa.nosp@m.scu@a.nosp@m.nalo.nosp@m.g.com)

Copyright 2026(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ Board_Init()

int Board_Init ( void )

SDK board initialization hook, called by the CPU1 startup code.

Returns
0 in case of success, negative error code otherwise.

◆ no_os_init()

__weak int no_os_init ( void )

Initialize CPU1 services; system clocks are configured by CPU0.

Initialize the risc-v rx and run in machine mode.

Returns
0 in case of success, negative error code otherwise.

◆ SystemCoreClockUpdate()

void SystemCoreClockUpdate ( void )

Update SystemCoreClock from the system clock configuration.

PeripheralClock is derived from the system clock, independently of CPU1's ISO clock. CPU0 may put its SDK clock variable in a different SRAM region.