Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    mpy-cross fails to compile in mingw32

    Scheduled Pinned Locked Moved Issues & Bugs
    mpy-crossmingw32fmodeundeclared
    1 Posts 1 Posters 1.0k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X Offline
      Xykon administrators
      last edited by Xykon

      When I first started working with the esp32 I found that using the Windows toolchain/mingw32 environment from Espressif was extremely slow. As I generally prefer using Windows as my Desktop OS I had setup a remote CDT environment using my Linux server to compile & debug the firmware while using Eclipse on Windows. Unfortunately my PC died a few weeks ago and when I finally got a new one last week I tought I'd try the latest Espressif mingw32 environment again and it now seems to work just as good as the Linux one.

      However I did run into a small issue when trying to build mpy-cross in the environment. Thankfully I found that this is a known issue: https://github.com/micropython/micropython/issues/2298

      This pull request fixes the issue for me. I tested it on both Windows 10 x64 with the latest mingw32 environment published by Espressif linked above and on Ubuntu 17.04 to make sure it does not break my Linux server environment.

      I'd be happy to create a pull request for the current pycom-micropython-sigfox firmware.

      Christian Ehlers

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • 1 / 1
      • First post
        Last post

      Pycom on Twitter

      Pycom