Hi! Bingo, I am working on Ubuntu 10.10, x64, gcc 4.4.5 (shipped with ubuntu).
I have been getting some warnings (treated as errors) due to some retvals didn't have initial value set, but I set them to ERROR_OK, and now it passes those points. Right now build gets stuck at In file included from ../../src/helper/command.h:26, from ../../src/helper/log.h:29, from swd_libswd_drv_openocd.c:42: ../../src/helper/types.h:115: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le_to_h_u32’ ../../src/helper/types.h:120: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le_to_h_u24’ ../../src/helper/types.h:125: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le_to_h_u16’ ../../src/helper/types.h:130: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be_to_h_u32’ ../../src/helper/types.h:135: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be_to_h_u24’ ../../src/helper/types.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be_to_h_u16’ It seems like uint32_t is not defined, even though it should be, as stdint.h is included. Funny thing, if I set the first occurance of uint32_t to unsigned int, the other ones build fine, which is kinda wierd. Working on it... I'll try to spam you less 'til mid october then, I have some work to finish myself, but I have to get going with my thesis as well. :) Also, should we spamming the developer list, or rather continue this discussion personally? I'm not familiar with opensource development *at all*, so I'm not familiar with list policies either. Cheers, Ákos On 25 September 2011 18:28, Tomek CEDRO <tomek.ce...@gmail.com> wrote: > On Sun, Sep 25, 2011 at 4:03 PM, Akos Vandra wrote: >> I'm trying to follow your instructions here >> http://stm32primer2swd.sf.net/ but I cannot find the interface script >> for kt-link-swd. >> I tried cloning the openocd git repo from here: >> git://openocd.git.sourceforge.net/gitroot/openocd/openocd > > The openocd-libswd trunk repository is > git://repo.or.cz/openocd/libswd.git the http interface is at > http://repo.or.cz/w/openocd/libswd.git > > Please tell me what is your build environment, I use FreeBSD, there > were some issues with Linux build, but I fixed some of them (mainly on > LibSWD, still there may be some in openocd), please let me know what > does not work. I will setup virtual machine with your build > environment and try to help you. I think Linux Ubuntu is the most > common Linux distro nowadays..? > > I have been extremely overworked recently, please call me on chart for > critical issues, I should have more time on mid October (~2..3 weeks) > but I will support you as much as I can meanwhile :-) > >> My hardware is not a kt-link, but it *should* work, because the SWD >> pinout is the same. > > The pin definitions are now taken out to the TCL / configuration file, > so they should be not hardcoded (except standard FT2232 pins but we > shout bring them out anyway) and easy to match any other interface > with no need to rewrite the sources :-) > > Best regards! :-) > Tomek > > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development