Skip to content

Commit

Permalink
Fix multiple heap files issue and change in data type
Browse files Browse the repository at this point in the history
  • Loading branch information
nam-ng committed May 21, 2021
1 parent fa0d36d commit d3996d6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion configuration/freertos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<package>
<type>rtosmodule</type>
<name>FreeRTOSKernel</name>
<version>10.4.3-rx-1.0.0</version>
<version>10.4.3-rx-1.0.1</version>
<!-- include path setting -->
<incdir>
<path>src/FreeRTOS/Source/include</path>
Expand Down Expand Up @@ -250,6 +250,12 @@
<file>portable/readme.txt</file>
<path>src/FreeRTOS/Source/portable</path>
</impdir>
<excludebuild>
<path>src/FreeRTOS/Source/portable/MemMang/heap_1.c</path>
<path>src/FreeRTOS/Source/portable/MemMang/heap_2.c</path>
<path>src/FreeRTOS/Source/portable/MemMang/heap_3.c</path>
<path>src/FreeRTOS/Source/portable/MemMang/heap_5.c</path>
</excludebuild>
</package>
<!-- Heap Information. The purpose is to provide information to estimate Heap Size -->
<!-- The redundant zero number before a numerical data may cause it to be wrong, because some numerical data are input of an javascript engine -->
Expand Down
4 changes: 2 additions & 2 deletions configuration/startup/freertos_start.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void vAssertCalled(void);
void vApplicationIdleHook(void);
void vApplicationTickHook(void);
void vApplicationMallocFailedHook(void);
void vApplicationStackOverflowHook(TaskHandle_t xTask, signed char *pcTaskName);
void vApplicationStackOverflowHook(TaskHandle_t xTask, char *pcTaskName);

/* FreeRTOS's processing before start the kernel. */
void Processing_Before_Start_Kernel(void);
Expand Down Expand Up @@ -326,7 +326,7 @@ void vApplicationMallocFailedHook(void)
* Pointer of where to store the task's name
* Return Value : None.
******************************************************************************/
void vApplicationStackOverflowHook(TaskHandle_t pxTask, signed char *pcTaskName)
void vApplicationStackOverflowHook(TaskHandle_t pxTask, char *pcTaskName)
{
( void ) pcTaskName;
( void ) pxTask;
Expand Down

0 comments on commit d3996d6

Please sign in to comment.