|
SatCat5
|
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>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... | |
| 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.