Skip to content

Commit

Permalink
Define portNOP in RP2040 port (#1003)
Browse files Browse the repository at this point in the history
  • Loading branch information
chinglee-iot authored Mar 6, 2024
1 parent 30f6061 commit d95451d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portable/ThirdParty/GCC/RP2040/include/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ static inline void vPortRecursiveLock( uint32_t ulLockNum,
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void * pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void * pvParameters )

#define portNOP()
#define portNOP() __asm volatile ( "nop" )

#define portMEMORY_BARRIER() __asm volatile ( "" ::: "memory" )

Expand Down

0 comments on commit d95451d

Please sign in to comment.