config: add sanity checks for XFLASH_DUMP options
This commit is contained in:
parent
0e75bc9d8e
commit
520f7a2e26
1 changed files with 8 additions and 0 deletions
|
@ -68,4 +68,12 @@
|
||||||
#define COMMUNITY_LANG_SUPPORT
|
#define COMMUNITY_LANG_SUPPORT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Sanity checks for correct configuration of XFLASH_DUMP options
|
||||||
|
#if defined(XFLASH_DUMP) && !defined(XFLASH)
|
||||||
|
#error "XFLASH_DUMP requires XFLASH support"
|
||||||
|
#endif
|
||||||
|
#if (defined(MENU_DUMP) || defined(EMERGENCY_DUMP)) && !defined(XFLASH_DUMP)
|
||||||
|
#error "MENU_DUMP and EMERGENCY_DUMP require XFLASH_DUMP"
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif //_CONFIG_H
|
#endif //_CONFIG_H
|
||||||
|
|
Loading…
Reference in a new issue