Other Initial support for ESP32

Erel

B4X founder
Staff member
Licensed User
Longtime User
ESP32 is the next generation of ESP8266 chips.
It is a relatively new chip and the SDK is not very mature. There are many things that are not working yet, however it does look promising.

SS-2017-01-08_15.17.14.jpg


You need to follow these instructions: https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/boards_manager.md
Make sure that you are able to run a program (empty program is good enough) with the Arduino IDE before you try it with B4R.

I've encountered the following issues:

- Wire / I2C didn't work. Maybe a problem with the specific board that I've used.
- Network doesn't always connect.
- ServerSocket cannot accept a connection (client->available errno 9).
- EEPROM is not available.
- Pin.AnalogWrite not available.
- Client.Connected returns True although the connection has broken (this breaks rHttpUtils2).
 
Last edited:

positrom2

Active Member
Licensed User
Longtime User
Some success: I was able to run a simple code on the ESP32 (writing with astream).
However, a larger code did even not compile.
I get this error message that also randomly popped up with an ESP8266.
Without any changes in the code it worked after some trials with the ESP8266.
However, with the ESP32 on either the Sparkfun board or a genuine 32s board I can't come across this error:
B4R version: 1.80 BETA #2
Parsing code. (0.00s)
Compiling code. (0.01s)
Building project (0.02s)
Compiling & deploying Ino project (ESP32 Dev Module - COM9) Error
Konfiguration wird geladen...
Pakete werden initialisiert...
Boards werden vorbereitet...
"Adafruit_Sensor.h" enthält unbekannte Zeichen. Wenn der Code mit einer älteren Version von Arduino erstellt wurde, sollten Sie eventuell über Werkzeuge -> Kodierung korrigieren & neu laden den Sketch auf UTF-8-Kodierung aktualisieren. Wenn nicht, sollten Sie die ungültigen Zeichen manuell entfernen, um diese Warnung zu deaktivieren.
Überprüfungs- und Hochladevorgang...
WARNUNG: Bibliothek Wire behauptet auf [esp32] Architektur(en) ausgeführt werden zu können und ist möglicherweise inkompatibel mit Ihrem derzeitigen Board, welches auf [ESP32] Architektur(en) ausgeführt wird.
WARNUNG: Bibliothek SPI behauptet auf [esp32] Architektur(en) ausgeführt werden zu können und ist möglicherweise inkompatibel mit Ihrem derzeitigen Board, welches auf [ESP32] Architektur(en) ausgeführt wird.
sketch\Adafruit_SSD1306.cpp:28:25: fatal error: util/delay.h: No such file or directory
#include <util/delay.h>
^
compilation terminated.
exit status 1
Fehler beim Kompilieren für das Board ESP32 Dev Module.
B4X:
#Region Project Attributes
   #AutoFlushLogs: True
   #StackBufferSize: 1200
#End Region
Sub Process_Globals
    Public Serial1 As Serial
    Private bmp As Adafruit_BMP280
    Private ssd As AdafruitSSD1306
'    Private d1pins As D1Pins
    Private  k=0,rmax,rmin As Int,l As Int
    Private tmr As Timer
    Private p(128),p_gl(128),py,maxx,minn,c1,c2,maxx_old,minn_old As Double
End Sub

Private Sub AppStart
    Serial1.Initialize(115200)
    Log("AppStart")
    ssd.InitializeI2C(12, 0x3c)
    bmp.Initialize
    If bmp.Initialize Then
        Log("Successful")
    Else
        Log("not")
    End If
    ssd.ClearDisplay
    ssd.Display
    ssd.ClearDisplay
    tmr.Initialize("tmr_Tick",150)
    tmr.Enabled = True
    Log(StackBufferUsage,"-----------")
    maxx=0
    minn=2e6

End Sub
Sub write_max_min
    ssd.GFX.SetCursor(55, 0)
    ssd.GFX.DrawRect(55,0,80,10,ssd.BLACK,True)
    ssd.GFX.ConfigureText(1, ssd.WHITE, False)
    ssd.GFX.DrawText(NumberFormat(Round(maxx/100), 4, 0))
    ssd.GFX.SetCursor(55, 53)
    ssd.GFX.DrawRect(55,53,80,63,ssd.BLACK,True)
'    ssd.GFX.ConfigureText(1, ssd.WHITE, False)
    ssd.GFX.DrawText(NumberFormat(minn/100, 4, 0))
    'ssd.ClearDisplay
    ssd.Display
End Sub
Private Sub tmr_Tick
    p(k)=k*1e3-l*1e2
'    Log(k," ",p(k))
    'p(k)=bmp.ReadPressure'ReadTemperature
    k=k+1
    If k = 128  Then'ssd.GFX.Width
        k= 0
        l=l+1
        glatten
        normalize
        plott
        write_max_min
'        ssd.INVERSE
    End If
End Sub
Sub glatten
    For i=0 To 4
        p_gl(i)=p(i)
    Next
    For i=124 To 127
        p_gl(i)=p(i)
    Next
    Dim acc As Long
    For I1 = 0 To 4                                          '5 Pkte                                   '17
        acc = acc + p(I1)
    Next
    p_gl(2) = acc / 5                              ' 17 Pkte
    For I1 = 3 To 125                                        '5 Pkte
        acc = acc + p(I1 + 2)-p(I1 -3)
        p_gl(I1) = acc / 5                          ' / 5
    Next
End Sub
Sub plott
    ssd.cleardisplay'GFX.DrawRect(0,0,127,63,ssd.BLACK,True)
    For i=0 To 127
        py=p_gl(i)*c1+c2
        'Log("I=",i," p=",p(i)," py=",py)
        If py>16 Then py=py-1
        ssd.GFX.DrawCircle(i,py, 0, ssd.WHITE, True)
       
    Next
'    ssd.GFX.DrawCircle(4,4, 4, ssd.WHITE, True)
'    ssd.GFX.DrawCircle(120,58, 4, ssd.WHITE, False)
    ssd.Display
End Sub
Sub normalize
    '    Log("L=",l)
    rmax=63
    rmin=0'y-achse
    maxx_old=maxx
    minn_old=minn
    '    Log("L=",l," MAXX_old=",maxx_old," minn_old=",minn_old)
    For i=2 To 125
        '            Log(i," ",p(i))
        If p_gl(i)>maxx Then maxx=p_gl(i)
        If p_gl(i)<minn Then minn=p_gl(i)
    Next
    '    Log("maxx=",maxx," minn=",minn)
    If maxx_old>maxx Then maxx=maxx_old
    If minn_old<minn Then minn=minn_old
    Log(maxx,";",minn)
    c1=(rmax-rmin)/(maxx-minn)
    '    Log("c1=",c1)
    c2=(rmin*maxx-rmax*minn)/(maxx-minn)
End Sub
 
Upvote 0

positrom2

Active Member
Licensed User
Longtime User
As I said, this works with the ESP8266 so I conclude the error is unrelated to the error message!!
Only occasionally I got that error with the '8266, sometimes it was apparently related to a wrong com-port setting or too high speed -or whatever.
With the ESP32 I have no success at all for that code (the simple one worked at once).
 
Last edited:
Upvote 0

positrom2

Active Member
Licensed User
Longtime User
Update#3: After a lot of trials:
There is a recent Adafruit_SSD1306 library that includes the ESP32 (seen inside the .cpp file).
When copying the cpp and .h files to the B4R Libraries folder, a lot of errors pops up upon compiling.
So it appears to me that the B4R library needs to be updated.
 
Last edited:
Upvote 0

positrom2

Active Member
Licensed User
Longtime User
The Arduino the ssd1306_128x64_i2c example compiles.
With B4R I get this error message:
B4R version: 1.80 BETA #2
Parsing code. (0.00s)
Compiling code. (0.01s)
Building project (0.11s)
Compiling & deploying Ino project (ESP32 Dev Module - COM9) Error
Konfiguration wird geladen...
Pakete werden initialisiert...
Boards werden vorbereitet...
Überprüfungsvorgang...
WARNUNG: Bibliothek Wire behauptet auf [esp32] Architektur(en) ausgeführt werden zu können und ist möglicherweise inkompatibel mit Ihrem derzeitigen Board, welches auf [ESP32] Architektur(en) ausgeführt wird.
WARNUNG: Bibliothek SPI behauptet auf [esp32] Architektur(en) ausgeführt werden zu können und ist möglicherweise inkompatibel mit Ihrem derzeitigen Board, welches auf [ESP32] Architektur(en) ausgeführt wird.
sketch\Adafruit_SSD1306.cpp: In member function 'void Adafruit_SSD1306::begin(uint8_t, uint8_t, bool)':
Adafruit_SSD1306.cpp:178: error: cannot convert 'volatile uint32_t* {aka volatile unsigned int*}' to 'PortReg* {aka volatile unsigned char*}' in assignment
csport = portOutputRegister(digitalPinToPort(cs));
^
Adafruit_SSD1306.cpp:180: error: cannot convert 'volatile uint32_t* {aka volatile unsigned int*}' to 'PortReg* {aka volatile unsigned char*}' in assignment
dcport = portOutputRegister(digitalPinToPort(dc));
^
Adafruit_SSD1306.cpp:188: error: cannot convert 'volatile uint32_t* {aka volatile unsigned int*}' to 'PortReg* {aka volatile unsigned char*}' in assignment
clkport = portOutputRegister(digitalPinToPort(sclk));
^
Adafruit_SSD1306.cpp:190: error: cannot convert 'volatile uint32_t* {aka volatile unsigned int*}' to 'PortReg* {aka volatile unsigned char*}' in assignment
mosiport = portOutputRegister(digitalPinToPort(sid));
^
exit status 1
 
Upvote 0

positrom2

Active Member
Licensed User
Longtime User
Update: Successfully uploaded the Arduino SSD1306 example to the Sparkfun ESP32 board.
Does it work on the ESP32?
Of course
(compiles without error, did not check uploading since oled is hooked up to an nodemcu).
 
Last edited:
Upvote 0

rwblinn

Well-Known Member
Licensed User
Longtime User
After (finally) receiving a ESP32, sharing first experience using B4R 1.8 BETA #2
#Kit used
The ESP32-DevKitC is a small-sized ESP32-based development board produced by Espressif.
Model: ESP32-DEVKITC Core Board V2 Espressif including genuine ESP-WROOM-32
Development PC (old) Toshiba Notebook Satellite with Windows Vista.

#Get Started
Followed strict the instructions as described: https://github.com/espressif/arduino-esp32/blob/master/doc/windows.md
If there are issues with step 5, then
* copy xtensa-esp32-elf-win32-VERSION.zip to folder <users>\documents\Arduino\hardware\espressif\esp32\tools\dist. The version used 1.22.0-59.
* cd ~/Documents/Arduino/hardware/espressif/esp32/tools/
* python get.py

To test the setup OK, start the Arduino IDE 1.8.0 (or higher), select File > examples > Examples for the ESP32 Dev Module > WiFiScan and compile & run.
If running OK (which did), close the Arduino IDE and start B4R IDE.

#B4R 1.8 IDE
After connecting the ESP32, determine the COM Port.
Tools > Board Selector
Board: ESP32 Dev Module
Serial Port: COM12 Silicon Labs CP210x USB to UART Bridge - Note: COM port depends on system setup

#Flashing
For the ESP32-DevKitC, to flash programs from development environments, like Arduino IDE or B4R 1.8.0 (or higher).
Example B4R IDE:
* Pin IO0 (= GPIO0) to Ground
* Compile and upload. Wait till message "waiting for download" in the B4R IDE Log Tab appears.
* Pin IO0 (= GPIO0) NOT to Ground
* Press BOOT button and hold down
* Press EN button (enable) and hold down
* Release BOOT button
* Release EN button

If all goes well, the B4R IDE Log shows, like (using simple LED Blink program):
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x3
(DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) flash read err, 1000 Falling back to built-in command interpreter.
OK
>ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3ffc0008,len:4
load:0x3ffc000c,len:1708
load:0x40078000,len:3124
load:0x40080000,len:256
entry 0x40080034
AppStart - LED Pin 2 blink every 2 seconds
CurrentState: 0
NewState: 1
CurrentState: 1
...

#Issues
After the simple LED blink example, did not came any further as errors occurred as described in Post #1.
  • Tests not working, e.g. BMP180 = error network connection, after unplugging the BMP180, network got connected),
  • LED control via B4RSerialconnection = error WiFiClient.cpp:196 available(): 9
Will stop further testing for now, till any updates available.
Question:

Beside B4R Beta updates, not clear how the ESP32 files (as installed following the instructions) will be updated.
 
Upvote 0

positrom2

Active Member
Licensed User
Longtime User
I'm getting errors when I try to compile this example with Arduino IDE. Using the latest versions of these libraries.
I will leave it open for now.
Hm. Could you post the error message?
Here is my compilation protocoll:
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Meister\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Meister\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries D:\Program Files (x86)\Arduino\libraries -fqbn=espressif:ESP32:esp32:FlashFreq=80,UploadSpeed=256000 -ide-version=10800 -build-path D:\B4R\Objects\bin -warnings=none -prefs=build.warn_data_percentage=75 -verbose D:\Program Files (x86)\Arduino\libraries\Adafruit_SSD1306\examples\ssd1306_128x64_i2c\ssd1306_128x64_i2c.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Meister\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Meister\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries D:\Program Files (x86)\Arduino\libraries -fqbn=espressif:ESP32:esp32:FlashFreq=80,UploadSpeed=256000 -ide-version=10800 -build-path D:\B4R\Objects\bin -warnings=none -prefs=build.warn_data_percentage=75 -verbose D:\Program Files (x86)\Arduino\libraries\Adafruit_SSD1306\examples\ssd1306_128x64_i2c\ssd1306_128x64_i2c.ino
Using board 'esp32' from platform in folder: C:\Program Files (x86)\Arduino\hardware\espressif\ESP32
Using core 'esp32' from platform in folder: C:\Program Files (x86)\Arduino\hardware\espressif\ESP32
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"' -DHAVE_CONFIG_H "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/config" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/bt" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/driver" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/ethernet" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/freertos" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/log" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/vfs" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/ulp" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/newlib" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/nvs_flash" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/spi_flash" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/openssl" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/app_update" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/tcpip_adapter" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/xtensa-debug-module" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/wpa_supplicant" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/expat" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/json" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/mbedtls" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/nghttp" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/lwip" -std=gnu++11 -fno-exceptions -fno-rtti -Os -g3 -Wpointer-arith -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10800 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 -DESP32 "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\cores\esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\variants\esp32" "D:\B4R\Objects\bin\sketch\ssd1306_128x64_i2c.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"' -DHAVE_CONFIG_H "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/config" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/bt" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/driver" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/ethernet" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/freertos" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/log" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/vfs" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/ulp" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/newlib" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/nvs_flash" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/spi_flash" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/openssl" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/app_update" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/tcpip_adapter" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/xtensa-debug-module" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/wpa_supplicant" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/expat" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/json" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/mbedtls" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/nghttp" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/lwip" -std=gnu++11 -fno-exceptions -fno-rtti -Os -g3 -Wpointer-arith -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10800 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 -DESP32 "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\cores\esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\variants\esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\libraries\SPI\src" "D:\B4R\Objects\bin\sketch\ssd1306_128x64_i2c.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"' -DHAVE_CONFIG_H "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/config" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/bt" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/driver" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/ethernet" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/freertos" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/log" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/vfs" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/ulp" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/newlib" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/nvs_flash" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/spi_flash" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/openssl" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/app_update" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/tcpip_adapter" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/xtensa-debug-module" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/wpa_supplicant" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/expat" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/json" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/mbedtls" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/nghttp" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/lwip" -std=gnu++11 -fno-exceptions -fno-rtti -Os -g3 -Wpointer-arith -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10800 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 -DESP32 "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\cores\esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\variants\esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\libraries\Wire\src" "D:\B4R\Objects\bin\sketch\ssd1306_128x64_i2c.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"' -DHAVE_CONFIG_H "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/config" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/bt" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/driver" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/ethernet" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/freertos" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/log" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/vfs" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/ulp" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/newlib" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/nvs_flash" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/spi_flash" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/openssl" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/app_update" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/tcpip_adapter" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/xtensa-debug-module" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/wpa_supplicant" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/expat" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/json" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/mbedtls" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/nghttp" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/lwip" -std=gnu++11 -fno-exceptions -fno-rtti -Os -g3 -Wpointer-arith -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10800 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 -DESP32 "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\cores\esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\variants\esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\libraries\Wire\src" "-ID:\Program Files (x86)\Arduino\libraries\Adafruit_GFX_Library" "D:\B4R\Objects\bin\sketch\ssd1306_128x64_i2c.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"' -DHAVE_CONFIG_H "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/config" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/bt" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/driver" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/ethernet" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/freertos" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/log" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/vfs" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/ulp" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/newlib" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/nvs_flash" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/spi_flash" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/openssl" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/app_update" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/tcpip_adapter" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/xtensa-debug-module" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/wpa_supplicant" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/expat" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/json" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/mbedtls" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/nghttp" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/lwip" -std=gnu++11 -fno-exceptions -fno-rtti -Os -g3 -Wpointer-arith -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10800 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 -DESP32 "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\cores\esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\variants\esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\libraries\Wire\src" "-ID:\Program Files (x86)\Arduino\libraries\Adafruit_GFX_Library" "-ID:\Program Files (x86)\Arduino\libraries\Adafruit_SSD1306" "D:\B4R\Objects\bin\sketch\ssd1306_128x64_i2c.ino.cpp" -o "nul"
Using cached library dependencies for file: C:\Program Files (x86)\Arduino\hardware\espressif\ESP32\libraries\SPI\src\SPI.cpp
Using cached library dependencies for file: C:\Program Files (x86)\Arduino\hardware\espressif\ESP32\libraries\Wire\src\Wire.cpp
Using cached library dependencies for file: D:\Program Files (x86)\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp
Using cached library dependencies for file: D:\Program Files (x86)\Arduino\libraries\Adafruit_GFX_Library\glcdfont.c
Using cached library dependencies for file: D:\Program Files (x86)\Arduino\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp
WARNUNG: Bibliothek SPI behauptet auf [esp32] Architektur(en) ausgeführt werden zu können und ist möglicherweise inkompatibel mit Ihrem derzeitigen Board, welches auf [ESP32] Architektur(en) ausgeführt wird.
WARNUNG: Bibliothek Wire behauptet auf [esp32] Architektur(en) ausgeführt werden zu können und ist möglicherweise inkompatibel mit Ihrem derzeitigen Board, welches auf [ESP32] Architektur(en) ausgeführt wird.
Generating function prototypes...
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"' -DHAVE_CONFIG_H "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/config" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/bt" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/driver" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/ethernet" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/freertos" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/log" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/vfs" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/ulp" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/newlib" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/nvs_flash" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/spi_flash" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/openssl" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/app_update" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/tcpip_adapter" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/xtensa-debug-module" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/wpa_supplicant" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/expat" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/json" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/mbedtls" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/nghttp" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/lwip" -std=gnu++11 -fno-exceptions -fno-rtti -Os -g3 -Wpointer-arith -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10800 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 -DESP32 "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\cores\esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\variants\esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\libraries\Wire\src" "-ID:\Program Files (x86)\Arduino\libraries\Adafruit_GFX_Library" "-ID:\Program Files (x86)\Arduino\libraries\Adafruit_SSD1306" "D:\B4R\Objects\bin\sketch\ssd1306_128x64_i2c.ino.cpp" -o "D:\B4R\Objects\bin\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "D:\B4R\Objects\bin\preproc\ctags_target_for_gcc_minus_e.cpp"
Sketch wird kompiliert...
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"' -DHAVE_CONFIG_H "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/config" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/bt" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/driver" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/ethernet" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/freertos" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/log" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/vfs" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/ulp" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/newlib" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/nvs_flash" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/spi_flash" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/openssl" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/app_update" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/tcpip_adapter" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/xtensa-debug-module" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/wpa_supplicant" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/expat" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/json" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/mbedtls" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/nghttp" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/include/lwip" -std=gnu++11 -fno-exceptions -fno-rtti -Os -g3 -Wpointer-arith -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -fno-rtti -MMD -c -DF_CPU=240000000L -DARDUINO=10800 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 -DESP32 "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\cores\esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\variants\esp32" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\hardware\espressif\ESP32\libraries\Wire\src" "-ID:\Program Files (x86)\Arduino\libraries\Adafruit_GFX_Library" "-ID:\Program Files (x86)\Arduino\libraries\Adafruit_SSD1306" "D:\B4R\Objects\bin\sketch\ssd1306_128x64_i2c.ino.cpp" -o "D:\B4R\Objects\bin\sketch\ssd1306_128x64_i2c.ino.cpp.o"
Compiling libraries...
Compiling library "SPI"
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\libraries\SPI\SPI.cpp.o
Compiling library "Wire"
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\libraries\Wire\Wire.cpp.o
Compiling library "Adafruit_GFX_Library"
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\libraries\Adafruit_GFX_Library\glcdfont.c.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp.o
Compiling library "Adafruit_SSD1306"
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp.o
Compiling core...
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\esp32-hal-adc.c.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\esp32-hal-dac.c.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\esp32-hal-gpio.c.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\esp32-hal-i2c.c.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\esp32-hal-ledc.c.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\esp32-hal-matrix.c.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\esp32-hal-misc.c.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\esp32-hal-sd.c.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\esp32-hal-spi.c.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\esp32-hal-timer.c.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\esp32-hal-touch.c.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\esp32-hal-uart.c.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\stdlib_noniso.c.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\wiring_shift.c.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\libb64\cdecode.c.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\libb64\cencode.c.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\Esp.cpp.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\HardwareSerial.cpp.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\IPAddress.cpp.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\IPv6Address.cpp.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\MD5Builder.cpp.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\Print.cpp.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\Stream.cpp.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\StreamString.cpp.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\WMath.cpp.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\WString.cpp.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\base64.cpp.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\cbuf.cpp.o
Zuvor kompilierte Datei wird verwendet: D:\B4R\Objects\bin\core\main.cpp.o
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\esp32-hal-adc.c.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\esp32-hal-dac.c.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\esp32-hal-gpio.c.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\esp32-hal-i2c.c.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\esp32-hal-ledc.c.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\esp32-hal-matrix.c.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\esp32-hal-misc.c.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\esp32-hal-sd.c.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\esp32-hal-spi.c.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\esp32-hal-timer.c.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\esp32-hal-touch.c.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\esp32-hal-uart.c.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\stdlib_noniso.c.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\wiring_shift.c.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\libb64\cdecode.c.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\libb64\cencode.c.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\Esp.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\HardwareSerial.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\IPAddress.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\IPv6Address.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\MD5Builder.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\Print.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\Stream.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\StreamString.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\WMath.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\WString.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\base64.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\cbuf.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-ar" cru "D:\B4R\Objects\bin/arduino.ar" "D:\B4R\Objects\bin\core\main.cpp.o"
Linking everything together...
"C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc" -nostdlib "-LC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/lib" "-LC:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/sdk/ld" -T esp32_out.ld -T esp32.common.ld -T esp32.rom.ld -T esp32.peripherals.ld -u call_user_start_cpu0 -Wl,--gc-sections -Wl,-static -Wl,--undefined=uxTopUsedPriority -Wl,--start-group "D:\B4R\Objects\bin\sketch\ssd1306_128x64_i2c.ino.cpp.o" "D:\B4R\Objects\bin\libraries\SPI\SPI.cpp.o" "D:\B4R\Objects\bin\libraries\Wire\Wire.cpp.o" "D:\B4R\Objects\bin\libraries\Adafruit_GFX_Library\glcdfont.c.o" "D:\B4R\Objects\bin\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp.o" "D:\B4R\Objects\bin\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp.o" "D:\B4R\Objects\bin/arduino.ar" -lapp_update -lbootloader_support -lbt -lbtdm_app -lc -lc_nano -lcoexist -lcore -ldriver -lesp32 -lethernet -lexpat -lfreertos -lhal -ljson -llog -llwip -lm -lmbedtls -lmicro-ecc -lnet80211 -lnewlib -lnghttp -lnvs_flash -lopenssl -lphy -lpp -lrtc -lsmartconfig -lspi_flash -ltcpip_adapter -lulp -lvfs -lwpa -lwpa2 -lwpa_supplicant -lwps -lxtensa-debug-module -lgcc -Wl,--end-group -Wl,-EL -o "D:\B4R\Objects\bin/ssd1306_128x64_i2c.ino.elf"
"python.exe" "C:\Program Files (x86)\Arduino\hardware\espressif\ESP32/tools/esptool.py" --chip esp32 elf2image --flash_mode "dio" --flash_freq "80m" --flash_size "4MB" -o "D:\B4R\Objects\bin/ssd1306_128x64_i2c.ino.bin" "D:\B4R\Objects\bin/ssd1306_128x64_i2c.ino.elf"
esptool.py v2.0-dev

Bibliothek SPI in Version 1.0 im Ordner: C:\Program Files (x86)\Arduino\hardware\espressif\ESP32\libraries\SPI wird verwendet
Bibliothek Wire in Version 1.0 im Ordner: C:\Program Files (x86)\Arduino\hardware\espressif\ESP32\libraries\Wire wird verwendet
Bibliothek Adafruit_GFX_Library in Version 1.1.5 im Ordner: D:\Program Files (x86)\Arduino\libraries\Adafruit_GFX_Library wird verwendet
Bibliothek Adafruit_SSD1306 in Version 1.1.2 im Ordner: D:\Program Files (x86)\Arduino\libraries\Adafruit_SSD1306 wird verwendet
Der Sketch verwendet 159827 Bytes (15%) des Programmspeicherplatzes. Das Maximum sind 1044464 Bytes.
Globale Variablen verwenden 10976 Bytes (3%) des dynamischen Speichers, 283936 Bytes für lokale Variablen verbleiben. Das Maximum sind 294912 Bytes.
 
Upvote 0

positrom2

Active Member
Licensed User
Longtime User
I had posted my compilation protocoll in the previous message (via edit).
I see that Arduino15\packages is involved in yours and my test.
The Arduino15 is a strange folder. Occasionally, when things went wrong, I had to delete that folder. It will be cleanly rebuilt, but the preferences have to be reentered.
 
Upvote 0

rwblinn

Well-Known Member
Licensed User
Longtime User
Thanks All - Have looked at the python script get.py (esp32\tools folder) used for step #5, which downloads and upzips the latest package as defined in the json package file. With that, indeed two options by either copy as mentioned post #18 or run python get.py from the esp32\tools folder (part of step #5).

Looking forward to the upcoming - according to here most of the framework is done - have not seen a timeline yet for completion, so wait and see.
 
Upvote 0

positrom2

Active Member
Licensed User
Longtime User
Getting this error message with rAdafruitGFX v. 1.01:
From the Arduino IDE it still works. Could it be that B4R looks in different locations than Arduino IDE?

What does this mean for the path: "sketch\Adafruit_SSD1306.cpp: In ..." in the error message?

The Arduino OLED example did not compile lastly in your system. Has that been fixed with the new GFX lib?
B4R version: 1.80 BETA #2
Parsing code. (0.00s)
Compiling code. (0.01s)
Building project (0.02s)
Compiling & deploying Ino project (ESP32 Dev Module - COM9) Error
Konfiguration wird geladen...
Pakete werden initialisiert...
Boards werden vorbereitet...
Überprüfungsvorgang...
WARNUNG: Bibliothek Wire behauptet auf [esp32] Architektur(en) ausgeführt werden zu können und ist möglicherweise inkompatibel mit Ihrem derzeitigen Board, welches auf [ESP32] Architektur(en) ausgeführt wird.
WARNUNG: Bibliothek SPI behauptet auf [esp32] Architektur(en) ausgeführt werden zu können und ist möglicherweise inkompatibel mit Ihrem derzeitigen Board, welches auf [ESP32] Architektur(en) ausgeführt wird.
sketch\Adafruit_SSD1306.cpp: In member function 'void Adafruit_SSD1306::begin(uint8_t, uint8_t, bool)':
Adafruit_SSD1306.cpp:178: error: cannot convert 'volatile uint32_t* {aka volatile unsigned int*}' to 'PortReg* {aka volatile unsigned char*}' in assignment
csport = portOutputRegister(digitalPinToPort(cs));
^
Adafruit_SSD1306.cpp:180: error: cannot convert 'volatile uint32_t* {aka volatile unsigned int*}' to 'PortReg* {aka volatile unsigned char*}' in assignment
dcport = portOutputRegister(digitalPinToPort(dc));
^
Adafruit_SSD1306.cpp:188: error: cannot convert 'volatile uint32_t* {aka volatile unsigned int*}' to 'PortReg* {aka volatile unsigned char*}' in assignment
clkport = portOutputRegister(digitalPinToPort(sclk));
^
Adafruit_SSD1306.cpp:190: error: cannot convert 'volatile uint32_t* {aka volatile unsigned int*}' to 'PortReg* {aka volatile unsigned char*}' in assignment
mosiport = portOutputRegister(digitalPinToPort(sid));
^
exit status 1
 
Upvote 0
Top