Skip to content

Coding notes

Simon IJskes edited this page Sep 12, 2016 · 5 revisions

The following defines are used for conditional compilation of firmware specific code parts:

#define FW_D02_032 1
#define FW_D13_020 1
#define FW_S12_020 1

i.e.

#ifdef FW_D02_032
   blah();
#elif defined(FW_D13_020)
   meh();
#else
   moooooh();
#endif

(implementation TBD)

The following defines are used for conditional compilation of hard specific code parts:

#define HW_MD380 1
#define HW_MD390 1
Clone this wiki locally