|
2 | 2 | * @file defines.h
|
3 | 3 | * @author Manny Peterson (mannymsp@gmail.com)
|
4 | 4 | * @brief Kernel header for macros and definitions
|
5 |
| - * @version 0.3.1 |
| 5 | + * @version 0.3.2 |
6 | 6 | * @date 2022-01-31
|
7 | 7 | *
|
8 | 8 | * @copyright
|
@@ -138,13 +138,12 @@ to default to the Arduino platform and/or tool-chain. */
|
138 | 138 | #define TIME_T_TYPE uint64_t
|
139 | 139 |
|
140 | 140 | #if !defined(CONFIG_HEAP_SIZE_IN_BLOCKS)
|
141 |
| -#define CONFIG_HEAP_SIZE_IN_BLOCKS 0x200u /* 512u */ |
| 141 | +#define CONFIG_HEAP_SIZE_IN_BLOCKS 0x20u /* 32u */ |
142 | 142 | #endif
|
143 | 143 |
|
144 | 144 | /* Enable memdump_() on Linux for debugging. */
|
145 |
| -#if !defined(MEMDUMP_) |
146 | 145 | #define MEMDUMP_
|
147 |
| -#endif |
| 146 | +#define MEMDUMP_ROW_WIDTH CONFIG_HEAP_BLOCK_SIZE |
148 | 147 |
|
149 | 148 | #elif defined(ARDUINO_TEENSY_MICROMOD) || defined(ARDUINO_TEENSY40) || defined(ARDUINO_TEENSY41) || defined(ARDUINO_TEENSY36) || defined(ARDUINO_TEENSY35) || defined(ARDUINO_TEENSY31) || defined(ARDUINO_TEENSY32) || defined(ARDUINO_TEENSY30) || defined(ARDUINO_TEENSYLC)
|
150 | 149 |
|
@@ -257,7 +256,7 @@ for return values. */
|
257 | 256 | /* Define the raw size of the heap in bytes based on the number of blocks
|
258 | 257 | the heap contains and the size of each block in bytes. */
|
259 | 258 | #if !defined(HEAP_RAW_SIZE)
|
260 |
| -#define HEAP_RAW_SIZE CONFIG_HEAP_SIZE_IN_BLOCKS *CONFIG_HEAP_BLOCK_SIZE |
| 259 | +#define HEAP_RAW_SIZE CONFIG_HEAP_SIZE_IN_BLOCKS * CONFIG_HEAP_BLOCK_SIZE |
261 | 260 | #endif
|
262 | 261 |
|
263 | 262 |
|
@@ -301,7 +300,7 @@ xSystemGetSystemInfo(). */
|
301 | 300 | /* Define the OS product patch version number which is accessible through
|
302 | 301 | xSystemGetSystemInfo(). */
|
303 | 302 | #if !defined(OS_PATCH_VERSION_NO)
|
304 |
| -#define OS_PATCH_VERSION_NO 0x1u |
| 303 | +#define OS_PATCH_VERSION_NO 0x2u |
305 | 304 | #endif
|
306 | 305 |
|
307 | 306 |
|
|
0 commit comments