-
Notifications
You must be signed in to change notification settings - Fork 2
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
Nema: Use NemaGFX Renderer #1
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove the STM32CubeIDE/Middlewares/NemaGFX/ folder?
Co-authored-by: Gabor Kiss-Vamosi <[email protected]>
Nice! |
*/ | ||
GPIO_InitStruct.Pin = GPIO_PIN_6; | ||
GPIO_InitStruct.Pin = GPIO_PIN_7|GPIO_PIN_6; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file should be reverted.
@@ -49,8 +49,8 @@ void MX_RTC_Init(void) | |||
hrtc.Init.HourFormat = RTC_HOURFORMAT_24; | |||
hrtc.Init.AsynchPrediv = 127; | |||
hrtc.Init.SynchPrediv = 255; | |||
hrtc.Init.OutPut = RTC_OUTPUT_ALARMA; | |||
hrtc.Init.OutPutRemap = RTC_OUTPUT_REMAP_NONE; | |||
hrtc.Init.OutPut = RTC_OUTPUT_ALARMB; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file should be reverted.
/*Configure GPIO pin Output Level */ | ||
HAL_GPIO_WritePin(GPIOG, USB_PWR_EN_Pin|R_CS_Pin, GPIO_PIN_RESET); | ||
|
||
/*Configure GPIO pin Output Level */ | ||
HAL_GPIO_WritePin(R_RST_GPIO_Port, R_RST_Pin, GPIO_PIN_RESET); | ||
|
||
/*Configure GPIO pin : PA15 */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file should be reverted.
hdma2d.Init.OutputOffset = 0; | ||
hdma2d.Init.BytesSwap = DMA2D_BYTES_REGULAR; | ||
hdma2d.Init.LineOffsetMode = DMA2D_LOM_PIXELS; | ||
hdma2d.LayerCfg[1].InputOffset = 0; | ||
#if LV_COLOR_DEPTH == 32 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we editing a generated file? If so, can we change this setting in an LVGL file later?
@@ -204,6 +204,16 @@ void HAL_ADC_MspInit(ADC_HandleTypeDef* adcHandle) | |||
if(HAL_RCC_ADC12_CLK_ENABLED==1){ | |||
__HAL_RCC_ADC12_CLK_ENABLE(); | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file should be reverted.
Rework to use the new NemaGFX render. Update LVGL submodule to latest.
The LVGL submodule is currently tracking my fork's PR branch. See lvgl/lvgl#7002. It will be updated to track the real repo after it gets merged.