+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Member level 5
    Points: 2,128, Level: 10
    Achievements:
    7 years registered

    Join Date
    Jun 2010
    Location
    Regina, Canada
    Posts
    81
    Helped
    4 / 4
    Points
    2,128
    Level
    10

    Programming ESP-32 ESP-12

    Can we program ESP-32/ESP-12 other than Arduino compiler? like XC or some other C Programmer?

    •   AltAdvertisement

        
       

  2. #2
    Super Moderator
    Points: 30,084, Level: 42
    andre_teprom's Avatar
    Join Date
    Nov 2006
    Location
    Brazil
    Posts
    8,976
    Helped
    1137 / 1137
    Points
    30,084
    Level
    42
    Blog Entries
    9

    Re: Programming ESP-32 ESP-12

    like XC or some other C Programmer
    There is the ESP-IDF toolset available that compiles in C++, however since its is not very friendly to deal even with simple applications, it is recommended only for those who are familiar with low level of programming to interface with its hardware modules. Only in the specific case of Espressif ESP32/8266 microcontrollers, unless your application requires otherwise, I particularly recommend considering Arduino, which has currently mature libraries and even uses the above toolchain compiling in the background. As Arduino is an object-oriented language nativelly made over an RTOS, it is even possible to use resources that obviously would not be possible to implement in a bare metal C as you supposedly want.
    --------------------------------------------------------------------------------------------------
    Part of the world that you live in, You are the part that you're giving ( Renaissance )


    1 members found this post helpful.

    •   AltAdvertisement

        
       

  3. #3
    Advanced Member level 4
    Points: 8,015, Level: 21
    Achievements:
    7 years registered

    Join Date
    Jan 2015
    Posts
    1,122
    Helped
    350 / 350
    Points
    8,015
    Level
    21

    Re: Programming ESP-32 ESP-12

    What is the problem you are having with the Arduino environment?
    Have you looked at PlatformIO? however without knowing the underlying issue, it is hard to say if this will be any better.
    Susan



    •   AltAdvertisement

        
       

  4. #4
    Member level 5
    Points: 2,128, Level: 10
    Achievements:
    7 years registered

    Join Date
    Jun 2010
    Location
    Regina, Canada
    Posts
    81
    Helped
    4 / 4
    Points
    2,128
    Level
    10

    Re: Programming ESP-32 ESP-12

    Arduino does not look efficient there is lots of overhead and code debugging is really hard, I tried PlatformIO looks like need to invest lots of time to understand project setup/configurations



--[[ ]]--