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

    C SDK

    Scheduled Pinned Locked Moved Firmware
    gpyesp32wifi
    6 Posts 4 Posters 735 Views 4 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.
    • M Offline
      milan.joshi
      last edited by

      Hi Team,

      I have an application developed on ESP32 using standard SDK provided by Espressif.

      Now, there is need of LTE and GPy is the perfect match but keen to know regarding how to leverage my application developed in C and uses WiFi for cloud connectivity?

      Is only Python SDKs are available for Pycom modules?

      Thanks

      1 Reply Last reply Reply Quote 0
      • R Offline
        robertkeizer
        last edited by

        Currently the firmware that is supported by pycom provides a micropython interface. Without custom firmware it isn't possible for you to use C code.

        You can create a custom firmware build and expose your C program into the micropython environment, starting from the known good pycom port of the esp32 micropython system, but I would check licensing requirements on that for your use case.

        Simply put: what you're asking isn't possible with stock pycom hardware / software.

        1 Reply Last reply Reply Quote 0
        • D Offline
          danielm
          last edited by

          Why application developed in ESP-IDF would not work on Pycom boards?

          If it could it should be possible to initialize UART interface on lines connected to the LTE modem and use AT command directly.

          1 Reply Last reply Reply Quote 0
          • R Offline
            robertkeizer
            last edited by robertkeizer

            The firmware that pycom board uses contains a port of the micropython interpreter. The result is the only C code that is able to be run on the pycom boards ( without flashing custom firmware ) is the code that is written in micropython.

            EDIT: The above sentence should read "The result is the only C code that is able to be run on pycom boards ( without flashing custom firmware) is the interpreter for micropython, and related modules." When I originally wrote this I didn't read it again - I was not suggesting that it was possible to write C code in micropython.

            If you want to flash custom firmware onto the ESP32 directly it should be possible to get the LTE UArT going, although then you are responsible for all the pieces. Starting from the pycom firmware would provide a working system to build upon. I would strongly suggest that you look at the licensing of the pycom chips as well, as I think flashing custom firmware can have some implications around the GPLv3.

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              reidfo @robertkeizer
              last edited by

              @robertkeizer Could you elaborate on this a little bit? I'm not looking to run custom C code at the moment, but I'm curious what GPL implications you refer to with custom firmware.

              1 Reply Last reply Reply Quote 0
              • R Offline
                robertkeizer
                last edited by

                I'm going to let someone who actually works at pycom answer licensing related questions other than pointing you at https://pycom.io/licensing/ . Hey @Paul-Thornton .

                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