cancel
Showing results for 
Search instead for 
Did you mean: 

HID Keyboard example ported to GCC?

blueriver02703
Associate II
Posted on January 13, 2013 at 21:52

Hi guys, 

I have been looking for an HID keyboard example for the GCC compiler. 

I love this STM32 microconroller so far due to the ability of having configurable endpoints. I have the Olimex STM32-H103 board. Would you be kind enough to share your keyboard example? or provide me a link?  

Has the mouse example been ported to GCC? Have a link? 

Thank you.

6 REPLIES 6
Andrew Neil
Evangelist
Posted on January 14, 2013 at 14:19

''an HID keyboard example for the GCC compiler''

How would that differ from an HID keyboard example for any other compiler?

Andrew Neil
Evangelist
Posted on January 15, 2013 at 14:24

How about:

/8dd76e0f

 ?

 

blueriver02703
Associate II
Posted on January 17, 2013 at 02:37

Thank you. I'll take a look at that.

blueriver02703
Associate II
Posted on January 17, 2013 at 02:38

''

How would that differ from an HID keyboard example for any other compiler?''

In a number of small ways: some compilers have special keywords and defines that are specific for them; sometimes, porting is trivial; sometimes not.

Thanks.

blueriver02703
Associate II
Posted on January 17, 2013 at 02:51

Actually, I just noticed that the link is for a host implementation of mouse/keyboard.

Andrew Neil
Evangelist
Posted on January 17, 2013 at 08:40

''I just noticed that the link is for a host implementation of mouse/keyboard''

 

You didn't state whether you wanted host or device - or both.