Build failed Completed nRF52840 with ADXL345

Hi,

This post is the continuation of this project:  Undefined reference to `SystemInit' and undefined reference to "bsp_board_init"

It turns out that I probably didn't include the c. and h. files well into the project so I decided to create a new one based on it yet. The program worked until I deleted the first version. It turned out that I copy paste some part of it including the path of the include files. So when I deleted the first version, the include path didn't exist anymore. So I wrote again the good one and now I can't even build anymore.

Here is the code of ADXL345.c :

Here is the code of the main.c :

I also created an header for the ADXL345 with all the declarations and definitions.

The following picture is the output I get:

I really need your help because it doesn't make any sense for me that it used to work and now it doesn't anymore.

Looking forward for your answer,

Kind regards