running GSM start task on core 1 to prevent uart irq allocate fail
This commit is contained in:
parent
d58ce6af9c
commit
0edc230a47
|
|
@ -280,8 +280,8 @@ modem_init_fail:
|
||||||
|
|
||||||
void PPPModemColdStart(void) {
|
void PPPModemColdStart(void) {
|
||||||
ResetType = 0;
|
ResetType = 0;
|
||||||
xTaskCreate(GSMInitTask, "GSMInitTask", 1024 * 6, &ResetType, 3,
|
xTaskCreatePinnedToCore(GSMInitTask, "GSMInitTask", 1024 * 6, &ResetType, 3,
|
||||||
&initTaskhandle);
|
&initTaskhandle, 1);
|
||||||
ESP_LOGI(TAG, "Start GSM cold initialization task");
|
ESP_LOGI(TAG, "Start GSM cold initialization task");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -303,7 +303,7 @@ static void GSMRunTask(void *pvParameter) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void PPPModemStart(void) {
|
void PPPModemStart(void) {
|
||||||
xTaskCreate(GSMRunTask, "GSMRunTask", 1024 * 4, &ResetType, 3, NULL);
|
xTaskCreatePinnedToCore(GSMRunTask, "GSMRunTask", 1024 * 4, &ResetType, 3, NULL, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
int PPPModemGetRSSI(void) {
|
int PPPModemGetRSSI(void) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user