ARMEBS4  revision-26.06.2015
Macros
Project configuration

Configuration options for the current project. More...

Macros

#define USE_FREERTOS
 Use the FreeRTOS real time OS. More...
 
#define USE_UGFX
 Use the uGFX graphical library. More...
 
#define USE_LWIP
 Use the lwip TCP/IP stack. More...
 
#define USE_STM32_LIB_ASSERT
 Call bsp_fatal when the stm32 library detects a problem. More...
 
#define USE_BOOT_TIME_CRITICAL
 Boot as fast as possible. More...
 
#define USE_STM32_USB_USE_DEVICE_MODE
 Use the ST USB device library. More...
 
#define USE_STM32_USB_HOST_MODE
 Use the ST USB host library. More...
 
#define USE_STM32_USB_OTG_MODE
 Use the ST USB on the go library. More...
 
#define USE_STDIO_USART
 Use this usart number for stdio redirection. More...
 
#define USE_SEMIHOSTING
 Use semihosting for stdio. More...
 
#define USE_STDIO_NOBUF
 Disable stdio buffering. More...
 
#define USE_FATAL_MALLOC_FAILED
 Call #bsp_fatal(ERROR_OUT_OF_MEMORY) when a malloc fails. More...
 
#define USE_STDIO_ECHO
 Enable echo for stdio. More...
 
#define USE_STDIO_AUTO_CR_BEFORE_LF
 Put a CR ('') before every LF ('
') on stdout (and stderr) More...
 
#define USE_LIBJPEG
 Use the libjpeg JPEG compression and decompression library. More...
 
#define USE_FATFS
 Use the FatFS library by ChaN. More...
 
#define USE_GPL_LICENSE
 This project has a GPL licence, so GPL libraries are enable. More...
 
#define USE_CYASSL
 Use the CYASSL library (requires USE_GPL_LICENSE) More...
 

Detailed Description

Configuration options for the current project.

Macro Definition Documentation

#define USE_FREERTOS

Use the FreeRTOS real time OS.

Possible values:

  • 0 : Don't use FreeRTOS
  • 1 : Use FreeRTOS

FIXME : examples

See also
FreeRTOS site : http://www.freertos.org/

Definition at line 31 of file config.h.

#define USE_UGFX

Use the uGFX graphical library.

Possible values:

  • 0 : Don't use uGFX
  • 1 : Use uGFX

FIXME : examples

See also
uFGX site : http://ugfx.org

Definition at line 49 of file config.h.

#define USE_LWIP

Use the lwip TCP/IP stack.

Possible values:

  • 0 : Don't use lwip
  • 1 : Use lwip

FIXME : examples

See also
uFGX site : http://lwip.org

Definition at line 67 of file config.h.

#define USE_STM32_LIB_ASSERT

Call bsp_fatal when the stm32 library detects a problem.

Possible values:

  • 0 : Call bsp_fatal in case of problem
  • 1 : Do nothing

Definition at line 82 of file config.h.

#define USE_BOOT_TIME_CRITICAL

Boot as fast as possible.

Possible values:

  • 0 : Boot slower, but debugging will be easier.
  • 1 : Boot as fast as possible.

Definition at line 97 of file config.h.

#define USE_STM32_USB_USE_DEVICE_MODE

Use the ST USB device library.

Possible values:

  • 0 : Don't use that library
  • 1 : Use that library

FIXME : examples + config files

Definition at line 114 of file config.h.

#define USE_STM32_USB_HOST_MODE

Use the ST USB host library.

Possible values:

  • 0 : Don't use that library
  • 1 : Use that library

FIXME : examples + config files

Definition at line 131 of file config.h.

#define USE_STM32_USB_OTG_MODE

Use the ST USB on the go library.

Possible values:

  • 0 : Don't use that library
  • 1 : Use that library

FIXME : examples + config files

Warning
This mode is untested

Definition at line 149 of file config.h.

#define USE_STDIO_USART

Use this usart number for stdio redirection.

The speed is currently fixed at 115200.

FIXME : examples

Definition at line 168 of file config.h.

#define USE_SEMIHOSTING

Use semihosting for stdio.

Possible values:

  • 0 : Don't use that library
  • 1 : Use that library

FIXME : examples

Definition at line 181 of file config.h.

#define USE_STDIO_NOBUF

Disable stdio buffering.

Possible values:

  • 0 : use stdio buffers
  • 1 : don't use stdio buffers

Defaults to 1

Definition at line 199 of file config.h.

#define USE_FATAL_MALLOC_FAILED

Call #bsp_fatal(ERROR_OUT_OF_MEMORY) when a malloc fails.

See also
#configUSE_MALLOC_FAILED_HOOK when USE_FREERTOS = 1

Possible values:

  • 0 : malloc will return NULL when out of memory
  • 1 : malloc will call #bsp_fatal(ERROR_OUT_OF_MEMORY) when out of memory

Defaults to 1

Definition at line 216 of file config.h.

#define USE_STDIO_ECHO

Enable echo for stdio.

Possible values:

  • 1 : generate echo
  • 0 : don't generate echo

Definition at line 227 of file config.h.

#define USE_STDIO_AUTO_CR_BEFORE_LF

Put a CR ('') before every LF ('
') on stdout (and stderr)

Possible values:

  • 0 : Don't use that workaround
  • 1 : Use that workaround (DEFAULT)

FIXME : examples

This can be used to make the terminal emulator happy.

Definition at line 244 of file config.h.

#define USE_LIBJPEG

Use the libjpeg JPEG compression and decompression library.

Possible values:

  • 0 : Don't use that library
  • 1 : Use that library

FIXME : examples

See also
The Sourceforge site for libjpeg : http://libjpeg.sourceforge.net/

Definition at line 263 of file config.h.

#define USE_FATFS

Use the FatFS library by ChaN.

Possible values:

  • 0 : Don't use that library
  • 1 : Use that library

FIXME : examples

See also
The website for fatfs : http://elm-chan.org/fsw/ff/00index_e.html

Definition at line 282 of file config.h.

#define USE_GPL_LICENSE

This project has a GPL licence, so GPL libraries are enable.

GCC stack protections is incompatible with FreeRTOS

See also
http://www.gnu.org/licenses/gpl-2.0.html

Possible values:

  • 0 : Project is GPL
  • 1 : Project is not GPL

Definition at line 326 of file config.h.

#define USE_CYASSL

Use the CYASSL library (requires USE_GPL_LICENSE)

Possible values:

  • 0 : Don't use that library
  • 1 : Use that library

Definition at line 342 of file config.h.