This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001291] New HAL for Cortex-M3 Smartfusion device


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001291

--- Comment #67 from Ilija Kocho <ilijak@siva.com.mk> 2012-03-31 15:37:32 BST ---
Christophe


(In reply to comment #66)
> (In reply to comment #65)
> > Hi Ilija,
> > 
> > Thanks for your valuable time. The code checked-in compiles and run fine on
> > target.
> > 
> > I could not compile using GCC 4.6.2, something with my cygwin setup I beleive.
> 
> [Off topic] Have you tried Linux VM?
> > Will you fix the warning or shall I provide a patch?
> 
> Don't bother, I'm involved in fixing 4.6 warnings anyway, I'll do it.

I did try to fix the warnings in Actel port and I'm not sure how should they
resolve, especially the one at spi_a2fxxx.c:337:5.

Can you please fix them?

Below is a capture from the compilation:

Ilija

/home/vae/Proekti/ecos/repo/cvs/maint/ecos_cc/packages/hal/cortexm/a2fxxx/var/current/src/hal_dma.c:
In function âa2fxxx_dma_isrâ:
/home/vae/Proekti/ecos/repo/cvs/maint/ecos_cc/packages/hal/cortexm/a2fxxx/var/current/src/hal_dma.c:106:16:
warning: variable âresâ set but not used [-Wunused-but-set-variable]


/home/vae/Proekti/ecos/repo/cvs/maint/ecos_cc/packages/devs/spi/cortexm/a2fxxx/current/src/spi_a2fxxx.c:
In function âa2fxxx_transaction_beginâ:
/home/vae/Proekti/ecos/repo/cvs/maint/ecos_cc/packages/devs/spi/cortexm/a2fxxx/current/src/spi_a2fxxx.c:337:5:
warning: âssâ may be used uninitialized in this function [-Wuninitialized]
/home/vae/Proekti/ecos/repo/cvs/maint/ecos_cc/packages/devs/spi/cortexm/a2fxxx/current/src/spi_a2fxxx.c:300:16:
note: âssâ was declared here

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]