Skip to content

Compilation Settings

ejoerns edited this page Oct 15, 2014 · 3 revisions

The INGA platform provides a range of compilation settings that allow to adapt the behavior and code size to the users specific requirements.

Note that all INGA-specific defines are prefixed with INGA_CONF_.

They can be passed as preprocessor defines via -DINGA_CONF_FOO=value or as a #define in a project-conf file provided with

-DPROJECT_CONF_H=filename.h

Enable Debugging Output

DEBUG=<1

Baudrate

INGA_CONF_USART_BAUD

Boot Screen

  • INGA_CONF_BOOTSCREEN -- global enable/disable (default: ?)

  • INGA_CONF_BOOTSCREEN_NET --

  • INGA_CONF_BOOTSCREEN_NETSTACK --

  • INGA_CONF_BOOTSCREEN_RADIO --

  • INGA_CONF_BOOTSCREEN_SENSORS --

  • INGA_CONF_TERMINAL_ESCAPES --

  • INGA_CONF_CONVERTTXPOWER --

Periodic Prints

  • INGA_CONF_PERIODIC -- global enable/disable (default: enabled)
  • INGA_CONF_PERIODIC_ROUTES -- enable/disable (default: ?)
  • INGA_CONF_PERIODIC_STAMPS -- enable/disable (default: ?)
  • INGA_CONF_PERIODIC_STACK -- enable/disable (default: ?)

Makefile settings

Rime

Default

IPv6

Enables IPv6

UIP_CONF_IPV6=1

or

-DWITH_UIP6=1

DTN

WITH_DTN=1

RPL

Enables routing protocol

WITH_RPL=1

Slip

Enables Slip

WITH_SLIP=1

Profiling

Enables profiling

ENABLE_PROFILING=1

File System

Use either Coffee or FAT file system

CFS=coffee/fat

Choose coffee device

COFFEE_DEVICE=n
  • 1 EEPROM (static)
  • 2 EEPROM (dynmaic)
  • 3 Flash (static)
  • 4 Flash (dynamic)
  • 5 Flash (external)
  • 6 SD card
Clone this wiki locally