Page 1 of 1

stm32_tim_t issue

Posted: Mon Sep 16, 2013 8:05 pm
by tronicgr
Hi,

I'm new to the STM32 microcontrollers, I'm trying to port my application on a STM32F4-Discovery. I started with the demo applications that come with the Chibi-studio. While trying to build the demo for the STM32F4-Discovery board I get these build errors:


Code: Select all

unknown type name 'stm32_tim_t'   pwm_lld.h   /ARMCM4-STM32F407-DISCOVERY/os/hal/platforms/STM32   line 383   C/C++ Problem
make: *** Waiting for unfinished jobs....   ARMCM4-STM32F407-DISCOVERY          C/C++ Problem
make: *** [build/obj/test.o] Error 1   ARMCM4-STM32F407-DISCOVERY          C/C++ Problem



stm32_tim_t.jpg
stm32_tim_t.jpg (178.65 KiB) Viewed 3565 times


I don't really need the PWM in my application but I was wondering why this started to appear in the last Chibi-studio 5. I didn't see them on the older chibi-studio 4.

Regards,
Thanos

Re: stm32_tim_t issue

Posted: Mon Sep 16, 2013 8:24 pm
by Giovanni
Hi,

I just compiled that application without errors, is it possible you changed halconf.h or mcuconf.h? You may try to restore ChibiStudio from the zip file.

Giovanni

Re: stm32_tim_t issue

Posted: Mon Sep 16, 2013 8:35 pm
by tronicgr
I restored the Chibistudio from the zip file and it works now with no errors... I guess something was changed that wasn't supposed to. :lol:

Thanks