Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libc: minimal: Add PRIx{FAST,LEAST}N macros
This commit adds the missing `PRIx{FAST,LEAST}N` C99 integer type format macros that correspond to the C99 integer types overridden in the `zephyr_stdint.h` header: PRIdFAST8, PRIdFAST16, PRIdFAST32, PRIdFAST64 PRIdLEAST8, PRIdLEAST16, PRIdLEAST32, PRIdLEAST64 PRIiFAST8, PRIiFAST16, PRIiFAST32, PRIiFAST64 PRIiLEAST8, PRIiLEAST16, PRIiLEAST32, PRIiLEAST64 PRIoFAST8, PRIoFAST16, PRIoFAST32, PRIoFAST64 PRIoLEAST8, PRIoLEAST16, PRIoLEAST32, PRIoLEAST64 PRIuFAST8, PRIuFAST16, PRIuFAST32, PRIuFAST64 PRIuLEAST8, PRIuLEAST16, PRIuLEAST32, PRIuLEAST64 PRIxFAST8, PRIxFAST16, PRIxFAST32, PRIxFAST64 PRIxLEAST8, PRIxLEAST16, PRIxLEAST32, PRIxLEAST64 PRIXFAST8, PRIXFAST16, PRIXFAST32, PRIXFAST64 PRIXLEAST8, PRIXLEAST16, PRIXLEAST32, PRIXLEAST64 Note that these macros will eventually need to be defined according to the toolchain-specified types when the `zephyr_stdint.h` hack is removed in the future; refer to the the GitHub issue zephyrproject-rtos#46032 for more details. Signed-off-by: Stephanos Ioannidis <[email protected]>
- Loading branch information