diff options
author | Maureen Helm <maureen.helm@nxp.com> | 2020-08-07 14:39:13 -0500 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-08-21 11:23:43 +1000 |
commit | ac94e06f0ba818157490587af1e4d0fb4cf3e962 (patch) | |
tree | 2668587eab0a02fbb7c7c553e249332a14f3a1c3 /docs/library/esp32.rst | |
parent | 60f5b941e096aba270a7d4af8faa33169de8364f (diff) | |
download | micropython-ac94e06f0ba818157490587af1e4d0fb4cf3e962.tar.gz micropython-ac94e06f0ba818157490587af1e4d0fb4cf3e962.zip |
zephyr: Include storage/flash_map.h unconditionally.
Include storage/flash_map.h unconditionally so we always have access to the
FLASH_AREA_LABEL_EXISTS macro, even if CONFIG_FLASH_MAP is not defined.
This fixes a build error for the qemu_x86 board:
main.c:108:63: error: missing binary operator before token "("
108 | #elif defined(CONFIG_FLASH_MAP) && FLASH_AREA_LABEL_EXISTS(storage)
| ^
../../py/mkrules.mk:88: recipe for target 'build/genhdr/qstr.i.last' failed
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Diffstat (limited to 'docs/library/esp32.rst')
0 files changed, 0 insertions, 0 deletions