ESP32 添加模块错误


(zz814714910) #1

ESP32 添加了DHT11的模块和驱动后,反馈的日志一直在重复
Error: Cannot find module ‘fs’
Failed to load “ruff_modules/dht11/src/index.js”
Error: Cannot find module ‘fs’
ICE: Assertion ‘ECMA_STRING_IS_REF_EQUALS_TO_ONE (string_p)’ failed at /Users/rufftope/forJenkins/workspace/ruff-esp32-release/jerryscript/jerry-core/ecma/base/ecma-literal-storage.c(ecma_free_string_list):42.
Error: ERR_FAILED_INTERNAL_ASSERTION
abort() was called at PC 0x400ff446
Guru Meditation Error: Core 0 panic’ed (abort)

Backtrace: 0x40008155:0x3ffeb9b0 0x40007d16:0x3ffeb9d0 0x4015cd4a:0x3ffeb9f0 0x4010fb25:0x3ffeba10 0x4010fc7e:0x3ffeba30 0x4010fcd9:0x3ffeba50 0x40121551:0x3ffeba70 0x401215f4:0x3ffeba90 0x40123dcf:0x3ffebab0 0x40123dfd:0x3ffebad0 0x40105bdf:0x3ffebaf0 0x401050cd:0x3ffebb60 0x400d0ffd:0x3ffebb80

Rebooting…
ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0008,len:8
load:0x3fff0010,len:2388
load:0x40078000,len:6788
load:0x40080000,len:252
entry 0x40080034
e[0;32mI (1472) heap_alloc_caps: Initializing. RAM available for dynamic allocation:e[0m
e[0;32mI (1473) heap_alloc_caps: At 3FFDD010 len 00002FF0 (11 KiB): DRAMe[0m
e[0;32mI (1483) heap_alloc_caps: At 3FFE8000 len 00018000 (96 KiB): D/IRAMe[0m
e[0;32mI (1504) heap_alloc_caps: At 4009C384 len 00003C7C (15 KiB): IRAMe[0m
e[0;32mI (1525) cpu_start: Pro cpu up.e[0m
e[0;32mI (1537) cpu_start: Single core modee[0m
e[0;32mI (1550) cpu_start: Pro cpu start user codee[0m
e[0;32mI (1769) phy: phy_version: 258, Nov 29 2016, 15:51:07, 0, 0e[0m
e[0;32mI (2292) cpu_start: Starting scheduler on PRO CPU.e[0m
loading…
Error: Cannot find module ‘fs’
Failed to load “ruff_modules/dht11/src/index.js”
Error: Cannot find module ‘fs’
ICE: Assertion ‘ECMA_STRING_IS_REF_EQUALS_TO_ONE (string_p)’ failed at /Users/rufftope/forJenkins/workspace/ruff-esp32-release/jerryscript/jerry-core/ecma/base/ecma-literal-storage.c(ecma_free_string_list):42.
Error: ERR_FAILED_INTERNAL_ASSERTION
abort() was called at PC 0x400ff446
Guru Meditation Error: Core 0 panic’ed (abort)

Backtrace: 0x40008155:0x3ffeb9b0 0x40007d16:0x3ffeb9d0 0x4015cd4a:0x3ffeb9f0 0x4010fb25:0x3ffeba10 0x4010fc7e:0x3ffeba30 0x4010fcd9:0x3ffeba50 0x40121551:0x3ffeba70 0x401215f4:0x3ffeba90 0x40123dcf:0x3ffebab0 0x40123dfd:0x3ffebad0 0x40105bdf:0x3ffebaf0 0x401050cd:0x3ffebb60 0x400d0ffd:0x3ffebb80

Rebooting…
ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0008,len:8
load:0x3fff0010,len:2388
load:0x40078000,len:6788
load:0x40080000,len:252
entry 0x40080034
e[0;32mI (1472) heap_alloc_caps: Initializing. RAM available for dynamic allocation:e[0m
e[0;32mI (1473) heap_alloc_caps: At 3FFDD010 len 00002FF0 (11 KiB): DRAMe[0m
e[0;32mI (1483) heap_alloc_caps: At 3FFE8000 len 00018000 (96 KiB): D/IRAMe[0m
e[0;32mI (1504) heap_alloc_caps: At 4009C384 len 00003C7C (15 KiB): IRAMe[0m
e[0;32mI (1525) cpu_start: Pro cpu up.e[0m
e[0;32mI (1537) cpu_start: Single core modee[0m
e[0;32mI (1550) cpu_start: Pro cpu start user codee[0m
e[0;32mI (1772) phy: phy_version: 258, Nov 29 2016, 15:51:07, 0, 0e[0m
e[0;32mI (1815) cpu_start: Starting scheduler on PRO CPU.e[0m
loading…


(jerry) #2

ESP32 不支持这个驱动