SatCat5
build_date.h File Reference

Detailed Description

Build-date reporting.

Use preprocessor macros to obtain and manipulate the build timestamp.

To ensure fresh results, the associated .o file should always be deleted and rebuilt by the build script before compiling any other changes. Keeping these functions separate minimizes the resulting time overhead.

Definition in file build_date.h.

#include <satcat5/types.h>
Include dependency graph for build_date.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

u32 satcat5::get_sw_build_code ()
 Calculate software build date as a 32-bit integer, 0xYYMMDDHH.
 
const char * satcat5::get_sw_build_string ()
 Return a pointer to the ISO8601 date and time constructed at build time. More...
 

Function Documentation

◆ get_sw_build_string()

const char * satcat5::get_sw_build_string ( )

Return a pointer to the ISO8601 date and time constructed at build time.

Build date is local time, no time-zone identifier given.

Definition at line 79 of file build_date.cc.