Bug 252631

Summary: devel/arduino18: arduino-builder not recognize other hardware library
Product: Ports & Packages Reporter: Raffeale <dcp2k>
Component: Individual Port(s)Assignee: Kyle Evans <kevans>
Status: New ---    
Severity: Affects Only Me CC: kevans, tomek
Priority: --- Flags: linimon: maintainer-feedback? (kevans)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
this is a patch file for freebsd arduino-builder none

Description Raffeale 2021-01-13 05:45:45 UTC
hi , i use add esp32 board into arduino , it can compile and update very well, 
but when i include some library file , it can't compile ,it said that the xxxx.h file not found , can you update the arduion-uilder to the newest version to fix it.
it think that this is arduino-builder bug, it can't recongnize the library.

it i change the board to avr board , it can compile with a library

following message is the compile infornation

/usr/local/arduino/arduino-builder -dump-prefs -logger=machine -hardware /usr/local/arduino/hardware -tools /usr/local/arduino/tools-builder -built-in-libraries /usr/local/arduino/libraries -libraries /home/raffeale/Arduino/libraries -fqbn=esp32:1.0.4:esp32:PSRAM=disabled,PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none -ide-version=10805 -build-path /tmp/arduino_build_867568 -warnings=none -build-cache /tmp/arduino_cache_233404 -prefs=build.warn_data_percentage=75 -verbose /usr/local/arduino/hardware/esp32/1.0.4/libraries/ESPmDNS/examples/mDNS_Web_Server/mDNS_Web_Server.ino
/usr/local/arduino/arduino-builder -compile -logger=machine -hardware /usr/local/arduino/hardware -tools /usr/local/arduino/tools-builder -built-in-libraries /usr/local/arduino/libraries -libraries /home/raffeale/Arduino/libraries -fqbn=esp32:1.0.4:esp32:PSRAM=disabled,PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none -ide-version=10805 -build-path /tmp/arduino_build_867568 -warnings=none -build-cache /tmp/arduino_cache_233404 -prefs=build.warn_data_percentage=75 -verbose /usr/local/arduino/hardware/esp32/1.0.4/libraries/ESPmDNS/examples/mDNS_Web_Server/mDNS_Web_Server.ino
Using board 'esp32' from platform in folder: /usr/local/arduino/hardware/esp32/1.0.4
Using core 'esp32' from platform in folder: /usr/local/arduino/hardware/esp32/1.0.4
Build options changed, rebuilding all
bash -c "[ ! -f /usr/local/arduino/hardware/esp32/1.0.4/libraries/ESPmDNS/examples/mDNS_Web_Server/partitions.csv ] || cp -f /usr/local/arduino/hardware/esp32/1.0.4/libraries/ESPmDNS/examples/mDNS_Web_Server/partitions.csv /tmp/arduino_build_867568/partitions.csv"
bash -c "[ -f /tmp/arduino_build_867568/partitions.csv ] || cp /usr/local/arduino/hardware/esp32/1.0.4/tools/partitions/default.csv /tmp/arduino_build_867568/partitions.csv"
Detecting libraries used...
"/usr/local/arduino/hardware/esp32/1.0.4/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/config" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/app_trace" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/app_update" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/asio" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/bootloader_support" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/bt" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/coap" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/console" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/driver" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/efuse" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp-tls" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp32" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp_adc_cal" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp_event" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp_http_client" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp_http_server" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp_https_ota" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp_https_server" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp_ringbuf" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp_websocket_client" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/espcoredump" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/ethernet" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/expat" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/fatfs" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/freemodbus" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/freertos" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/heap" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/idf_test" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/jsmn" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/json" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/libsodium" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/log" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/lwip" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/mbedtls" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/mdns" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/micro-ecc" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/mqtt" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/newlib" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/nghttp" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/nimble" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/nvs_flash" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/openssl" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/protobuf-c" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/protocomm" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/pthread" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/sdmmc" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/smartconfig_ack" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/soc" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/spi_flash" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/spiffs" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/tcp_transport" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/tcpip_adapter" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/ulp" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/unity" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/vfs" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/wear_levelling" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/wifi_provisioning" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/wpa_supplicant" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/xtensa-debug-module" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp-face" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp32-camera" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp-face" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/fb_gfx" -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti  -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10805 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_1.0.4 -DARDUINO_BOARD="ESP32_DEV" -DARDUINO_VARIANT="esp32"  -DESP32 -DCORE_DEBUG_LEVEL=0  "-I/usr/local/arduino/hardware/esp32/1.0.4/cores/esp32" "-I/usr/local/arduino/hardware/esp32/1.0.4/variants/esp32" "/tmp/arduino_build_867568/sketch/mDNS_Web_Server.ino.cpp" -o "/dev/null"
"/usr/local/arduino/hardware/esp32/1.0.4/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/config" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/app_trace" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/app_update" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/asio" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/bootloader_support" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/bt" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/coap" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/console" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/driver" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/efuse" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp-tls" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp32" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp_adc_cal" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp_event" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp_http_client" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp_http_server" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp_https_ota" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp_https_server" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp_ringbuf" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp_websocket_client" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/espcoredump" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/ethernet" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/expat" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/fatfs" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/freemodbus" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/freertos" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/heap" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/idf_test" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/jsmn" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/json" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/libsodium" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/log" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/lwip" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/mbedtls" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/mdns" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/micro-ecc" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/mqtt" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/newlib" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/nghttp" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/nimble" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/nvs_flash" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/openssl" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/protobuf-c" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/protocomm" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/pthread" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/sdmmc" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/smartconfig_ack" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/soc" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/spi_flash" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/spiffs" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/tcp_transport" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/tcpip_adapter" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/ulp" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/unity" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/vfs" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/wear_levelling" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/wifi_provisioning" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/wpa_supplicant" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/xtensa-debug-module" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp-face" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp32-camera" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/esp-face" "-I/usr/local/arduino/hardware/esp32/1.0.4/tools/sdk/include/fb_gfx" -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti  -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10805 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_1.0.4 -DARDUINO_BOARD="ESP32_DEV" -DARDUINO_VARIANT="esp32"  -DESP32 -DCORE_DEBUG_LEVEL=0  "-I/usr/local/arduino/hardware/esp32/1.0.4/cores/esp32" "-I/usr/local/arduino/hardware/esp32/1.0.4/variants/esp32" "/tmp/arduino_build_867568/sketch/mDNS_Web_Server.ino.cpp" -o "/tmp/arduino_build_867568/preproc/ctags_target_for_gcc_minus_e.cpp"
/usr/local/arduino/hardware/esp32/1.0.4/libraries/ESPmDNS/examples/mDNS_Web_Server/mDNS_Web_Server.ino:19:24: fatal error: WiFi/WiFi.h": No such file or directory
compilation terminated.
exit status 1
Error compiling for board ESP32 Dev Module.
Comment 1 Kyle Evans freebsd_committer 2021-01-13 06:13:28 UTC
Hi,

Where is WiFi.h located?
Comment 2 Raffeale 2021-01-13 15:51:08 UTC
Created attachment 221532 [details]
this is a patch file for freebsd arduino-builder
Comment 3 Raffeale 2021-01-13 15:53:23 UTC
i have resolved it ,the problem is the arduino-builder create file in /dev/null and failed , i have made a patch ,just put patch file into /usr/ports/devel/arduino-builder/files  and recompile arduino-builder from port.
Comment 4 Kyle Evans freebsd_committer 2021-01-13 15:54:42 UTC
(In reply to Raffeale from comment #3)

Hi,

I'm afraid it looks like the file you've attached is just an instruction that you have a patch. Can you upload the patch in question as well, please? :-)
Comment 5 Raffeale 2021-01-13 15:59:07 UTC
(In reply to Kyle Evans from comment #4)

what's kind of file you need?
Comment 6 Raffeale 2021-01-13 15:59:58 UTC
(In reply to Kyle Evans from comment #1)
 WiFi.h is a library in esp32
Comment 7 Kyle Evans freebsd_committer 2021-01-13 16:00:10 UTC
(In reply to Raffeale from comment #5)

Preferably a patch, since this is what the file you've uploaded contains: https://bz-attachments.freebsd.org/attachment.cgi?id=221532
Comment 8 Raffeale 2021-01-13 16:05:42 UTC
--- src/arduino.cc/builder/utils/utils.go.orig  2021-01-13 22:48:24.097459000 +0800
+++ src/arduino.cc/builder/utils/utils.go       2021-01-13 22:49:18.264758000 +0800
@@ -404,7 +404,7 @@ func NULLFile() string {
        if runtime.GOOS == "windows" {
                return "nul"
        }
-       return "/dev/null"
+       return "/tmp/null"
 }
 
 func MD5Sum(data []byte) string {


patch code is above
Comment 9 Raffeale 2021-01-13 16:10:59 UTC
(In reply to Kyle Evans from comment #7)
im sorry , maybe my network is not good! so i put the patch code in a comment!
Comment 10 Kyle Evans freebsd_committer 2021-01-13 16:15:17 UTC
Yup, received, thanks! I'll need to look into this a little bit more -- that patch helping implies that something else has gone terribly wrong here.
Comment 11 Tomasz "CeDeROM" CEDRO 2021-02-09 13:36:35 UTC
Hello world :-)

Thanks to  Kyle Evans for the port and to Raffeale for this tutorial on using Arduino18 with ESP32:

https://forums.freebsd.org/threads/a-guide-for-installing-esp32-board-for-arduino-on-freebsd12.78408/

My build ends up with:
Linking everything together...
"/usr/local/arduino/hardware/espressif/esp32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc" -nostdlib "-L/usr/local/arduino/hardware/espressif/esp32/tools/sdk/lib" "-L/usr/local/arduino/hardware/espressif/esp32/tools/sdk/ld" -T esp32_out.ld -T esp32.project.ld -T esp32.rom.ld -T esp32.peripherals.ld -T esp32.rom.libgcc.ld -T esp32.rom.spiram_incompatible_fns.ld -u ld_include_panic_highint_hdl -u call_user_start_cpu0 -Wl,--gc-sections -Wl,-static -Wl,--undefined=uxTopUsedPriority  -u __cxa_guard_dummy -u __cxx_fatal_exception   -Wl,--start-group "/tmp/arduino_build_54872/sketch/sketch_feb09a.ino.cpp.o" "/tmp/arduino_build_54872/core/core.a" -lgcc -lesp32-camera -lpe -lfatfs -lesp-tls -lnet80211 -lsoc -lwpa_supplicant -lapp_update -ldetection -lmicro-ecc -lesp_adc_cal -ltcpip_adapter -lapp_trace -lwear_levelling -lcoap -lesp32 -lcore -lesp_ringbuf -llibsodium -lsmartconfig -lprotobuf-c -lxtensa-debug-module -limage_util -lnewlib -lunity -lm -lcoexist -lface_detection -ljson -lcxx -lesp_websocket_client -lwpa2 -ltcp_transport -lulp -lesp_event -lesp_http_server -lmqtt -lhal -lmbedtls -lfreertos -lwps -lnghttp -lface_recognition -lethernet -lbootloader_support -ldetection_cat_face -lespcoredump -lnvs_flash -lfr -lphy -lopenssl -ljsmn -lpp -llwip -lwifi_provisioning -llog -lespnow -lc_nano -lvfs -lesp_https_server -lmdns -lbtdm_app -lfreemodbus -lsmartconfig_ack -lfd -lasio -lfb_gfx -lsdmmc -lrtc -lpthread -lconsole -lmesh -lc -lesp_http_client -lspiffs -lprotocomm -lesp_https_ota -lwpa -ldriver -lbt -lspi_flash -lexpat -lheap -ldl -lefuse -lod  -lstdc++ -Wl,--end-group -Wl,-EL -o "/tmp/arduino_build_54872/sketch_feb09a.ino.elf"
"/usr/local/arduino/hardware/espressif/esp32/tools/esptool/esptool" --chip esp32 elf2image --flash_mode "dio" --flash_freq "80m" --flash_size "4MB" -o "/tmp/arduino_build_54872/sketch_feb09a.ino.bin" "/tmp/arduino_build_54872/sketch_feb09a.ino.elf"
fork/exec /usr/local/arduino/hardware/espressif/esp32/tools/esptool/esptool: no such file or directory
Error compiling for board ESP32 Wrover Module.

I am using port provided xtensa 32 elf tools. The problems that remains:
1. Manual liniking xtensa tools to arduino hardware locations.
2. esptool does not run as executable (its a python script that calls `python`).

I just need this like one or two times use and forget but would be nice to have it working on FreeBSD out of the box :-)

Thanks! :-)
Tomek