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:
Michał Łyszczek 2022-07-29 00:18:29 +02:00 committed by Xiang Xiao
parent d8b214ce9a
commit a1aee22a4f

View File

@ -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
****************************************************************************/