mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-10 16:17:44 -04:00
Compare commits
6 commits
80bb83a28a
...
1fb72aa50d
Author | SHA1 | Date | |
---|---|---|---|
|
1fb72aa50d | ||
|
f5e6151b14 | ||
|
48a4939c9f | ||
|
b8d21ede7c | ||
|
b942fdaad0 | ||
|
1973533fd4 |
6 changed files with 15 additions and 13 deletions
2
.github/workflows/auto-release.yml
vendored
2
.github/workflows/auto-release.yml
vendored
|
@ -124,7 +124,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
# This is dependent on the release script putting this zip file
|
# This is dependent on the release script putting this zip file
|
||||||
# in this exact location.
|
# in this exact location.
|
||||||
artifact_path: ./tools/.github/scripts/FreeRTOS-KernelV${{ github.event.inputs.version_number }}.zip
|
artifact_path: ./FreeRTOS-KernelV${{ github.event.inputs.version_number }}.zip
|
||||||
release_tag: ${{ github.event.inputs.version_number }}
|
release_tag: ${{ github.event.inputs.version_number }}
|
||||||
|
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
|
|
|
@ -241,7 +241,7 @@ add_library(freertos_kernel STATIC)
|
||||||
add_subdirectory(include)
|
add_subdirectory(include)
|
||||||
add_subdirectory(portable)
|
add_subdirectory(portable)
|
||||||
|
|
||||||
target_sources(freertos_kernel PRIVATE
|
target_sources(freertos_kernel PUBLIC
|
||||||
croutine.c
|
croutine.c
|
||||||
event_groups.c
|
event_groups.c
|
||||||
list.c
|
list.c
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
*
|
*
|
||||||
* In addition to it's value, each list item contains a pointer to the next
|
* In addition to it's value, each list item contains a pointer to the next
|
||||||
* item in the list (pxNext), a pointer to the list it is in (pxContainer)
|
* item in the list (pxNext), a pointer to the list it is in (pxContainer)
|
||||||
* and a pointer to back to the object that contains it. These later two
|
* and a pointer back to the object that contains it. These later two
|
||||||
* pointers are included for efficiency of list manipulation. There is
|
* pointers are included for efficiency of list manipulation. There is
|
||||||
* effectively a two way link between the object containing the list item and
|
* effectively a two way link between the object containing the list item and
|
||||||
* the list item itself.
|
* the list item itself.
|
||||||
|
|
|
@ -33,6 +33,17 @@
|
||||||
#include "FreeRTOS.h"
|
#include "FreeRTOS.h"
|
||||||
#include "task.h"
|
#include "task.h"
|
||||||
|
|
||||||
|
#ifdef WIN32_LEAN_AND_MEAN
|
||||||
|
#include <winsock2.h>
|
||||||
|
#else
|
||||||
|
#include <winsock.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <windows.h>
|
||||||
|
#include <timeapi.h>
|
||||||
|
#include <mmsystem.h>
|
||||||
|
#include <winbase.h>
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#include "mmsystem.h"
|
#include "mmsystem.h"
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -29,16 +29,7 @@
|
||||||
#ifndef PORTMACRO_H
|
#ifndef PORTMACRO_H
|
||||||
#define PORTMACRO_H
|
#define PORTMACRO_H
|
||||||
|
|
||||||
#ifdef WIN32_LEAN_AND_MEAN
|
|
||||||
#include <winsock2.h>
|
|
||||||
#else
|
|
||||||
#include <winsock.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <windows.h>
|
|
||||||
#include <timeapi.h>
|
|
||||||
#include <mmsystem.h>
|
|
||||||
#include <winbase.h>
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
2
portable/ThirdParty/GCC/Posix/port.c
vendored
2
portable/ThirdParty/GCC/Posix/port.c
vendored
|
@ -193,7 +193,7 @@ void prvFatalError( const char * pcCall,
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
static void prvPortSetCurrentThreadName( char * pxThreadName )
|
static void prvPortSetCurrentThreadName( const char * pxThreadName )
|
||||||
{
|
{
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
pthread_setname_np( pxThreadName );
|
pthread_setname_np( pxThreadName );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue