Requirements for emWin

From SEGGER Wiki
Jump to: navigation, search

emWin imposes some requirements on the target system and the compiler.

Target system (hardware)

The target system must have:

  • a 16-bit, 32-bit or 64-bit CPU (LP64 and LLP64 data models)
  • a minimum of RAM and ROM
  • a full graphic display

The RAM needs to be 8-, 16- and 32-bit accessible. Memory requirements vary depending on which parts of the software are used and how efficient your target compiler is. It is therefore not possible to specify precise values, but the following applies to typical systems.

Small systems (no Window Manager)

  • RAM: 100 bytes
  • Stack: 600 bytes
  • ROM: 10-25 kilobytes (depending on the functionality used)

Big systems (including Window Manager and widgets)

  • RAM: 2-6 kilobytes (depending on number of windows required)
  • Stack: 1200-1800 bytes (depending on the functionality used)
  • ROM: 30-60 kilobytes (depending on the functionality used)

Development environment (compiler)

The CPU used is of no importance; only an ANSI-compliant C compiler complying with at least one of the following international standard is required:

  • ISO/IEC/ANSI 9899:1990 (C90) with support for C++ style comments (//)
  • ISO/IEC 9899:1999 (C99)
  • ISO/IEC 14882:1998 (C++)

Limitations

The code of emWin requires a char type of 8 bits. If a char is 16 bits the code of emWin does not work right.