Skip to content

8048S070C: kernel panic #164

Answered by xaljox
lunard asked this question in Q&A
May 1, 2024 · 5 comments · 2 replies
Discussion options

You must be logged in to vote

Ik think I found the issue in my case the code was:

#ifdef DISPLAY_SWAP_XY
ESP_ERROR_CHECK(esp_lcd_panel_swap_xy(panel_handle, DISPLAY_SWAP_XY));
#endif
#if defined(DISPLAY_MIRROR_X) || defined(DISPLAY_MIRROR_Y)
ESP_ERROR_CHECK(esp_lcd_panel_mirror(panel_handle, DISPLAY_MIRROR_X, DISPLAY_MIRROR_Y));
#endif
#if defined(DISPLAY_GAP_X) || defined(DISPLAY_GAP_Y)
ESP_ERROR_CHECK(esp_lcd_panel_set_gap(panel_handle, DISPLAY_GAP_X, DISPLAY_GAP_Y));
#endif

and DISPLAY_SWAP_XY is defined as build flag in the json file. It is set at false, but still it is a defined define. Thus either those defines must be deleted from the json file, or the code must be:
#if(DISPLAY_SWAP_XY)
ESP_ERROR_CHECK(esp_lcd_…

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@rzeldent
Comment options

@rzeldent
Comment options

Answer selected by rzeldent
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants