Changes between Version 15 and Version 16 of TBR/BSP/STM32_F4


Ignore:
Timestamp:
Nov 9, 2017, 6:57:50 AM (2 years ago)
Author:
Sebastian Huber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TBR/BSP/STM32_F4

    v15 v16  
    55
    66In order to get RTEMS running :
    7 1. compile the toolchain from source as described at https://ftp.rtems.org/pub/rtems/people/chrisj/source-builder/source-builder.html, which requires about 10 GB of free space for the target 4.12/rtems-arm
    8 2. having compiled the toolchain, export the PATH to include arm-rtems4.12-gcc
    9 3. git clone the latest release of rtems (4.12 as of January 1st 2017)
    10 4. export TARGET="arm-rtems4.12"
     71. compile the toolchain from source as described at https://ftp.rtems.org/pub/rtems/people/chrisj/source-builder/source-builder.html, which requires about 10 GB of free space for the target 5/rtems-arm
     82. having compiled the toolchain, export the PATH to include arm-rtems5-gcc
     93. git clone the latest release of RTEMS
     104. export TARGET="arm-rtems5"
    1111 a. if using a non-8 MHz quartz resonator (as I am doing), edit
    1212rtems/c/src/lib/libbsp/arm/stm32f4/configure.ac
     
    2525to send console on USART1
    26265. in the rtems clone, ./bootstrap
    27 6. in a build directory next to the rtems clone, ../rtems/configure --target=${TARGET} --enable-rtemsbsp=stm32f4 --enable-tests=samples --prefix=$HOME/my/directory/rtems/4.12
    28  1. in $HOME/my/build/directory/arm-rtems4.12/c/stm32f4/testsuites/samples I had to remove pppd, fileio, iostream, loopback and related applications whose size exceeded the available 32 KB flash
     276. in a build directory next to the rtems clone, ../rtems/configure --target=${TARGET} --enable-rtemsbsp=stm32f4 --enable-tests=samples --prefix=$HOME/my/directory/rtems/5
     28 1. in $HOME/my/build/directory/arm-rtems5/c/stm32f4/testsuites/samples I had to remove pppd, fileio, iostream, loopback and related applications whose size exceeded the available 32 KB flash
    29297. make
    30308. make install
    31 9. in the $HOME/my/build/directory/arm-rtems4.12/c/stm32f4/testsuites/samples/hello:\\
     319. in the $HOME/my/build/directory/arm-rtems5/c/stm32f4/testsuites/samples/hello:\\
    3232sudo stm32flash -w hello.bin /dev/ttyUSB0
    333310. if all goes well, while monitoring at 115200 bauds the virtual serial port output