STM32F746 disco malloc hang
Hi,
I am building the exemple “LTDC_picturefromSDCard” from STM32Cube_FW_F7, on ubuntu eclipse gcc. After many attempt i can build and debug the project on the stm32F746discovery board.
When building linker had warning :
/usr/lib/gcc/arm-none-eabi/4.9.3/../../../arm-none-eabi/bin/ld: warning: /usr/lib/gcc/arm-none-eabi/4.9.3/../../../arm-none-eabi/lib/libg_nano.a(lib_a-errno.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail
when in debug code hang on:
pDirectoryFilescounter = (char*)malloc((size_t)MAX_BMP_FILE_NAME); (line 126 of main.c)
malloc send an Hard exeption.
I belive a wrong declaration of the heap but every thing seem to be ok.
Please Help!!!!
Jean Pierre Lathuile