File tree Expand file tree Collapse file tree 5 files changed +6
-13
lines changed
common_components/linux_compat/freertos/include/freertos
components/esp_websocket_client/examples/linux Expand file tree Collapse file tree 5 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 69
69
- modem
70
70
env :
71
71
TEST_DIR : components/esp_modem/${{ matrix.test.path }}
72
+ ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION : true
72
73
steps :
73
74
- name : Clear repository
74
- run : sudo rm -fr $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE
75
+ run : |
76
+ sudo rm -fr $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE
75
77
- uses : actions/checkout@v3
76
78
- uses : actions/download-artifact@v3
77
79
with :
Original file line number Diff line number Diff line change 5
5
*/
6
6
#pragma once
7
7
8
+ #include <stdio.h>
8
9
#include <stdint.h>
9
10
#include <stdbool.h>
10
11
#include <stddef.h>
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ set(common_component_dir ../../../../common_components)
6
6
set (EXTRA_COMPONENT_DIRS
7
7
../..
8
8
"${common_component_dir} /linux_compat/esp_timer"
9
- "${common_component_dir} /linux_compat"
10
9
"${common_component_dir} /linux_compat/freertos"
11
10
$ENV{IDF_PATH} /examples/protocols/linux_stubs/esp_stubs
12
11
$ENV{IDF_PATH} /examples/common_components/protocol_examples_common )
Original file line number Diff line number Diff line change 1
- idf_component_register (SRCS "main.c"
2
- INCLUDE_DIRS
3
- "."
1
+ idf_component_register (SRCS "websocket_linux.c"
4
2
REQUIRES esp_websocket_client protocol_examples_common )
5
3
6
4
if (CONFIG_GCOV_ENABLED )
Original file line number Diff line number Diff line change 3
3
*
4
4
* SPDX-License-Identifier: Apache-2.0
5
5
*/
6
- #include <stdio.h>
7
- #include "esp_log.h"
6
+ #include <esp_log.h>
8
7
#include "nvs_flash.h"
9
8
#include "protocol_examples_common.h"
10
9
11
- #include "freertos/FreeRTOS.h"
12
- #include "freertos/task.h"
13
- #include "freertos/semphr.h"
14
- #include "freertos/event_groups.h"
15
-
16
10
#include "esp_websocket_client.h"
17
11
#include "esp_system.h"
18
12
#include "esp_event.h"
19
- #include "esp_log.h"
20
13
#include "esp_netif.h"
21
14
22
15
static const char * TAG = "websocket" ;
You can’t perform that action at this time.
0 commit comments