how to compile stm32f746g-discovery based chirp code in keil

77 Views Asked by At

I have to test stm32f746g-discovery based chirp code, but I need to do it within Keil. I tried but its giving errors. I have tried both arm cc 6 as well as GNU for arm, but still cant compile. For arm cc, error is: .\test2.axf: Error: L6218E: Undefined symbol chirp_sdk_error_code_to_string (referred from main.o). .\test2.axf: Error: L6218E: Undefined symbol chirp_sdk_set_config (referred from main.o). .\test2.axf: Error: L6218E: Undefined symbol new_chirp_sdk (referred from main.o).

These are the only functions called.

Can you please provide keil template for chirp?

1

There are 1 best solutions below

3
Damien On

Damien from Chirp here,

Unfortunately we don't provide libraries for Keil or Arm CC. Our libraries for Cortex M micro controllers are built with the GNU Embedded Toolchain.

If you still want to test on the stm32f7, go to our chirp-embedded-examples repo, clone and execute make in the stm32f746g-discovery folder. You can find more information in the readme in this same folder.