Link copied to clipboard!

TouchGFX – problem with loading project on display

When there is a problem with loading project on display, usually error and it’s description is beeing displayed.
Below shown error suggests that user before sending project to device forgot to generate code.

Compiling gcc/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM33_NTZ/non_secure/portasm.c TouchGFX/Target/generated/nema_hal.c:46:38: error: storage class specified for parameter ‘nemagfx_pool_mem’ LOCATION_ALIGN_8BYTES(static uint8_t nemagfx_pool_mem[NEMAGFX_BYTE_POOL_SIZE]); /* NemaGFX memory pool */ ^~~~~~~~~~~~~~~~ TouchGFX/Target/generated/nema_hal.c:46:1: warning: data definition has no type or storage class LOCATION_ALIGN_8BYTES(static uint8_t nemagfx_pool_mem[NEMAGFX_BYTE_POOL_SIZE]); /* NemaGFX memory pool */ ^~~~~~~~~~~~~~~~~~~~~ TouchGFX/Target/generated/nema_hal.c:46:1: warning: type defaults to ‘int’ in declaration of ‘LOCATION_ALIGN_8BYTES’ [-Wimplicit-int] Compiling gcc/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM33_NTZ/non_secure/port.c TouchGFX/Target/generated/nema_hal.c: In function ‘nema_sys_init’: TouchGFX/Target/generated/nema_hal.c:84:49: error: ‘nemagfx_pool_mem’ undeclared (first use in this function); did you mean ‘nema_irq_sem’? error_code = tsi_malloc_init_pool(0, (void*)nemagfx_pool_mem, (uintptr_t)nemagfx_pool_mem, NEMAGFX_BYTE_POOL_SIZE, 1); ^~~~~~~~~~~~~~~~ nema_irq_sem TouchGFX/Target/generated/nema_hal.c:84:49: note: each undeclared identifier is reported only once for each function it appears in gcc/Makefile:376: recipe for target ‘TouchGFX/build/50STM32U599/TouchGFX/Target/generated/nema_hal.o’ failed

DISCOVER OUR

Whitepaper

Achieve the perfect user-display interaction with the right Touch Sensor IC. Ever faced issues with phantom touch events or certification? Boost your R&D like a pro with our Whitepaper!