On 20/01/16 16:16, arooj naz wrote:
> Hi how are you . I am doing a project of voice encoding and decoding
> using sm1000 board. Currently I donot have havdrware or any thing but
> for my own practice i am following your codec2
> <https://github.com/freedv/codec2>/stm32
> <https://github.com/freedv/codec2/tree/master/stm32>/README.txt
> . Trying to resolve the following error in build codec 2 unit test
You seem to have forgotten the error message here.
> In Makefile: edit the BINPATH variable for your toolchain location
> edit PERIPHLIBVER for the current version of the peripheral
> library, currently V1.3.0
> delete power_ut.elf target from the all: target
Hmmm, seems those instructions need a minor update:
- there's no need to delete power_ut.elf from anything
- PERIPHLIBVER unfortunately keeps changing due to ST having the
unfortunate habit of not including a version number in the URL where the
peripheral library is kept. So you wind up downloading the "latest"
version, whose top-level directory changes with each version. Hence the
only way to know is to manually unzip the file you download and have a
look. The top-level directory will have _${PERIPHLIBVER} appended to
the name.
- BINPATH is now set in a file called 'local.mak' which you create. The
exact path depends on where you unpacked `arm-gcc`, in my case I placed
it under /opt/gcc-arm-... Alternatively, you can set CROSS_COMPILE
(which is the Linux kernel convention):
e.g.
PERIPHLIBVER=V1.6.0
CROSS_COMPILE=/opt/gcc-arm-none-eabi-4_7-2013q1/bin/arm-none-eabi-
PERIPHLIBVER=V1.6.0
BINPATH=/opt/gcc-arm-none-eabi-4_7-2013q1/bin
These two snippets are identical. If you look in the Makefile, any
variable set with ?= can be overridden in local.mak, or set as an
environment variable.
--
Stuart Longland (aka Redhatter, VK4MSL)
I haven't lost my mind...
...it's backed up on a tape somewhere.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2