GithubHelp home page GithubHelp logo

Comments (7)

timredfern avatar timredfern commented on June 16, 2024

I tried the other lvgl examples.

I see the NVS read assert fail and halt with lvgl_example also.

lvgl_coffee doesn't build:

esp-iot-solution/examples/hmi/lvgl_coffee/main/app_main.cpp:362:64: error: invalid conversion from 'void ()(lv_obj_t, uint16_t) {aka void ()(_lv_obj_t, short unsigned int)}' to 'lv_tabview_action_t {aka unsigned char ()(_lv_obj_t, short unsigned int)}' [-fpermissive]

the Makefile in lvgl_thermostat is broken but it builds with the Makefile from lvgl_example.

When it runs it also halts with the assert failure.

from esp-iot-solution.

InfiniteYuan avatar InfiniteYuan commented on June 16, 2024

Thanks,I‘ll fix it as soon as possible.

from esp-iot-solution.

InfiniteYuan avatar InfiniteYuan commented on June 16, 2024

E (841) param: /Users/tim/embedded/esp/esp-iot-solution/components/general/param/param.c:61 (iot_param_load)

This error indicates that there is no calibration data in the flash. Please recalibrate on the screen.

esp-iot-solution/examples/hmi/lvgl_coffee/main/app_main.cpp:362:64: error: invalid conversion from 'void ()(lv_obj_t, uint16_t) {aka void ()(_lv_obj_t, short unsigned int)}' to 'lv_tabview_action_t {aka unsigned char ()(_lv_obj_t, short unsigned int)}' [-fpermissive]

Please modify the following::

static lv_res_t tabview_load_action(lv_obj_t *tabview, uint16_t tab_action_id)
{
    tab_id = tab_action_id;
    return LV_RES_OK;
}

from esp-iot-solution.

Aiouan avatar Aiouan commented on June 16, 2024

Thanks Yuan, I was having the same issue, the above edit fixed it.

from esp-iot-solution.

Xiehanxin avatar Xiehanxin commented on June 16, 2024

@timredfern hello, If your issue is now resolved, can you please close the issue. Thank you.

from esp-iot-solution.

ajsb85 avatar ajsb85 commented on June 16, 2024
--- WARNING: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM16 instead...
--- idf_monitor on \\.\COM16 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x17 (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
mode:DIO, clock div:2
load:0x3fff0030,len:6992
load:0x40078000,len:14308
ho 0 tail 12 room 4
load:0x40080400,len:3716
0x40080400: _init at ??:?

entry 0x40080680
I (29) boot: ESP-IDF v4.3.1 2nd stage bootloader
I (29) boot: compile time 05:54:31
I (29) boot: chip revision: 3
I (32) boot_comm: chip revision: 3, min. bootloader chip revision: 0
I (39) boot.esp32: SPI Speed      : 40MHz
I (44) boot.esp32: SPI Mode       : DIO
I (48) boot.esp32: SPI Flash Size : 4MB
I (53) boot: Enabling RNG early entropy source...
I (58) boot: Partition Table:
I (62) boot: ## Label            Usage          Type ST Offset   Length
I (69) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (76) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (84) boot:  2 factory          factory app      00 00 00010000 00200000
I (91) boot: End of partition table
I (96) boot_comm: chip revision: 3, min. application chip revision: 0
I (103) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=137e0h ( 79840) map
I (140) esp_image: segment 1: paddr=00023808 vaddr=3ffb0000 size=02ea8h ( 11944) load
I (145) esp_image: segment 2: paddr=000266b8 vaddr=40080000 size=09960h ( 39264) load
I (162) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=573b4h (357300) map
I (292) esp_image: segment 4: paddr=000873dc vaddr=40089960 size=04fach ( 20396) load
I (300) esp_image: segment 5: paddr=0008c390 vaddr=50000000 size=00010h (    16) load
I (308) boot: Loaded app from partition at offset 0x10000
I (308) boot: Disabling RNG early entropy source...
I (322) cpu_start: Pro cpu up.
I (322) cpu_start: Starting app cpu, entry point is 0x40081344
0x40081344: call_start_cpu1 at C:/Users/ajsb85/.esp-idf/components/esp_system/port/cpu_start.c:141

I (0) cpu_start: App cpu up.
I (337) cpu_start: Pro cpu start user code
I (337) cpu_start: cpu freq: 160000000
I (337) cpu_start: Application information:
I (341) cpu_start: Project name:     lvgl_example
I (347) cpu_start: App version:      87e76fd-dirty
I (352) cpu_start: Compile time:     Oct  2 2021 05:54:16
I (358) cpu_start: ELF file SHA256:  6e562ba2938e45b2...
I (364) cpu_start: ESP-IDF:          v4.3.1
I (369) heap_init: Initializing. RAM available for dynamic allocation:
I (376) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (382) heap_init: At 3FFB3F50 len 0002C0B0 (176 KiB): DRAM
I (389) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (395) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (401) heap_init: At 4008E90C len 000116F4 (69 KiB): IRAM
I (409) spi_flash: detected chip: generic
I (412) spi_flash: flash io: dio
I (417) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (434) spi_bus: SPI2 bus created
I (437) Board: Board Info: ESP32-LCDKit
I (441) Board: Board Init Done ...
I (446) spi_bus: SPI2 bus device added, CS=5 Mode=0 Speed=20000000
I (873) lcd ili9341: MADCTL=28
I (873) spi_bus: SPI2 bus device added, CS=32 Mode=0 Speed=10000000
I (873) XPT2046: Touch panel size width: 240, height: 320
I (878) XPT2046: Initial successful | GPIO INT:-1 | GPIO CS:32 | dir:4
E (989) param save: param_load(58): nvs get blob failed
I (1132) lcd ili9341: MADCTL=28
I (1149) lcd ili9341: MADCTL=8

from esp-iot-solution.

ajsb85 avatar ajsb85 commented on June 16, 2024

Dearest.
I got the same issue even with the changes of the branch 1.1

I (607) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (1026) gpio: GPIO[5]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
E (1351) param: /home/user/esp/esp-iot-solution/components/general/param/param.c:61 (iot_param_load)

from esp-iot-solution.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.