STM README patch thanks Mike
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Thu, 26 Jun 2014 10:16:21 +0000 (10:16 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Thu, 26 Jun 2014 10:16:21 +0000 (10:16 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@1710 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/stm32/README.txt

index 0a8885eae37789c43b5275a6ab571f7bcb79e3df..82eda8b010129f86a51c8dedd72e4dfabd41f2f3 100644 (file)
@@ -30,12 +30,21 @@ Getting Started
 
    $ cd ~
    $ wget https://launchpad.net/gcc-arm-embedded/4.7/4.7-2013-q1-update/+download/gcc-arm-none-eabi-4_7-2013q1-20130313-linux.tar.bz2
-   $ tar xjf gcc-arm-none-eabi-4_7-2012q4-20121208-linux.tar.bz2
+   $ tar xjf gcc-arm-none-eabi-4_7-2013q1-20130313-linux.tar.bz2
 
 . Build codec2 unit test:
 
    $ cd codec2_dev/stm32
-   If necessary, edit the BINPATH variable in Makefile for your toolchain location
+   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
+   $ make
+   after make downloads the peripheral library, you will get a compile error:
+   #error "Please select first the target STM32F4xx device used in your application (in stm32f4xx.h file)"
+   edit STM32F4xx_DSP_StdPeriph_Lib_V1.3.0/Libraries/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
+   and at the top of that file, uncomment the appropriate line for your target
+   processor.
    $ make
 
 . Build stlink: