Skip to content

File libretiny.h

FileList > base > libretiny.h

Go to the source code of this file.

  • #include <errno.h>
  • #include <inttypes.h>
  • #include <math.h>
  • #include <stdarg.h>
  • #include <stdbool.h>
  • #include <stddef.h>
  • #include <stdint.h>
  • #include <stdio.h>
  • #include <stdlib.h>
  • #include <string.h>
  • #include "lt_config.h"
  • #include "lt_types.h"
  • #include <lt_family.h>
  • #include "lt_api.h"
  • #include "lt_logger.h"
  • #include "lt_pins.h"
  • #include "lt_posix_api.h"
  • #include <printf_port.h>

Macros

Type Name
define GCC_VERSION_STR STRINGIFY_MACRO(__GNUC__) "." STRINGIFY_MACRO(__GNUC_MINOR__) "." STRINGIFY_MACRO(__GNUC_PATCHLEVEL__)
define LT_BANNER () LT_LOG(LT_LEVEL_INFO, __FUNCTION__, __LINE__, LT_BANNER_STR)
define LT_BANNER_STR
define LT_BOARD unknown
define LT_BOARD_STR STRINGIFY_MACRO(LT_BOARD)
define LT_VERSION 1.0.0
define LT_VERSION_STR STRINGIFY_MACRO(LT_VERSION)
define STRINGIFY (x) #x
define STRINGIFY_MACRO (x) STRINGIFY(x)

Macro Definition Documentation

define GCC_VERSION_STR

#define GCC_VERSION_STR STRINGIFY_MACRO(__GNUC__) "." STRINGIFY_MACRO(__GNUC_MINOR__) "." STRINGIFY_MACRO(__GNUC_PATCHLEVEL__)

define LT_BANNER

#define LT_BANNER (

) LT_LOG(LT_LEVEL_INFO, __FUNCTION__, __LINE__, LT_BANNER_STR)

define LT_BANNER_STR

#define LT_BANNER_STR "LibreTiny v" LT_VERSION_STR " on " LT_BOARD_STR ", compiled at " __DATE__ " " __TIME__ ", GCC " GCC_VERSION_STR   \
    " (-O" STRINGIFY_MACRO(__OPTIMIZE_LEVEL__) ")"

define LT_BOARD

#define LT_BOARD unknown

define LT_BOARD_STR

#define LT_BOARD_STR STRINGIFY_MACRO(LT_BOARD)

define LT_VERSION

#define LT_VERSION 1.0.0

define LT_VERSION_STR

#define LT_VERSION_STR STRINGIFY_MACRO(LT_VERSION)

define STRINGIFY

#define STRINGIFY (
    x
) #x

define STRINGIFY_MACRO

#define STRINGIFY_MACRO (
    x
) STRINGIFY(x)

The documentation for this class was generated from the following file cores/common/base/libretiny.h