Skip to content

Commit

Permalink
Update on target test for passive idle hook
Browse files Browse the repository at this point in the history
  • Loading branch information
chinglee-iot committed Dec 5, 2023
1 parent fd352fd commit 8fef3c0
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions FreeRTOS/Test/Target/boards/pico/FreeRTOSConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
/* Scheduler Related */
#define configUSE_TICKLESS_IDLE 0
#define configUSE_IDLE_HOOK 0
#define configUSE_PASSIVE_IDLE_HOOK 0
#define configUSE_TICK_HOOK 1
#define configTICK_RATE_HZ ( ( TickType_t ) 1000 )
#define configMAX_PRIORITIES 32
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@
#undef configUSE_CORE_AFFINITY
#endif /* ifdef configUSE_CORE_AFFINITY */

#ifdef configUSE_MINIMAL_IDLE_HOOK
#undef configUSE_MINIMAL_IDLE_HOOK
#endif /* ifdef configUSE_MINIMAL_IDLE_HOOK */

#ifdef configUSE_TASK_PREEMPTION_DISABLE
#undef configUSE_TASK_PREEMPTION_DISABLE
#endif /* ifdef configUSE_TASK_PREEMPTION_DISABLE */
Expand All @@ -56,7 +52,6 @@

#define configRUN_MULTIPLE_PRIORITIES 1
#define configUSE_CORE_AFFINITY 0
#define configUSE_MINIMAL_IDLE_HOOK 0
#define configUSE_TASK_PREEMPTION_DISABLE 0
#define configUSE_TIME_SLICING 0
#define configUSE_PREEMPTION 0
Expand Down
1 change: 0 additions & 1 deletion FreeRTOS/Test/Target/tests/smp/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
- Ensure that the following configurations are not defined in `FreeRTOSConfig.h` as those are defined in `test_config.h`:
- `configRUN_MULTIPLE_PRIORITIES`
- `configUSE_CORE_AFFINITY`
- `configUSE_MINIMAL_IDLE_HOOK`
- `configUSE_TASK_PREEMPTION_DISABLE`
- `configUSE_TIME_SLICING`
- `configUSE_PREEMPTION`
Expand Down
4 changes: 0 additions & 4 deletions FreeRTOS/Test/Target/tests/smp/template/test_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@
#undef configUSE_CORE_AFFINITY
#endif /* ifdef configUSE_CORE_AFFINITY */

#ifdef configUSE_MINIMAL_IDLE_HOOK
#undef configUSE_MINIMAL_IDLE_HOOK
#endif /* ifdef configUSE_MINIMAL_IDLE_HOOK */

#ifdef configUSE_TASK_PREEMPTION_DISABLE
#undef configUSE_TASK_PREEMPTION_DISABLE
#endif /* ifdef configUSE_TASK_PREEMPTION_DISABLE */
Expand Down

0 comments on commit 8fef3c0

Please sign in to comment.