Add portMEMORY_BARRIER() to RX MCU ports (#864)

* Add portMEMORY_BARRIER() to RX MCU ports

* Remove the memory barrier from the SH2A_FPU portable directory

---------

Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
This commit is contained in:
Soren Ptak 2023-11-29 05:22:16 -05:00 committed by GitHub
parent 6a41432498
commit 6a9f5a244a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 44 additions and 0 deletions

View file

@ -183,6 +183,13 @@
/* Definition to allow compatibility with existing FreeRTOS Demo using flop.c. */
#define portTASK_USES_FLOATING_POINT() vPortTaskUsesDPFPU()
#pragma inline_asm vPortMemoryBarrier
static void vPortMemoryBarrier( void )
{
}
#define portMEMORY_BARRIER() vPortMemoryBarrier()
/* *INDENT-OFF* */
#ifdef __cplusplus
}