Re: [Freetel-codec2] Necessary files

2016-09-07 Thread Steve
No problem Eric, Also, just to be complete, as you probably already know, but after the .elf file is built, there is a rule to convert it to a .bin file before upload to the device. # Rule for building .bin files from a .elf %.bin: %.elf $(OBJCOPY) -O binary $< $@ which translates to:

Re: [Freetel-codec2] Necessary files

2016-09-07 Thread eric
Thanks Steve, You have helped me out heaps. Better idea of what I need now. Cheers Eric. On 2016-09-07 11:42, Steve wrote: > I notice there is "feature creep" in there. I usually strip out this stuff > and then work through all the resulting errors to find where they are >

Re: [Freetel-codec2] Necessary files

2016-09-07 Thread Steve
I notice there is "feature creep" in there. I usually strip out this stuff and then work through all the resulting errors to find where they are intertwined in the other .h and .c files. But the following files are unusable fluff right now to your specific HF radio task: $(CODEC2_SRC)/kiss_fftr.c

Re: [Freetel-codec2] Necessary files

2016-09-07 Thread Steve
For example, the rule is: sm1000.elf: $(SM1000_SRCS:.c=.O3.o) src/stm32f4_dac.O3.o \ src/stm32f4_adc.O3.o libstm32f4.a $(CC) $(CFLAGS) -O3 $^ -o $@ $(LIBPATHS) $(LIBS) Which says it needs SM1000_SRCS, src/stm32f4_dac.O3.o, src/stm32f4_adc.O3.o, libstm32f4.a Working

Re: [Freetel-codec2] Necessary files.

2016-09-07 Thread glen english
Eric That's a bit rich in considering the company you are keeping on this forum I hope you don't do any really serious client software work, in my opinion you are inexperienced or poorly skilled or both in the art. Now, if you

Re: [Freetel-codec2] Necessary files

2016-09-07 Thread eric
Thanks for that Steve, That should help heaps. I'm not up to speed with make files because I usually work in and IDE which take care of this. By being able to just place the files I need in a suitable folder I will be able to much eaiser import this code into an IDE where I can begin to

Re: [Freetel-codec2] Necessary files

2016-09-07 Thread Steve
The necessary files are in the stm32/Makefile Look at the rule for sm1000.elf and work backwards. Were it I, I would copy the Makefile and edit out the builds you don't need. --

Re: [Freetel-codec2] Necessary files.

2016-09-07 Thread Adrian Musceac
Hi Bruce, This kind of thinking is the reason open source projects are not taken seriously and are seen as little more than toys. I am guilty myself of being lazy, fortunately there are people who don't apply the same reasoning. I do get frustrated when I try to get people into open source and

Re: [Freetel-codec2] Necessary files.

2016-09-07 Thread eric
Bruce I have to say I take offense to a comment like that. I'm trying to make something that will benefit the whole FreeDV community. Yes I don not work on much open source code for the very reason that you describe. It's usually poorly documented, mish mash of code, written in different

Re: [Freetel-codec2] Necessary files.

2016-09-06 Thread Bruce Perens
Eric, When you work with an Open Source project, you are not expected to need documentation of the overall structure of the code, or a list of the essential files, or a timing diagram, or an explanation of the interrupt priority (we already told you it's a busy loop, which means there is no

Re: [Freetel-codec2] Necessary files.

2016-09-06 Thread David Rowe
SM1000_SRCS in codec2-dev/stm32/Makefile On 07/09/16 14:17, e...@vk5kbb.com wrote: > Also while I'm looking at adding and removing parts of the code. > > Does any body have a list of essential files needed for building the > SM1000.bin and nothing else. > > I can see a lot of test code and also

[Freetel-codec2] Necessary files.

2016-09-06 Thread eric
Also while I'm looking at adding and removing parts of the code. Does any body have a list of essential files needed for building the SM1000.bin and nothing else. I can see a lot of test code and also now in the -DEV folder there is a lot of SM2000 code. I'd like to have a build folder