no-OS
Loading...
Searching...
No Matches
basic_example.h File Reference

Hello World example for no-OS. More...

Functions

int basic_example_main (void)
 basic example main execution.
 

Detailed Description

Hello World example for no-OS.

Author
Analog Devices, Inc.

Copyright 2026(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ basic_example_main()

int basic_example_main ( )

basic example main execution.

Returns
ret - Result of the example execution. If working correctly, will execute print the sample data.

basic example main execution.

Returns
ret - Result of the example execution. If working correctly, will execute continuously function basic_app_run and will not return.

basic example main execution.

Returns
ret - Result of the example execution.

basic example main execution.

Initialises the UART peripheral, prints a banner, then loops forever printing a counter message once per second.

Returns
0 on success, negative error code on failure.