File tree 4 files changed +17
-29
lines changed 4 files changed +17
-29
lines changed Original file line number Diff line number Diff line change 1
- // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
-
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
1
+ /*
2
+ * SPDX-FileCopyrightText: 2019-2022 Espressif Systems (Shanghai) CO LTD
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
14
6
15
7
/* Notes:
16
8
* 1. Put all task priority and stack size definition in this file
47
39
#define BT_TASK_EXTRA_STACK_SIZE TASK_EXTRA_STACK_SIZE
48
40
#define ESP_TASK_BT_CONTROLLER_STACK (3584 + TASK_EXTRA_STACK_SIZE)
49
41
42
+ /* Ping Task */
43
+ #define ESP_TASK_PING_STACK (2048 + TASK_EXTRA_STACK_SIZE)
44
+
50
45
51
46
/* idf task */
52
47
#define ESP_TASK_TIMER_PRIO (ESP_TASK_PRIO_MAX - 3)
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ typedef struct {
80
80
.tos = 0, \
81
81
.ttl = IP_DEFAULT_TTL, \
82
82
.target_addr = *(IP_ANY_TYPE), \
83
- .task_stack_size = 2048 , \
83
+ .task_stack_size = ESP_TASK_PING_STACK , \
84
84
.task_prio = 2, \
85
85
.interface = 0,\
86
86
}
Original file line number Diff line number Diff line change @@ -611,7 +611,6 @@ components/esp_system/include/esp_freertos_hooks.h
611
611
components/esp_system/include/esp_int_wdt.h
612
612
components/esp_system/include/esp_private/dbg_stubs.h
613
613
components/esp_system/include/esp_private/panic_internal.h
614
- components/esp_system/include/esp_task.h
615
614
components/esp_system/port/arch/riscv/expression_with_stack.c
616
615
components/esp_system/port/arch/xtensa/expression_with_stack.c
617
616
components/esp_system/port/public_compat/brownout.h
@@ -1905,7 +1904,6 @@ tools/ldgen/output_commands.py
1905
1904
tools/ldgen/samples/template.ld
1906
1905
tools/ldgen/sdkconfig.py
1907
1906
tools/ldgen/test/data/linker_script.ld
1908
- tools/mocks/esp_system/include/esp_task.h
1909
1907
tools/templates/sample_component/include/main.h
1910
1908
tools/templates/sample_component/main.c
1911
1909
tools/test_apps/build_system/embed_test/main/test_main.c
Original file line number Diff line number Diff line change 1
- // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
-
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
1
+ /*
2
+ * SPDX-FileCopyrightText: 2019-2022 Espressif Systems (Shanghai) CO LTD
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
14
6
15
7
/* Notes:
16
8
* 1. Put all task priority and stack size definition in this file
48
40
#define BT_TASK_EXTRA_STACK_SIZE TASK_EXTRA_STACK_SIZE
49
41
#define ESP_TASK_BT_CONTROLLER_STACK (3584 + TASK_EXTRA_STACK_SIZE)
50
42
43
+ /* Ping Task */
44
+ #define ESP_TASK_PING_STACK (2048 + TASK_EXTRA_STACK_SIZE)
45
+
51
46
52
47
/* idf task */
53
48
#define ESP_TASKD_EVENT_PRIO (ESP_TASK_PRIO_MAX - 5)
You can’t perform that action at this time.
0 commit comments