mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-07 06:34:34 +02:00
Merge branch 'feature/freertos_linux_target_add_features' into 'master'
freertos/linux: added event group and stream buffer Closes IDF-6007 See merge request espressif/esp-idf!20878
This commit is contained in:
@@ -49,12 +49,6 @@ if(${target} STREQUAL "linux")
|
|||||||
list(APPEND srcs
|
list(APPEND srcs
|
||||||
"${kernel_dir}/portable/${arch}/port_idf.c"
|
"${kernel_dir}/portable/${arch}/port_idf.c"
|
||||||
"${kernel_dir}/portable/${arch}/utils/wait_for_event.c")
|
"${kernel_dir}/portable/${arch}/utils/wait_for_event.c")
|
||||||
|
|
||||||
# TODO: This is temporary until the following files can safely be added to the Linux target:
|
|
||||||
list(REMOVE_ITEM srcs
|
|
||||||
"${kernel_dir}/croutine.c"
|
|
||||||
"${kernel_dir}/event_groups.c"
|
|
||||||
"${kernel_dir}/stream_buffer.c")
|
|
||||||
else()
|
else()
|
||||||
list(APPEND srcs
|
list(APPEND srcs
|
||||||
"FreeRTOS-openocd.c"
|
"FreeRTOS-openocd.c"
|
||||||
|
@@ -13,6 +13,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <stdlib.h> // This is for malloc(), used by portmacro.h
|
||||||
#include "sdkconfig.h"
|
#include "sdkconfig.h"
|
||||||
#include "esp_attr.h"
|
#include "esp_attr.h"
|
||||||
#include "spinlock.h"
|
#include "spinlock.h"
|
||||||
|
@@ -191,7 +191,7 @@ This file get's pulled into assembly sources. Therefore, some includes need to b
|
|||||||
|
|
||||||
// -------------------- Co-routines -----------------------
|
// -------------------- Co-routines -----------------------
|
||||||
|
|
||||||
#define configUSE_CO_ROUTINES 0
|
#define configUSE_CO_ROUTINES 0 // CO_ROUTINES are not supported in ESP-IDF
|
||||||
#define configMAX_CO_ROUTINE_PRIORITIES 2
|
#define configMAX_CO_ROUTINE_PRIORITIES 2
|
||||||
|
|
||||||
// ------------------- Software Timer ----------------------
|
// ------------------- Software Timer ----------------------
|
||||||
|
Reference in New Issue
Block a user