Hi all,
I'm using emWin 5.18 on NXP LPC1788 device with gcc compiler.
Sometimes I see that calling GUI_MEMDEV_Delete(memdev) causes HardFault_Handler(), that is microprocessor crash ..... It does not matter whether memdev was created or not before GUI_MEMDEV_Delete(memdev) call. It is not a problem due to memory overflow because often it happens when I call routine the first time.
memdev is created with GUI_MEMDEV_CreateFixed() and normally it works properly.
Just to try, I saw that it seems to work properly if I use WM_DeleteWindow(memdev) instead of GUI_MEMDEV_Delete(memdev)!!
Any suggestions/info?
Thanks and best regards,
Valter Rasicci
I'm using emWin 5.18 on NXP LPC1788 device with gcc compiler.
Sometimes I see that calling GUI_MEMDEV_Delete(memdev) causes HardFault_Handler(), that is microprocessor crash ..... It does not matter whether memdev was created or not before GUI_MEMDEV_Delete(memdev) call. It is not a problem due to memory overflow because often it happens when I call routine the first time.
memdev is created with GUI_MEMDEV_CreateFixed() and normally it works properly.
Just to try, I saw that it seems to work properly if I use WM_DeleteWindow(memdev) instead of GUI_MEMDEV_Delete(memdev)!!
Any suggestions/info?
Thanks and best regards,
Valter Rasicci