I need to build a firmware for WROVER with ULAB module and have access to the external SPIRAM.
I've managed to flash the firmware with ULAB module, but i don't know how to build a firmware able to access the external ram
as the official GENERIC-SPIRAM : esp32spiram-idf3-20191220-v1.12.bin.
Any idea?
thanks
david
Build firmware for external spiram
Re: Build firmware for external spiram
When you run the makefile (with the path set to the ulab module), you can specify which board you're targeting.davidbogatec wrote: ↑Wed Feb 12, 2020 7:29 amI've managed to flash the firmware with ULAB module, but i don't know how to build a firmware able to access the external ram
i.e.
Code: Select all
make BOARD=GENERIC_SPIRAM ..other args..
-
- Posts: 10
- Joined: Tue Feb 04, 2020 3:23 pm
Re: Build firmware for external spiram
Hi Jimmo, thanks for the prompt reply.
When i try to build with make board=generic_spiram i have the following error
make BOARD=GENERIC_SPIRAM
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
Building with ESP IDF v3
GEN build-GENERIC_SPIRAM/sdkconfig.h
mkdir -p build-GENERIC_SPIRAM/bootloader//home/bogatec/esp32/esp-idf/components/bootloader/subproject/main/
mkdir -p build-GENERIC_SPIRAM/bootloader//home/bogatec/esp32/esp-idf/components/bootloader_support/src/
mkdir -p build-GENERIC_SPIRAM/bootloader//home/bogatec/esp32/esp-idf/components/log/
mkdir -p build-GENERIC_SPIRAM/bootloader//home/bogatec/esp32/esp-idf/components/micro-ecc/micro-ecc/
mkdir -p build-GENERIC_SPIRAM/bootloader//home/bogatec/esp32/esp-idf/components/soc/esp32/
mkdir -p build-GENERIC_SPIRAM/bootloader//home/bogatec/esp32/esp-idf/components/soc/src/
mkdir -p build-GENERIC_SPIRAM/bootloader//home/bogatec/esp32/esp-idf/components/spi_flash/
CC /home/bogatec/esp32/esp-idf/components/bootloader_support/src/bootloader_clock.c
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mfix-esp32-psram-cache-issue'
make: *** [Makefile:954: build-GENERIC_SPIRAM/bootloader//home/bogatec/esp32/esp-idf/components/bootloader_support/src/bootloader_clock.o] Error 1
any idea?
thanks for your support
When i try to build with make board=generic_spiram i have the following error
make BOARD=GENERIC_SPIRAM
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
Building with ESP IDF v3
GEN build-GENERIC_SPIRAM/sdkconfig.h
mkdir -p build-GENERIC_SPIRAM/bootloader//home/bogatec/esp32/esp-idf/components/bootloader/subproject/main/
mkdir -p build-GENERIC_SPIRAM/bootloader//home/bogatec/esp32/esp-idf/components/bootloader_support/src/
mkdir -p build-GENERIC_SPIRAM/bootloader//home/bogatec/esp32/esp-idf/components/log/
mkdir -p build-GENERIC_SPIRAM/bootloader//home/bogatec/esp32/esp-idf/components/micro-ecc/micro-ecc/
mkdir -p build-GENERIC_SPIRAM/bootloader//home/bogatec/esp32/esp-idf/components/soc/esp32/
mkdir -p build-GENERIC_SPIRAM/bootloader//home/bogatec/esp32/esp-idf/components/soc/src/
mkdir -p build-GENERIC_SPIRAM/bootloader//home/bogatec/esp32/esp-idf/components/spi_flash/
CC /home/bogatec/esp32/esp-idf/components/bootloader_support/src/bootloader_clock.c
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mfix-esp32-psram-cache-issue'
make: *** [Makefile:954: build-GENERIC_SPIRAM/bootloader//home/bogatec/esp32/esp-idf/components/bootloader_support/src/bootloader_clock.o] Error 1
any idea?
thanks for your support