Zane Shelley | 876bc2a | 2019-07-23 12:55:37 -0500 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Paul Greenwood | 701fcc1 | 2019-08-15 19:29:31 -0500 | [diff] [blame] | 3 | /** |
Zane Shelley | ca4b2f4 | 2019-08-30 15:48:40 -0500 | [diff] [blame] | 4 | * @file hei_includes.hpp |
| 5 | * @brief The purpose of this file is to include common headers that will be |
| 6 | * used throughout this library. |
| 7 | */ |
Zane Shelley | 876bc2a | 2019-07-23 12:55:37 -0500 | [diff] [blame] | 8 | |
Zane Shelley | a61f4c5 | 2019-08-01 13:58:49 -0500 | [diff] [blame] | 9 | // Standard library includes |
Zane Shelley | ca4b2f4 | 2019-08-30 15:48:40 -0500 | [diff] [blame] | 10 | #include <stdlib.h> |
Zane Shelley | 876bc2a | 2019-07-23 12:55:37 -0500 | [diff] [blame] | 11 | #include <stdint.h> |
Zane Shelley | d0af358 | 2019-09-19 10:48:59 -0500 | [diff] [blame] | 12 | #include <map> |
Zane Shelley | b406de4 | 2019-09-09 16:10:38 -0500 | [diff] [blame] | 13 | #include <vector> |
Zane Shelley | 876bc2a | 2019-07-23 12:55:37 -0500 | [diff] [blame] | 14 | |
Zane Shelley | ca4b2f4 | 2019-08-30 15:48:40 -0500 | [diff] [blame] | 15 | // The user application must define "hei_user_defines.hpp" with the following |
| 16 | // macros: |
| 17 | // |
| 18 | // Tracing (inputs same as printf() from <cstdio>): |
Zane Shelley | 83da245 | 2019-10-25 15:45:34 -0500 | [diff] [blame^] | 19 | // HEI_INF(...) // Generic informational trace |
| 20 | // HEI_ERR(...) // Error path trace |
Zane Shelley | ca4b2f4 | 2019-08-30 15:48:40 -0500 | [diff] [blame] | 21 | // |
| 22 | // Assertion (at a minimum should work like assert() from <cassert>): |
Zane Shelley | 83da245 | 2019-10-25 15:45:34 -0500 | [diff] [blame^] | 23 | // HEI_ASSERT(expression) |
Zane Shelley | ca4b2f4 | 2019-08-30 15:48:40 -0500 | [diff] [blame] | 24 | // |
| 25 | #include <hei_user_defines.hpp> |
Zane Shelley | 876bc2a | 2019-07-23 12:55:37 -0500 | [diff] [blame] | 26 | |
Zane Shelley | a61f4c5 | 2019-08-01 13:58:49 -0500 | [diff] [blame] | 27 | // Internal includes |
Zane Shelley | b406de4 | 2019-09-09 16:10:38 -0500 | [diff] [blame] | 28 | #include <hei_chip.hpp> |
Zane Shelley | 5a26661 | 2019-08-15 16:23:53 -0500 | [diff] [blame] | 29 | #include <hei_return_code.hpp> |
Zane Shelley | b406de4 | 2019-09-09 16:10:38 -0500 | [diff] [blame] | 30 | #include <hei_types.hpp> |