tests: include: Add implementation of timestamp_serialize()
Add implementation of timestamp_serialize() for xtensa, nios2 and riscv. The implementation for the above architectures is an empty function. Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
This commit is contained in:
parent
022588e88d
commit
43af891a37
|
@ -34,6 +34,12 @@ static inline void timestamp_serialize(void)
|
|||
#define timestamp_serialize()
|
||||
#elif defined(CONFIG_ARCH_POSIX)
|
||||
#define timestamp_serialize()
|
||||
#elif defined(CONFIG_XTENSA)
|
||||
#define timestamp_serialize()
|
||||
#elif defined(CONFIG_NIOS2)
|
||||
#define timestamp_serialize()
|
||||
#elif defined(CONFIG_RISCV32)
|
||||
#define timestamp_serialize()
|
||||
#else
|
||||
#error implementation of timestamp_serialize() not provided for your CPU target
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue