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

Moderators: lily.li, violet, jessie, chao.zhang

Post Reply
rhbroberg
Pre-kindergarten
Pre-kindergarten
Posts: 27
Joined: Thu Feb 04, 2016 12:20 pm

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

Post by rhbroberg » Fri Mar 04, 2016 8:54 am

The wiki for the 5x7 LED array here:

http://www.seeedstudio.com/wiki/Xadow_LED_5x7

references source code here:

https://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?

jinyuan.weng
Pre-kindergarten
Pre-kindergarten
Posts: 33
Joined: Tue Jan 26, 2016 5:17 pm

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

Post by jinyuan.weng » Fri Mar 04, 2016 2:55 pm

Hi,
The Github link add the stm32f0_stdperiph_lib.zip.

rhbroberg
Pre-kindergarten
Pre-kindergarten
Posts: 27
Joined: Thu Feb 04, 2016 12:20 pm

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

Post by rhbroberg » Sat Mar 05, 2016 2:28 am

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

dbelam
Elementary-1
Elementary-1
Posts: 157
Joined: Wed Feb 03, 2016 2:59 am

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

Post by dbelam » Sat Mar 05, 2016 1:20 pm

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 (http://www2.keil.com/mdk5/uvision/) - even the code size limited is enough,
and the ST lib is (at first sight) http://www.st.com/web/en/catalog/tools/PF257884

rhbroberg
Pre-kindergarten
Pre-kindergarten
Posts: 27
Joined: Thu Feb 04, 2016 12:20 pm

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

Post by rhbroberg » Tue Mar 08, 2016 2:24 am

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.

jinyuan.weng
Pre-kindergarten
Pre-kindergarten
Posts: 33
Joined: Tue Jan 26, 2016 5:17 pm

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

Post by jinyuan.weng » Tue Mar 08, 2016 5:53 pm

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

Post Reply