/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Ride7 CD image - STM32EvoPrimer samples missing

Username:     
Password:     
             

Forum

# 1   2010-12-07 20:03:25 Ride7 CD image - STM32EvoPrimer samples missing

mikepo
Member
From: USA
Registered: 2010-12-03
Posts: 36

Ride7 CD image - STM32EvoPrimer samples missing

Hi All,
just got my EvoPrimer and I am trying to run the toggle example. As per the user manual (page 14) it should be located in "[RIDE7_INSTALL_DIR]\Examples\ARM\Primer\STM32EvoPrimer". But I do not have this folder, I only have a folder called STM32Primer2.
I ran the "toggle" project from that folder, and the toggling works, but the push button(s) are not recognized. I think the EvoPrimer has the push button on different ports.

Where can I get the right examples for the EvoPrimer? I used the CD ROM image from the "Resources" page: "CD_STM32-Primer_20100909".
Or how does the code need to be changed to make it work on the EvoPrimer?
I already added code which seems to make the pushbutton work:

Code:

//push button port and pin
//Primer2 - PA08
//#define BP_GPIO         (GPIOA)
//#define BP_RCC_GPIO     (RCC_APB2Periph_GPIOA)
//#define BP_PIN          (GPIO_Pin_8)

//EvoPrimer2 - PE15
#define BP_GPIO         (GPIOE)
#define BP_RCC_GPIO     (RCC_APB2Periph_GPIOE)
#define BP_PIN          (GPIO_Pin_15)

But the left/right/up/down functionality does not work.
Thanks for any help!

Last edited by mikepo (2010-12-07 20:04:39)

Offline

 

# 2   2010-12-07 21:31:31 Ride7 CD image - STM32EvoPrimer samples missing

mikepo
Member
From: USA
Registered: 2010-12-03
Posts: 36

Re: Ride7 CD image - STM32EvoPrimer samples missing

Update:
This can be fixed by installing the latest RKit-ARM from this thread:
http://www.stm32circle.com/forum/viewtopic.php?id=1305
Now I can finally run the examples and debug them.

Offline

 

Board footer