boards/stm32wl5/flash: define default procfs mountpoint
When nsh is not enabled, CONFIG_NSH_PROC_MOUNTPOINT is not defined. If in that case procfs is used, compilation will result in error. Define sane default path for procfs in case nsh is not enable but procfs is. Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
This commit is contained in:
parent
d8b214ce9a
commit
a1aee22a4f
@ -48,6 +48,12 @@
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* Define proc mountpoint in case procfs is used but nsh is not */
|
||||
|
||||
#ifndef CONFIG_NSH_PROC_MOUNTPOINT
|
||||
#define CONFIG_NSH_PROC_MOUNTPOINT "/proc"
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user