Loading...
Searching...
No Matches
syscfg.h File Reference

mynewt-core system configurations More...

Detailed Description

mynewt-core system configurations

Definition in file syscfg.h.

#include "kernel_defines.h"
+ Include dependency graph for syscfg.h:

Go to the source code of this file.

Macros

#define MYNEWT_VAL_OS_CPUTIME_TIMER_NUM   (5)
 TIMER 3 or 5 (RTC_DEV0) will be mynewt-core OS_CPUTIME timer, depending on used CPU family.
 
#define MYNEWT_VAL_TIMER_5   (1)
 Enable TIMER 3 or TIMER 5 (RTC_DEV0) depending on used CPU family.
 

MyNewt header inclusion macro definitions

PLEASE NOTE: Following macro definitions where copied directly from apache/mynewt-core and are under the copyright specified in the header.

This macro exists to ensure code includes this header when needed. If code checks the existence of a setting directly via ifdef without including this header, the setting macro will silently evaluate to 0. In contrast, an attempt to use these macros without including this header will result in a compiler error.

#define MYNEWT_VAL(_name)
 
#define MYNEWT_VAL_CHOICE(_name, _val)
 

Macro Definition Documentation

◆ MYNEWT_VAL

#define MYNEWT_VAL ( _name)
Value:
MYNEWT_VAL_ ## _name

Definition at line 34 of file syscfg.h.

◆ MYNEWT_VAL_CHOICE

#define MYNEWT_VAL_CHOICE ( _name,
_val )
Value:
MYNEWT_VAL_ ## _name ## __ ## _val

Definition at line 35 of file syscfg.h.

◆ MYNEWT_VAL_OS_CPUTIME_TIMER_NUM

#define MYNEWT_VAL_OS_CPUTIME_TIMER_NUM   (5)

TIMER 3 or 5 (RTC_DEV0) will be mynewt-core OS_CPUTIME timer, depending on used CPU family.

Definition at line 46 of file syscfg.h.

◆ MYNEWT_VAL_TIMER_5

#define MYNEWT_VAL_TIMER_5   (1)

Enable TIMER 3 or TIMER 5 (RTC_DEV0) depending on used CPU family.

Definition at line 59 of file syscfg.h.