Fix compiler warnings in xcore ports

The port set and clear interrupt mask from ISR macros were removed from
the ports so that the default macros found in FreeRTOS.h are used
instead. The default macros do not result in warnings when they are
used.
This commit is contained in:
Michael Bruno 2021-01-20 09:59:10 -05:00
parent bec63029ef
commit a7e29d3b98
3 changed files with 0 additions and 5 deletions

View file

@ -110,8 +110,6 @@ do \
#define portGET_INTERRUPT_STATE() rtos_interrupt_mask_get() #define portGET_INTERRUPT_STATE() rtos_interrupt_mask_get()
#define portDISABLE_INTERRUPTS() rtos_interrupt_mask_all() #define portDISABLE_INTERRUPTS() rtos_interrupt_mask_all()
#define portENABLE_INTERRUPTS() rtos_interrupt_unmask_all() #define portENABLE_INTERRUPTS() rtos_interrupt_unmask_all()
#define portSET_INTERRUPT_MASK_FROM_ISR() 0
#define portCLEAR_INTERRUPT_MASK_FROM_ISR(x)
/* /*
* Will enable interrupts if ulState is non-zero. * Will enable interrupts if ulState is non-zero.
*/ */

View file

@ -110,8 +110,6 @@ do \
#define portGET_INTERRUPT_STATE() rtos_interrupt_mask_get() #define portGET_INTERRUPT_STATE() rtos_interrupt_mask_get()
#define portDISABLE_INTERRUPTS() rtos_interrupt_mask_all() #define portDISABLE_INTERRUPTS() rtos_interrupt_mask_all()
#define portENABLE_INTERRUPTS() rtos_interrupt_unmask_all() #define portENABLE_INTERRUPTS() rtos_interrupt_unmask_all()
#define portSET_INTERRUPT_MASK_FROM_ISR() 0
#define portCLEAR_INTERRUPT_MASK_FROM_ISR(x)
/* /*
* Will enable interrupts if ulState is non-zero. * Will enable interrupts if ulState is non-zero.
*/ */

View file

@ -1,7 +1,6 @@
/* /*
* FreeRTOS Kernel V10.4.3 * FreeRTOS Kernel V10.4.3
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy of * Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in * this software and associated documentation files (the "Software"), to deal in