diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig index 88d1e07ad34..e132870fb90 100644 --- a/drivers/input/Kconfig +++ b/drivers/input/Kconfig @@ -349,7 +349,9 @@ config BUTTONS_LOWER NUM_BUTTONS, and 4. The board.h header file must not include any other header files that are not accessibble in this context - (such as those in arch//src/). + (such as those in arch//src/) UNLESS those + inclusions are conditioned on __KERNEL__. button_lower.c + will undefine __KERNEL__ before included board.h. If your board does not meet these requirements, then the board_lower.c file can still be copied to your your diff --git a/drivers/input/button_lower.c b/drivers/input/button_lower.c index dba0b94bfae..fefab10b8c1 100644 --- a/drivers/input/button_lower.c +++ b/drivers/input/button_lower.c @@ -47,6 +47,8 @@ #include #include + +#undef __KERNEL__ #include #if CONFIG_BUTTONS_LOWER diff --git a/fs/nxffs/README.txt b/fs/nxffs/README.txt index af631a94b05..e7d38e4e634 100644 --- a/fs/nxffs/README.txt +++ b/fs/nxffs/README.txt @@ -175,6 +175,6 @@ Things to Do done. That garbarge collection should search for valid blocks that no longer contain valid data. It should pre-erase them, put them in a good but empty state... all ready for file system re-organization. - - +- And worse, when NXFSS reorganization the FLASH a power cycle can + damage the file system content if it happens at the wrong time.