X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Farduino-mega%2Ftemplates%2Farduino-mega_kernel%2Fcfg%2Fcfg_sem.h;fp=boards%2Farduino-mega%2Ftemplates%2Farduino-mega_kernel%2Fcfg%2Fcfg_sem.h;h=86ed110d143afb1e894f7ab81d8408a3c0e3acc2;hb=916115afea98a1f0b520ee72be7892261a24e9ff;hp=0000000000000000000000000000000000000000;hpb=e7d41c27f27e04808b1856e563ee852af1e5b856;p=bertos.git diff --git a/boards/arduino-mega/templates/arduino-mega_kernel/cfg/cfg_sem.h b/boards/arduino-mega/templates/arduino-mega_kernel/cfg/cfg_sem.h new file mode 100644 index 00000000..86ed110d --- /dev/null +++ b/boards/arduino-mega/templates/arduino-mega_kernel/cfg/cfg_sem.h @@ -0,0 +1,48 @@ +/** + * \file + * + * + * \brief Kernel semaphores configuration parameters. + * + * \version $Id$ + * \author Bernie Innocenti + */ + +#ifndef CFG_SEM_H +#define CFG_SEM_H + +/** + * Re-entrant mutual exclusion primitives. + * $WIZ$ type = "autoenabled" + */ +#define CONFIG_KERN_SEMAPHORES 1 + +#endif /* CFG_SEM_H */