Basic question - make axtls not compiling

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
philor
Posts: 2
Joined: Fri Sep 15, 2017 1:13 am

Basic question - make axtls not compiling

Post by philor » Fri Sep 15, 2017 1:31 am

I'm new to this and have just received an ESP32 board. It's marked Wroom-32.

I have the Github esp32 directory but I'm stumped at the very first step.

I've installed the listed dependencies but after moving to the /ports/unix directory and entering "make axtls" make fails with the following:

Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
You cloned without --recursive, fetching submodules for you.
(cd ../..; git submodule update --init --recursive)
fatal: Not a git repository (or any of the parent directories): .git
Makefile:293: recipe for target '../../lib/axtls/README' failed
make: *** [../../lib/axtls/README] Error 128

Could I be missing other dependencies or have I overlooked something that should be obvious?

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Basic question - make axtls not compiling

Post by pythoncoder » Fri Sep 15, 2017 8:11 am

Are you aware that daily builds are available here http://micropython.org/download#esp32?
Peter Hinch
Index to my micropython libraries.

Capstan
Posts: 117
Joined: Sun Jan 29, 2017 4:03 pm
Location: Texas, USA

Re: Basic question - make axtls not compiling

Post by Capstan » Fri Sep 15, 2017 5:10 pm

philor wrote:
I've installed the listed dependencies

Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
You cloned without --recursive, fetching submodules for you.
(cd ../..; git submodule update --init --recursive)
I installed the build environment on a fresh Ubuntu machine a couple of weeks ago and it is a pain, but I did finally succeed. One reason I want to be able to do this is so that I can embed into the firmware various modules I write (called 'freezing' in the Micropython world).

Did you install the Espressif toolchain components and set your environment variables to point to it?

Did you do the recursive clone as the error message advised?

philor
Posts: 2
Joined: Fri Sep 15, 2017 1:13 am

Re: Basic question - make axtls not compiling

Post by philor » Sat Sep 16, 2017 1:14 am

Thank you Capstan for your reply.

No to both questions. I'm starting to go cold on Micropython now that I have my ESP32 board working within the Arduino IDE, although I might persist just to see if I can get Micropython working.

Post Reply