(TECH) 5x7 LED source code won't build

The wiki for the 5x7 LED array here:

seeedstudio.com/wiki/Xadow_LED_5x7

references source code here:

github.com/WayenWeng/Xadow_LED_5x7/

But that source code, when imported into Eclipse (where I have built other rePhone projects) fails to build for multiple reasons for me, including missing header file stm32f0xx.h. There are many constants as well which are referenced in the code, like GPIO_Speed_50MHz which I can’t find either.

Has anybody gotten this piece of code to work?

Hi,
The Github link add the stm32f0_stdperiph_lib.zip.

I see the additional zip file attached. That module appears to build the hexfile for the 5x7 array firmware; however what I really need is sample code from the RePhone side which shows how to control the 5x7 array. Can you point me towards that code? Thanks

It will never build in the RePhone eclipse.

It’s the module’s embedded code, and as the readme.txt says in the project:
“1. IDE - Keil uVision5;
2. Library - STM32F0xx_StdPeriph_Lib_V1.5.0”
you will need the keil (www2.keil.com/mdk5/uvision/) - even the code size limited is enough,
and the ST lib is (at first sight) st.com/web/en/catalog/tools/PF257884

I’m not trying to build the firmware for the 5x7 led array in eclipse in the rephone environment. What I’m trying to do is build a sample application which I can run on a rePhone which controls the 5x7 led array. That’s the sample code I’m looking for.

Hi,
I found the API of 5x7 led, and it is run on Arduino. Maybe you can make a reference.