This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Per test sdcc allmost works

Hi,

I have sucessfully compiled the per test that came with the smartrf 4.0 developer kit, with sdcc and the packets are beiing transmitted, but the percentage of error packages is not displayed correctly i traced the problem to the globals not beiing written but i dont know how to fix it. In the file per_test_radio.c on line 436 i added perRcvdPkts = 100; but the value remains 0. Im using sdcc 2.9.1 and i've tried it with 2.7.0 too but the result is the same. The project includes a makefile with all the compiler options used. I hope anyone can help. The project can be found here. The project can be built by running make in het directory and the output file will reside in the build directory and is named test.hex