mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-16 02:57:49 -04:00
Change XCC to xClang for XCore ports (#332)
This commit is contained in:
parent
3231d08be4
commit
a9754a8fdd
10 changed files with 0 additions and 0 deletions
26
portable/ThirdParty/xClang/XCORE200/port.xc
vendored
Normal file
26
portable/ThirdParty/xClang/XCORE200/port.xc
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* port.xc
|
||||
*
|
||||
* Created on: Jul 31, 2019
|
||||
* Author: mbruno
|
||||
*/
|
||||
|
||||
//#include "rtos_support.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
#include "FreeRTOSConfig.h" /* to get configNUM_CORES */
|
||||
#ifndef configNUM_CORES
|
||||
#define configNUM_CORES 1
|
||||
#endif
|
||||
|
||||
void __xcore_interrupt_permitted_ugs_vPortStartSchedulerOnCore(void);
|
||||
|
||||
} /* extern "C" */
|
||||
|
||||
void vPortStartSMPScheduler( void )
|
||||
{
|
||||
par (int i = 0; i < configNUM_CORES; i++) {
|
||||
__xcore_interrupt_permitted_ugs_vPortStartSchedulerOnCore();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue