code is working on one board but the same code is not working in other board
- April 27, 2020
- 2 replies
- 1556 views
Hi,
please help me out!!!
I am trying to sort of an array in descending order with the help of test.cpp and
external user defined header file.
STM32F407VGTx
And it is working properly with STM32F407VGTx dev board
main.c --->
STM32F407VGT_TEST/SRC/main.c
TEST.cpp --->
MDK-ARM/TEST/TEST.cpp
TEST.h
--->MDK-ARM/TEST/TEST.h
STM32F423CHUx
But when we are using STM32F423CHUx its not working and with same code and its get stuck in array initialization with zero and
it got stuck while doing assignment. Below is the snippet
for(int k=0; k<FRAME_SIZE/2; k++){
objects[k].value = off_set_final_ptr[k];
objects[k].index = k;
}
main.c
--->STM32F423CH_TEST/SRC/main.c
TEST.cpp
--->MDK-ARM/TEST/TEST.cpp
TEST.h
--->MDK-ARM/TEST/TEST.h
both code is genrated from stmcube mx
