Jump to content

manoj

Members
  • Posts

    45
  • Joined

  • Last visited

Everything posted by manoj

  1. Hi@Joel Bodenmann, I didn't knot the focus thingy.. Thanks I will look into it. Thanks
  2. Hi, I had implemented a top corner button one of my page to navigate across page... But I don't know why return key on the virtual_keyboard also does the same thing(which I never set).. This is the portion of code doing the button event response. Thank you, trying my best to get used to uGFX . VID_20170729_042327.3gp
  3. I am still not clear how to load the string from the display to dump it in arrays
  4. Alright, will try to get my sd card or internal flash working to load images. Thanks
  5. Hi All I have able to load the pages after #define GFX_OS_HEAP_SIZE 2000 but still my next page is a keyboard where it hangs..
  6. Even if I put TIME_INFINITE i HAVE THE ISSUE... i suspect I am out of stack memory because the function is called from an function
  7. Hi everyone, looking at uGFX wiki I have able to do some gui works already !.. I am little stuck now in the gListener part, I created a push button and do a action when it's triggered, where Change the page.. When I trigger the button the page changes but the screen is just pure white(blank)... To make sure it's correct on my page I tried calling out of the trigger action (Switch Statement for GEventGWinButton) it worked well.. I am not sure is it smtg related to stack memory limit or what, if yes how to go about it ? Pls give me some helping hand.. here I quote the portion of the code below. Cheers! Looking forward some response
  8. Hi guys was able to compile and ugfx library and started to play with some of it's API I randomly tried the gwinImageCreate and yes it works very well but I am little curious my Image "<my_image>.h" file is around 3MB but my stm32 flash is only 1MB but how could it fit into my board and flashed successfully.. There might only 2 possibilities occurred either you have done some compression (which likely no !) or your uGFX very well implemented already using my external memory on my STM32f7 board.. Can anyone clarify this part !
  9. https://github.com/manoj153/uGFXKEIL_TEMPLATE/tree/master Here Is my repo, I have fixed all the errors and able to compile the demo. Note I am using the latest uGFX repo. Thanks everyone
  10. You can also consider making uGFX entirely compatible with Cube MX generated code.. Let me know you guys need help on testing anything on my platform.. I can help whenever I am able. Best Regards !
  11. This would be great and giving me a confidence to use uGFX. Just knew uGFX 2 days ago.. Keep coming, we will support !
  12. Hi there, thanks for the reply, yes #undef should work, thanks for pointing it out. About the debugging I'll try to do and post the result here.
  13. Hi again, I started embedded programming after a long time break from it, I would also like to ask since I notice like there is a internal flash memory on the STM32f7 disc board, I generated my code from cube, i checked my sdram, flash everything is initialized... but i still get only static white screen after successful compile of demo code on baremetal port raw32... Is there anything I missing ?.. btw anyone can explain how and where does the uGFX fetch it's code Is it from internal flash or from the 16mb external flash the board ?.... Hope I would able to solve this because I am evaluating uGFX for a start up in Malaysia.. We will be getting support and licensing from uGFX after successful evaluation with my team.
  14. I have able to solve by including some header file manually but still I have issue compiling my main() if I include gfx.h, I found that ur colour definition clashes with STM32 CUBEmx generated structure member's Eg : pLayerCfg.Backcolor.Blue = 0; pLayerCfg.Backcolor.Green = 0; pLayerCfg.Backcolor.Red = 0; See the member's colour they clashes with gfx :0.. Any suggestion how to go about it ?
  15. Hi, everyone. I am find errors compiling few different demo provide by ugfx download page. The errors are : C:\Keil_v5\ARM\PACK\Keil\STM32F7xx_DFP\2.9.0\Drivers\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rcc.c(467): error: #20: identifier "LSE_STARTUP_TIMEOUT" is undefined why the LSE_TIMEOUT is undefined ?
  16. Hi, from what I know the HAL_StatusTypeDef is defined in stm32f7xx_hal_def.h since I use stm32f7 discovery board and when I check the header file it's defined there.. But I still getting this error.. Making me go nuts
  17. Hi everyone, I am facing a issue to compile ugfx library code with KEIL MDK 5. I don't know why the drivers provide by ugfx for STM32f7 coudn't work well with stm32 cube .h files.. Here I attach my compile error for more understanding everyone. ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_gpio.h(256): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_GPIO_LockPin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_dma.h(162): error: #20: identifier "HAL_LockTypeDef" is undefined HAL_LockTypeDef Lock; /*!< DMA locking object */ ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_dma_ex.h(130): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_dma_ex.h(131): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_dma_ex.h(132): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_DMAEx_ChangeMemory(DMA_HandleTypeDef *hdma, uint32_t Address, HAL_DMA_MemoryTypeDef memory); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_dma.h(645): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_dma.h(646): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_dma.h(655): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_DMA_Start (DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t DataLength); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_dma.h(656): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_DMA_Start_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t DataLength); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_dma.h(657): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_DMA_Abort(DMA_HandleTypeDef *hdma); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_dma.h(658): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_DMA_Abort_IT(DMA_HandleTypeDef *hdma); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_dma.h(659): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_DMA_PollForTransfer(DMA_HandleTypeDef *hdma, HAL_DMA_LevelCompleteTypeDef CompleteLevel, uint32_t Timeout); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_dma.h(661): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_DMA_CleanCallbacks(DMA_HandleTypeDef *hdma); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_dma.h(662): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_DMA_RegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef CallbackID, void (* pCallback)(DMA_HandleTypeDef *_hdma)); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_dma.h(663): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_DMA_UnRegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef CallbackID); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_adc.h(220): error: #20: identifier "HAL_LockTypeDef" is undefined HAL_LockTypeDef Lock; /*!< ADC locking object */ ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_adc_ex.h(258): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_ADCEx_InjectedStart(ADC_HandleTypeDef* hadc); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_adc_ex.h(259): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_ADCEx_InjectedStop(ADC_HandleTypeDef* hadc); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_adc_ex.h(260): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_ADCEx_InjectedPollForConversion(ADC_HandleTypeDef* hadc, uint32_t Timeout); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_adc_ex.h(261): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_ADCEx_InjectedStart_IT(ADC_HandleTypeDef* hadc); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_adc_ex.h(262): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_ADCEx_InjectedStop_IT(ADC_HandleTypeDef* hadc); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_adc_ex.h(264): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_ADCEx_MultiModeStart_DMA(ADC_HandleTypeDef* hadc, uint32_t* pData, uint32_t Length); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_adc_ex.h(265): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_ADCEx_MultiModeStop_DMA(ADC_HandleTypeDef* hadc); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_adc_ex.h(270): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_ADCEx_InjectedConfigChannel(ADC_HandleTypeDef* hadc,ADC_InjectionConfTypeDef* sConfigInjected); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_adc_ex.h(271): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_ADCEx_MultiModeConfigChannel(ADC_HandleTypeDef* hadc, ADC_MultiModeTypeDef* multimode); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_adc.h(569): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_ADC_Init(ADC_HandleTypeDef* hadc); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_adc.h(570): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_ADC_DeInit(ADC_HandleTypeDef *hadc); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_adc.h(581): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_ADC_Start(ADC_HandleTypeDef* hadc); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_adc.h(582): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_ADC_Stop(ADC_HandleTypeDef* hadc); ../Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_adc.h(583): error: #20: identifier "HAL_StatusTypeDef" is undefined HAL_StatusTypeDef HAL_ADC_PollForConversion(ADC_HandleTypeDef* hadc, uint32_t Timeout); ..\..\ugfx\drivers\gdisp\STM32LTDC\gdisp_lld_STM32LTDC.c: 0 warnings, 30 errors Thank you guys.
×
×
  • Create New...