ReadMe.txt for the Blinky start project.

Application description:
========================
embOS sample program running two simple tasks, each toggling a LED of the target hardware.

WARNING:
Before you update any source file with STM32CubeMX, please make sure you updated
STM32CubeMX Project Settings as follows:
-    Open the example .ioc file with STM32CubeMX
-    Open Project Settings Window (Project Menu -> Settings…)
-    In Project TAB, make sure “Use Default Firmware Location” is Unselected
-    Set ST Firmware path to the folder containing ST “Drivers” folder, which shall be
     the folder where you unzipped this STM32 Cube Expansion.
-    Click on OK to validate and close the Project Settings window
-    Save the STM32CubeMX project

Supported toolchains:
=====================
This project was built for
- IAR Embedded Workbench for ARM (EWARM) toolchain V7.70.1 + ST-Link
- Keil uVision (MDK-ARM) toolchain V5.22.0 + ST-Link
- System Workbench for STM32 (SW4STM32) toolchain V1.8 + ST-Link

Supported hardware:
===================
- 32F746GDISCOVERY (STM32F746NG)

Configurations:
===============
- embOS_Blinky (available with IAR and Keil only):
  This configuration is prepared for download into internal Flash using ST-Link. An embOS debug and profiling library is used.
  - By default, embOSView communication is enabled with this configuration. However, embOSView may can not be utilized using ST-Link,
    but requires the usage of J-Link instead. See below for more information on configuring the project for J-Link.
  - By default, SystemView is enabled with this configuration. Using ST-Link, however, SystemView may only be used in single-shot-mode
    or post-mortem-mode. Using J-Link, SystemView can be utilized for live recordings as well. See below for more information on configuring
    the project for J-Link.

- Debug (available with SW4STM32 only):
  This configuration is prepared for download into internal Flash using ST-Link. An embOS debug and profiling library is used.
  - By default, embOSView communication is enabled with this configuration. However, embOSView may can not be utilized using ST-Link,
    but requires the usage of J-Link instead. See below for more information on configuring the project for J-Link.
  - By default, SystemView is enabled with this configuration. Using ST-Link, however, SystemView may only be used in single-shot-mode
    or post-mortem-mode. Using J-Link, SystemView can be utilized for live recordings as well. See below for more information on configuring
    the project for J-Link.

- Release (available with SW4STM32 only):
  This configuration is prepared for download into internal Flash using ST-Link. An embOS release library is used.
  - By default, embOSView communication is disabled with this configuration, but may be enabled by modifying OS_Config.h accordingly.
    However, embOSView may can not be utilized using ST-Link, but requires the usage of J-Link instead. See below for more information on
    configuring the project for J-Link.
  - SystemView is unavailable in release builds.

How to configure the project to utilize J-Link:
===============================================
SEGGER offers a firmware upgrading the ST-LINK on-board on the Nucleo and Discovery Boards to a J-Link compatible device.
In order to get started with ST-LINK on-board and upgrade it to a J-Link OB, just a few steps are necessary:
- Make sure that the ST-LINK USB drivers are installed: http://www.st.com/content/st_com/en/products/embedded-software/development-tool-software/stsw-link009.html
- Make sure that the J-Link software package V5.12b or later is installed: http://www.segger.com/downloads/jlink/
- Download the SEGGER STLinkReflash utility: https://www.segger.com/downloads/jlink#STLink_Reflash
- Start the STLinkReflash utility
- Agree to the license terms
- Connect ST-LINK on-board to PC
- Select "Upgrade to J-Link"
- Wait for operation to complete
- Quit the STLinkReflash utility

Furthermore, the project needs to be configured for using J-Link in a few simple steps:
- Using IAR, please refer to http://www.segger.com/products/debug-probes/j-link/technology/ides/iar-ewarm/general-information-about-iar-ewarm/
- Using Keil, please refer to http://www.segger.com/products/debug-probes/j-link/technology/ides/keil-mdk/
- Using SW4STM32, please refer to http://www.segger.com/products/debug-probes/j-link/technology/ides/system-workbench-for-stm32/

Subsequently, for utilizing embOSView, configure the embOSView PC application for "J-Link Cortex-M (memory access)", "SWD" as target interface,
  2000 kHz as interface speed, and STM32F746NG as target device. The embOSView PC application is included with  the STM32CubeExpansion
  at the \Utilities\PC-Software\embOSView\ directory.
For a SystemView live recording, configure the SystemView PC application for "STM32F746NG" as target device, "SWD" as target interface, and 2000
  kHz as interface speed. In addition, the RTT buffer address must be specified with this target (locate "_SEGGER_RTT" in the mapfile for the
  correct buffer address). The SystemView PC application may be retrieved from http://www.segger.com/products/development-tools/systemview/
