Skip to content

Commit

Permalink
Merge branch 'main' into test_tcp_v410
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-josi-aws committed Feb 8, 2024
2 parents 5beb67b + 2f85ed9 commit 1600aef
Show file tree
Hide file tree
Showing 25 changed files with 1,267 additions and 446 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion FreeRTOS/Source
Submodule Source updated 54 files
+8 −1 .github/workflows/kernel-demos.yml
+8 −4 CMakeLists.txt
+32 −0 examples/template_configuration/FreeRTOSConfig.h
+7 −9 include/task.h
+1 −1 manifest.yml
+6 −0 portable/ARMv8M/non_secure/portable/GCC/ARM_CM23/portmacro.h
+6 −0 portable/ARMv8M/non_secure/portable/GCC/ARM_CM23_NTZ/portmacro.h
+7 −0 portable/ARMv8M/non_secure/portable/GCC/ARM_CM33/portmacro.h
+7 −0 portable/ARMv8M/non_secure/portable/GCC/ARM_CM33_NTZ/portmacro.h
+7 −0 portable/ARMv8M/non_secure/portable/GCC/ARM_CM35P/portmacro.h
+6 −0 portable/ARMv8M/non_secure/portable/IAR/ARM_CM23/portmacro.h
+6 −0 portable/ARMv8M/non_secure/portable/IAR/ARM_CM23_NTZ/portmacro.h
+7 −0 portable/ARMv8M/non_secure/portable/IAR/ARM_CM33/portmacro.h
+7 −0 portable/ARMv8M/non_secure/portable/IAR/ARM_CM33_NTZ/portmacro.h
+6 −0 portable/ARMv8M/non_secure/portable/IAR/ARM_CM35P/portmacro.h
+8 −6 portable/CMakeLists.txt
+42 −42 portable/Common/mpu_wrappers_v2.c
+2 −2 portable/GCC/ARM_AARCH64/README.md
+0 −0 portable/GCC/ARM_AARCH64/port.c
+0 −0 portable/GCC/ARM_AARCH64/portASM.S
+0 −0 portable/GCC/ARM_AARCH64/portmacro.h
+2 −2 portable/GCC/ARM_AARCH64_SRE/README.md
+0 −0 portable/GCC/ARM_AARCH64_SRE/port.c
+0 −0 portable/GCC/ARM_AARCH64_SRE/portASM.S
+0 −0 portable/GCC/ARM_AARCH64_SRE/portmacro.h
+2 −2 portable/GCC/ARM_CA53_64_BIT/README.md
+3 −3 portable/GCC/ARM_CA53_64_BIT_SRE/README.md
+6 −0 portable/GCC/ARM_CM23/non_secure/portmacro.h
+6 −0 portable/GCC/ARM_CM23_NTZ/non_secure/portmacro.h
+7 −0 portable/GCC/ARM_CM33/non_secure/portmacro.h
+7 −0 portable/GCC/ARM_CM33_NTZ/non_secure/portmacro.h
+7 −0 portable/GCC/ARM_CM35P/non_secure/portmacro.h
+7 −0 portable/GCC/ARM_CM35P_NTZ/non_secure/portmacro.h
+0 −9 portable/GCC/ARM_CM3_MPU/portmacro.h
+10 −3 portable/GCC/MSP430F449/port.c
+6 −0 portable/IAR/ARM_CM23/non_secure/portmacro.h
+6 −0 portable/IAR/ARM_CM23_NTZ/non_secure/portmacro.h
+7 −0 portable/IAR/ARM_CM33/non_secure/portmacro.h
+7 −0 portable/IAR/ARM_CM33_NTZ/non_secure/portmacro.h
+6 −0 portable/IAR/ARM_CM35P/non_secure/portmacro.h
+6 −0 portable/IAR/ARM_CM35P_NTZ/non_secure/portmacro.h
+33 −15 portable/MSVC-MingW/portmacro.h
+20 −20 portable/ThirdParty/GCC/ATmega/port.c
+11 −11 portable/ThirdParty/GCC/ATmega/portmacro.h
+16 −37 portable/ThirdParty/GCC/Posix/port.c
+1 −1 portable/ThirdParty/GCC/RP2040/include/freertos_sdk_config.h
+1 −1 portable/ThirdParty/GCC/RP2040/include/portmacro.h
+1 −1 portable/ThirdParty/GCC/RP2040/include/rp2040_config.h
+1 −1 portable/ThirdParty/GCC/RP2040/port.c
+1 −1 portable/ThirdParty/GCC/Xtensa_ESP32/include/FreeRTOSConfig_arch.h
+1 −1 portable/ThirdParty/GCC/Xtensa_ESP32/include/portmacro.h
+1 −1 portable/ThirdParty/GCC/Xtensa_ESP32/port.c
+4 −4 queue.c
+250 −240 tasks.c
13 changes: 1 addition & 12 deletions FreeRTOS/Test/CMock/smp/config_assert/config_assert_utest.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,10 +395,6 @@ void test_vTaskDelete_assert_scheduler_suspended_eq_1( void )
listLIST_ITEM_CONTAINER_ExpectAnyArgsAndReturn( NULL );
vListInsertEnd_ExpectAnyArgs();
vPortCurrentTaskDying_ExpectAnyArgs();
vFakePortExitCriticalSection_Expect();

/* Critical section for check task is running. */
vFakePortEnterCriticalSection_Expect();
vFakePortGetCoreID_ExpectAndReturn( 1 );

EXPECT_ASSERT_BREAK( vTaskDelete( xTaskToDelete ) );
Expand Down Expand Up @@ -446,15 +442,7 @@ void test_vTaskSuspend_assert_schedulersuspended_ne_zero( void )
uxListRemove_ExpectAnyArgsAndReturn( pdTRUE );
listLIST_ITEM_CONTAINER_ExpectAnyArgsAndReturn( NULL );
vListInsertEnd_ExpectAnyArgs();
vFakePortExitCriticalSection_Expect();

/* Reset the next expected unblock time if scheduler is running. */
vFakePortEnterCriticalSection_Expect();
listLIST_IS_EMPTY_ExpectAnyArgsAndReturn( pdTRUE );
vFakePortExitCriticalSection_Expect();

/* Check task run state in critical section. */
vFakePortEnterCriticalSection_Expect();
vFakePortGetCoreID_ExpectAndReturn( 1 );

EXPECT_ASSERT_BREAK( vTaskSuspend( xTaskToSuspend ) );
Expand Down Expand Up @@ -595,6 +583,7 @@ void test_prvGetExpectedIdleTime_assert_nextUnblock_lt_xTickCount( void )

/* vTaskSuspendAll */
vFakePortAssertIfISR_Expect();
vFakePortGetCoreID_ExpectAndReturn( 0 );
ulFakePortSetInterruptMask_ExpectAndReturn( 0 );
vFakePortGetTaskLock_Expect();
vFakePortGetISRLock_Expect();
Expand Down
Loading

0 comments on commit 1600aef

Please sign in to comment.