-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '31-add-config-objects-manipulation-api' into 'develop'
Resolve "Add config objects manipulation API" Closes #31 See merge request internal/sw-design/libtropic!32
- Loading branch information
Showing
18 changed files
with
2,400 additions
and
1,081 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#ifndef HW_WALLET | ||
#define HW_WALLET | ||
|
||
#include <stdint.h> | ||
#include <stdio.h> | ||
|
||
|
||
#define LOG_OUT(f_, ...) printf(f_, ##__VA_ARGS__) | ||
#define LOG_OUT_INFO(f_, ...) printf("\t[INFO] "f_, ##__VA_ARGS__) | ||
#define LOG_OUT_VALUE(f_, ...) printf("\t\t\t\t\t"f_, ##__VA_ARGS__) | ||
#define LOG_OUT_LINE(f_, ...) printf("\t-------------------------------------------------------------------------------------------------------------\r\n"f_, ##__VA_ARGS__) | ||
|
||
#define LOG_OUT_SESSION(f_, ...) printf("\t\t- "f_, ##__VA_ARGS__) | ||
|
||
#define LT_ASSERT(func, expected) \ | ||
ret = (func); \ | ||
if(func!=expected) \ | ||
{ \ | ||
printf("\t\t\tERROR\r\n"); return -1; \ | ||
} else {printf(" %s\r\n", "(ok)");}; | ||
|
||
|
||
int tropic01_hw_wallet_example(void); | ||
|
||
#endif |
Oops, something went wrong.