Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No free memmory (BSP-595) #453

Open
1 task done
mike88macedon opened this issue Dec 8, 2024 · 0 comments
Open
1 task done

No free memmory (BSP-595) #453

mike88macedon opened this issue Dec 8, 2024 · 0 comments
Labels

Comments

@mike88macedon
Copy link

mike88macedon commented Dec 8, 2024

Board

Esp32P4EvBoard

Hardware Description

Mipi dsi espressif/esp_lcd_ek79007 display

IDE Name

VSCode

Operating System

Windows 10

Description

Problem with bsp_init() when initializing espressif/esp_lcd_ek79007 mipi display with exception no free memmory.

Sketch

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "nvs_flash.h"
#include "nvs.h"
#include "esp_log.h"
#include "esp_err.h"
#include "esp_check.h"
#include "esp_memory_utils.h"
#include "lvgl.h"
#include "bsp/esp-bsp.h"
#include "bsp/display.h"
#include "bsp_board_extra.h"
#include "lv_demos.h"

void app_main(void)
{
    bsp_display_cfg_t cfg = {
        .lvgl_port_cfg = ESP_LVGL_PORT_INIT_CONFIG(),
        .buffer_size = BSP_LCD_DRAW_BUFF_SIZE,
        .double_buffer = BSP_LCD_DRAW_BUFF_DOUBLE,
        .flags = {
            .buff_dma = true,
            .buff_spiram = false,
            .sw_rotate = false,
        }
    };
    bsp_display_start_with_config(&cfg);
    bsp_display_backlight_on();

    bsp_display_lock(0);

    lv_demo_music();
    // lv_demo_benchmark();
    // lv_demo_widgets();

    bsp_display_unlock();
}

Other Steps to Reproduce

No response

I have checked existing issues, README.md and ESP32 Forum

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@github-actions github-actions bot changed the title No free memmory No free memmory (BSP-595) Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant