From d47a627b1aaa19e08ab4968d42cf3936259e8677 Mon Sep 17 00:00:00 2001 From: "Ben V. Brown" Date: Mon, 25 Jul 2022 16:56:37 +1000 Subject: [PATCH] Update portmacro --- source/Core/BSP/MHP30/portmacro.h | 3 ++- source/Core/BSP/Miniware/FreeRTOSConfig.h | 2 +- source/Core/BSP/Miniware/portmacro.h | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/source/Core/BSP/MHP30/portmacro.h b/source/Core/BSP/MHP30/portmacro.h index 16d5242c..f6bf700c 100644 --- a/source/Core/BSP/MHP30/portmacro.h +++ b/source/Core/BSP/MHP30/portmacro.h @@ -27,7 +27,8 @@ #ifndef PORTMACRO_H #define PORTMACRO_H - +#include "FreeRTOSConfig.h" +#include "projdefs.h" #ifdef __cplusplus extern "C" { #endif diff --git a/source/Core/BSP/Miniware/FreeRTOSConfig.h b/source/Core/BSP/Miniware/FreeRTOSConfig.h index dd95674e..ed690c09 100644 --- a/source/Core/BSP/Miniware/FreeRTOSConfig.h +++ b/source/Core/BSP/Miniware/FreeRTOSConfig.h @@ -100,7 +100,7 @@ extern uint32_t SystemCoreClock; #define configUSE_IDLE_HOOK 1 #define configUSE_TICK_HOOK 0 #define configCPU_CLOCK_HZ (SystemCoreClock) -#define configTICK_RATE_HZ ((TickType_t)1000) +#define configTICK_RATE_HZ (1000) #define configMAX_PRIORITIES (6) #define configMINIMAL_STACK_SIZE ((uint16_t)256) #define configTOTAL_HEAP_SIZE ((size_t)1024 * 14) /*Currently use about 9000*/ diff --git a/source/Core/BSP/Miniware/portmacro.h b/source/Core/BSP/Miniware/portmacro.h index 16d5242c..85fe3b13 100644 --- a/source/Core/BSP/Miniware/portmacro.h +++ b/source/Core/BSP/Miniware/portmacro.h @@ -27,6 +27,8 @@ #ifndef PORTMACRO_H #define PORTMACRO_H +#include "FreeRTOSConfig.h" +#include "projdefs.h" #ifdef __cplusplus extern "C" {