Skip to content

Commit 17a46c2

Browse files
authored
Use portTASK_FUNCTION_PROTO to replace portNORETURN (#688)
* Use portTASK_FUNCTION_PROTO to replace portNORETURN
1 parent 77d8086 commit 17a46c2

File tree

29 files changed

+4
-36
lines changed

29 files changed

+4
-36
lines changed

include/FreeRTOS.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -895,10 +895,6 @@
895895
#define portDONT_DISCARD
896896
#endif
897897

898-
#ifndef portNORETURN
899-
#define portNORETURN
900-
#endif
901-
902898
#ifndef configUSE_TIME_SLICING
903899
#define configUSE_TIME_SLICING 1
904900
#endif

portable/ARMv8M/non_secure/portable/GCC/ARM_CM23/portmacro.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
#define portARCH_NAME "Cortex-M23"
5252
#define portHAS_BASEPRI 0
5353
#define portDONT_DISCARD __attribute__( ( used ) )
54-
#define portNORETURN __attribute__( ( noreturn ) )
5554
/*-----------------------------------------------------------*/
5655

5756
/* ARMv8-M common port configurations. */

portable/ARMv8M/non_secure/portable/GCC/ARM_CM23_NTZ/portmacro.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
#define portARCH_NAME "Cortex-M23"
5252
#define portHAS_BASEPRI 0
5353
#define portDONT_DISCARD __attribute__( ( used ) )
54-
#define portNORETURN __attribute__( ( noreturn ) )
5554
/*-----------------------------------------------------------*/
5655

5756
/* ARMv8-M common port configurations. */

portable/ARMv8M/non_secure/portable/GCC/ARM_CM33/portmacro.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
#define portARCH_NAME "Cortex-M33"
5252
#define portHAS_BASEPRI 1
5353
#define portDONT_DISCARD __attribute__( ( used ) )
54-
#define portNORETURN __attribute__( ( noreturn ) )
5554
/*-----------------------------------------------------------*/
5655

5756
/* ARMv8-M common port configurations. */

portable/ARMv8M/non_secure/portable/GCC/ARM_CM33_NTZ/portmacro.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
#define portARCH_NAME "Cortex-M33"
5252
#define portHAS_BASEPRI 1
5353
#define portDONT_DISCARD __attribute__( ( used ) )
54-
#define portNORETURN __attribute__( ( noreturn ) )
5554
/*-----------------------------------------------------------*/
5655

5756
/* ARMv8-M common port configurations. */

portable/ARMv8M/non_secure/portable/GCC/ARM_CM35P/portmacro.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
#define portARCH_NAME "Cortex-M35P"
5252
#define portHAS_BASEPRI 1
5353
#define portDONT_DISCARD __attribute__( ( used ) )
54-
#define portNORETURN __attribute__( ( noreturn ) )
5554
/*-----------------------------------------------------------*/
5655

5756
/* ARMv8-M common port configurations. */

portable/ARMv8M/non_secure/portable/GCC/ARM_CM55/portmacro.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
#define portARCH_NAME "Cortex-M55"
5757
#define portHAS_BASEPRI 1
5858
#define portDONT_DISCARD __attribute__( ( used ) )
59-
#define portNORETURN __attribute__( ( noreturn ) )
6059
/*-----------------------------------------------------------*/
6160

6261
/* ARMv8-M common port configurations. */

portable/ARMv8M/non_secure/portable/GCC/ARM_CM85/portmacro.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
#define portARCH_NAME "Cortex-M85"
5757
#define portHAS_BASEPRI 1
5858
#define portDONT_DISCARD __attribute__( ( used ) )
59-
#define portNORETURN __attribute__( ( noreturn ) )
6059
/*-----------------------------------------------------------*/
6160

6261
/* ARMv8-M common port configurations. */

portable/GCC/ARM_CM0/portmacro.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ typedef unsigned long UBaseType_t;
7979
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
8080
#define portBYTE_ALIGNMENT 8
8181
#define portDONT_DISCARD __attribute__( ( used ) )
82-
#define portNORETURN __attribute__( ( noreturn ) )
8382
/*-----------------------------------------------------------*/
8483

8584

portable/GCC/ARM_CM23/non_secure/portmacro.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
#define portARCH_NAME "Cortex-M23"
5252
#define portHAS_BASEPRI 0
5353
#define portDONT_DISCARD __attribute__( ( used ) )
54-
#define portNORETURN __attribute__( ( noreturn ) )
5554
/*-----------------------------------------------------------*/
5655

5756
/* ARMv8-M common port configurations. */

0 commit comments

Comments
 (0)