MikroElektronika / mikrosdk_v2

mikroSDK 2.0 is an embedded software development framework designed to simplify and accelerate application development on Mikroe hardware platform, specifically for Click Boards™ and other extension board drivers, on a wide range of microcontroller vendors and architectures.
https://www.mikroe.com/mikrosdk
Other
63 stars 38 forks source link

microC AI for ARM does not run with Clicker4 STM32F4 board #9

Closed js1tr3 closed 5 months ago

js1tr3 commented 5 months ago

Describe the bug blink example from website does not run with MicroC AI for ARM

include "board.h"

include "drv_digital_out.h"

static digital_out_t led;

/// @brief Application init function. void application_init () { digital_out_init(&led, LED_1); }

/// @brief Application task. void application_task () { digital_out_toggle(&led); Delay_ms(1000); }

/// @brief Application main function. void main (void) {

application_init();

while (1)
{
    application_task();
}

}

To Reproduce Compile and download blink example Run with microC AI arm (code does not execute no blink) Run with GCC for arm code runs, LED blinks as expected

Information (please complete the following information): Windows] SDK version 2.11

Additional context New update

js1tr3 commented 5 months ago

Correction, Flashing works and the code runs, but cant debug it.

StrahinjaJacimovic commented 5 months ago

Hello @js1tr3

Thank you for the detailed bug report. We have looked into it and this seems to be a CODEGRIP relate issue, not mikroSDK. We are working on finding a prompt and appropriate solution.

I will leave the issue open and update you as soon as we have a fix available.

Kind regards, Strahinja Jacimovic.

MarkoZiv commented 5 months ago

Hello @js1tr3,

We have a solution for you,

Regards Marko

js1tr3 commented 5 months ago

Yup that Fixed it, Thankyou!