There are 19 messages in this thread.
You are currently looking at messages 10 to 19.
> That's immensely kind of you. My pleasure... > I don't know C++ but the files convert very nicely. Neither do I. It is all Ansi C. > I will try a bit of tinkering. I see you can select multiple > source files and that you used Watcom. Yes, because it is free. I also consider the tools very reliable and the debugger is straightforward to understand. Only the resource editor is a bit weird and unstable, but maybe I'm using it in a wrong way.
I made a common mistake: I forgot to include some files, which are required for compiling the project. They are in different folders on my PC, namely "include" and "lib". Please find the missing files at http://www.qsl.net/dk8pp/downloads/supplement.zip
"Michael Krämer" <m...@yahoo.com> wrote in message news:1...@g47g2000cwa.googlegroups.com... >I made a common mistake: I forgot to include some files, which are > required for compiling the project. They are in different folders on my > PC, namely "include" and "lib". Please find the missing files at > http://www.qsl.net/dk8pp/downloads/supplement.zip > Many thanks - only just downloaded Watcom!
Fred wrote: > I need to convert a number of files which contain data to a C program > file. > > I have come across a perl script which is meant to do this. However it > doesn't work with perl in the recent version of Cygwin. > > Does anyone have anything which can help or point me in the right > direction? in one of the demo projects following freertos there is a perl script doing what you ask i think, it is called makefsdata. It is a collegue that used this just helped him with some cygwin perl, so I haven't any URL for you, but google will help you. -- Med venlig hilsen/mojn/regards Martin Hansen Center for Software Innovation Stenager 2, DK-6400 Sønderborg, Web: www.cfsi.dk
In comp.arch.embedded, Fred <f...@nowhere.com> wrote: >I need to convert a number of files which contain data to a C program file. > >I have come across a perl script which is meant to do this. However it >doesn't work with perl in the recent version of Cygwin. > >Does anyone have anything which can help or point me in the right direction? > Do you really need the C file or just need the data? If the later, objcopy can copy a binary input to elf or other output that you then can link with your application. It creates symbols for start end and size of the date that you can just pick up in your C program. This is how I link some pictures with my code. -- Stef (remove caps, dashes and .invalid from e-mail address to reply by mail) knowledge, n.: Things you believe.
"Fred" <f...@nowhere.com> wrote in news:436768d7$0$23280$d...@news.zen.co.uk: > I need to convert a number of files which contain data to a C program > file. > > I have come across a perl script which is meant to do this. However > it doesn't work with perl in the recent version of Cygwin. > > Does anyone have anything which can help or point me in the right > direction? google for a program named bin2c there are a million (ok, a few dozen) that are all available as source and various developers pages. One of them should work or you can easily modify to suit your needs. -- dan
"Dan" <dan@i_am_spam.net> wrote in message news:Xns9707B9285F9F8RhubarbIsRed@216.196.97.136... > "Fred" <f...@nowhere.com> wrote in > news:436768d7$0$23280$d...@news.zen.co.uk: > >> I need to convert a number of files which contain data to a C program >> file. >> >> I have come across a perl script which is meant to do this. However >> it doesn't work with perl in the recent version of Cygwin. >> >> Does anyone have anything which can help or point me in the right >> direction? > > google for a program named bin2c > there are a million (ok, a few dozen) that are all available as source > and various developers pages. One of them should work or you can easily > modify to suit your needs. > > > -- > dan Google found 22,000 sites! Many thanks.
You can use Microchip MPFS(Microchip Pic File System). This is will convert your data files (*.*) to C file/ .Bin file. You can download MPFS in http://www.microchip.com .
<g...@gmail.com> wrote in message news:1...@g49g2000cwa.googlegroups.com... > You can use Microchip MPFS(Microchip Pic File System). This is will > convert your data files (*.*) to C file/ .Bin file. You can download > MPFS in http://www.microchip.com . > I had downloaded MCHPStack already but didn't realise it had MPFS within it. Many thanks.