Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

error using make BOARD=LOPY4 TARGET=boot #171

Closed
@HelalBR

Description

@HelalBR

screenshot from 2018-06-09 11-32-28
Hello guys,

I'm having some troubles trying to compile my own firmware. I followed every step in this tutorial:
https://github.com/pycom/pycom-micropython-sigfox
but when i run MAKE BOARD=LOPY4 TARGET=boot i get the following error:

Use make SECURE=on [optionally SECURE_KEY ?= secure_boot_signing_key.pem] to enable Secure Boot and Flash Encryption mechanisms.
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
CC bootloader/flash_qio_mode.c
In file included from /root/pycom-esp-idf//components/esp32/include/rom/ets_sys.h:21:0,
from /root/pycom-esp-idf//components/log/include/esp_log.h:21,
from bootloader/flash_qio_mode.c:17:
bootloader/flash_qio_mode.c: In function 'enable_qio_mode':
bootloader/flash_qio_mode.c:179:66: error: 'EFUSE_RD_CHIP_VER_RESERVE_S' undeclared (first use in this function)
uint32_t chip_ver = REG_GET_FIELD(EFUSE_BLK0_RDATA3_REG, EFUSE_RD_CHIP_VER_RESERVE);
^
/root/pycom-esp-idf//components/soc/esp32/include/soc/soc.h:189:32: note: in definition of macro 'REG_GET_FIELD'
((REG_READ(_r) >> (_f##_S)) & (_f##_V));
^
bootloader/flash_qio_mode.c:179:66: note: each undeclared identifier is reported only once for each function it appears in
uint32_t chip_ver = REG_GET_FIELD(EFUSE_BLK0_RDATA3_REG, EFUSE_RD_CHIP_VER_RESERVE);
^
/root/pycom-esp-idf//components/soc/esp32/include/soc/soc.h:189:32: note: in definition of macro 'REG_GET_FIELD'
((REG_READ(_r) >> (_f##_S)) & (_f##_V));
^
bootloader/flash_qio_mode.c:179:66: error: 'EFUSE_RD_CHIP_VER_RESERVE_V' undeclared (first use in this function)
uint32_t chip_ver = REG_GET_FIELD(EFUSE_BLK0_RDATA3_REG, EFUSE_RD_CHIP_VER_RESERVE);
^
/root/pycom-esp-idf//components/soc/esp32/include/soc/soc.h:189:44: note: in definition of macro 'REG_GET_FIELD'
((REG_READ(_r) >> (_f##_S)) & (_f##_V));
^
../py/mkrules.mk:47: recipe for target 'build/WIPY/release/bootloader/flash_qio_mode.o' failed
make: *** [build/WIPY/release/bootloader/flash_qio_mode.o] Error 1

I tried with different boards (WIPY, LOPY etc) and I get the same error. Any ideas of what is causing this?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions