I am developing program for usb communication and i am using "STM32_USB-FS-Device_Driver" library in atollic true studio.
in USB communication when EP2_OUT_Callback is working properly. but during interrupt for EP1_IN_Callback hard fault occurs.
on further investigation i found that EP1_IN_Callback pointer address is "134217776" (i.e. even address and hence causing hard fault)
i tried using _packed keyword but compiler ignores it.
how can i solve the issue?