在Arduino下载前,如何配置freertos,将双核配置改为单....-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1995|回复: 0

[求助] 在Arduino下载前,如何配置freertos,将双核配置改为单....

[复制链接]
发表于 2020-12-18 13:48 | 显示全部楼层 |阅读模式
基本信息
  • 这个问题满足提问指南
  • 我阅读了开发文档
  • 我使用了最新的库及APP进行测试,但是问题仍然存在
  • 我搜索过类似问题的解决方法但是仍然无法解决
  • 有设备端的LOG信息
  • [] 有编译报错信息
  • 我已填写基本信息
设备信息
  • 硬件: [ESP-32-solo-1模块]
  • 接入方式: [WIFI]
  • package版本: [ESP32_package_1.0.5_rc4]
  • blinker库版本: [arduino 0.3.3]
  • 开发环境: [Arduino]
  • 操作系统: [Windows]
IDE 中的设置
  • Module: [Nodemcu-32s]
  • Flash Mode: [未知]
  • Flash Size: [未知]
  • lwip Variant: [不懂]
  • Reset Method: [未知]
  • Flash Frequency: [80Mhz]
  • CPU Frequency: [未知]
  • Upload Using: [SERIAL]
  • Upload Speed: [921600手机信息及APP信息
  • 还没用到手机和APP
问题描述
烧录上传成功后反复重启,log中的更改CONFIG_FREERTOS_UNICORE,不知怎样解决?
代码
#define BLINKER_AT_MQTT

#include <Blinker.h>

void setup()
{
    Blinker.begin();
}

void loop()
{
    Blinker.run();
}
LOG信息
ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
modeIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:10920
ho 0 tail 12 room 4
load:0x40080400,len:6388
entry 0x400806b4
E (347) cpu_start: Running on single core chip, but application is built with dual core support.
E (347) cpu_start: Please enable CONFIG_FREERTOS_UNICORE option in menuconfig.
abort() was called at PC 0x40085611 on core 0

ELF file SHA256: 0000000000000000

Backtrace: 0x40088444:0x3ffe3be0 0x400886c1:0x3ffe3c00 0x40085611:0x3ffe3c20 0x4007925f:0x3ffe3c40 0x400792c5:0x3ffe3c70 0x400792d0:0x3ffe3ca0 0x4007947d:0x3ffe3cc0 0x400806e6:0x3ffe3df0 0x40007c31:0x3ffe3eb0 0x4000073d:0x3ffe3f20

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
modeIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:10920
ho 0 tail 12 room 4
load:0x40080400,len:6388
entry 0x400806b4
E (347) cpu_start: Running on single core chip, but application is built with dual core support.
E (347) cpu_start: Please enable CONFIG_FREERTOS_UNICORE option in menuconfig.
abort() was called at PC 0x40085611 on core 0

ELF file SHA256: 0000000000000000

Backtrace: 0x40088444:0x3ffe3be0 0x400886c1:0x3ffe3c00 0x40085611:0x3ffe3c20 0x4007925f:0x3ffe3c40 0x400792c5:0x3ffe3c70 0x400792d0:0x3ffe3ca0 0x4007947d:0x3ffe3cc0 0x400806e6:0x3ffe3df0 0x40007c31:0x3ffe3eb0 0x4000073d:0x3ffe3f20

编译信息   上传成功正常
esptool.py v3.0-dev
Serial port COM7
Connecting....
Chip is ESP32-S0WD (revision 1)
Features: WiFi, BT, Single Core, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 24:6f:28:70:6c:98
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 4096.0 kbit/s)...
Hash of data verified.
Compressed 17104 bytes to 11153...
Writing at 0x00001000... (100 %)
Wrote 17104 bytes (11153 compressed) at 0x00001000 in 0.1 seconds (effective 930.8 kbit/s)...
Hash of data verified.
Compressed 1131184 bytes to 645119...
Writing at 0x00010000... (2 %)
Writing at 0x00014000... (5 %)
Writing at 0x00018000... (7 %)
Writing at 0x0001c000... (10 %)
Writing at 0x00020000... (12 %)
Writing at 0x00024000... (15 %)
Writing at 0x00028000... (17 %)
Writing at 0x0002c000... (20 %)
Writing at 0x00030000... (22 %)
Writing at 0x00034000... (25 %)
Writing at 0x00038000... (27 %)
Writing at 0x0003c000... (30 %)
Writing at 0x00040000... (32 %)
Writing at 0x00044000... (35 %)
Writing at 0x00048000... (37 %)
Writing at 0x0004c000... (40 %)
Writing at 0x00050000... (42 %)
Writing at 0x00054000... (45 %)
Writing at 0x00058000... (47 %)
Writing at 0x0005c000... (50 %)
Writing at 0x00060000... (52 %)
Writing at 0x00064000... (55 %)
Writing at 0x00068000... (57 %)
Writing at 0x0006c000... (60 %)
Writing at 0x00070000... (62 %)
Writing at 0x00074000... (65 %)
Writing at 0x00078000... (67 %)
Writing at 0x0007c000... (70 %)
Writing at 0x00080000... (72 %)
Writing at 0x00084000... (75 %)
Writing at 0x00088000... (77 %)
Writing at 0x0008c000... (80 %)
Writing at 0x00090000... (82 %)
Writing at 0x00094000... (85 %)
Writing at 0x00098000... (87 %)
Writing at 0x0009c000... (90 %)
Writing at 0x000a0000... (92 %)
Writing at 0x000a4000... (95 %)
Writing at 0x000a8000... (97 %)
Writing at 0x000ac000... (100 %)
Wrote 1131184 bytes (645119 compressed) at 0x00010000 in 10.7 seconds (effective 844.5 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.0 seconds (effective 2730.6 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-28 13:32 , Processed in 0.073579 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表