Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add WiFi Kit 32 (V3) to board #1018

Open
blue0ceanby opened this issue Jan 28, 2023 · 13 comments
Open

Please add WiFi Kit 32 (V3) to board #1018

blue0ceanby opened this issue Jan 28, 2023 · 13 comments

Comments

@blue0ceanby
Copy link

Sorry I don't know how to add this board. If the post is wrong please delete it.
If possible please add the WiFi Kit 32 (V3) board.
https://heltec.org/project/wifi-kit-32-v3/
The version V2 delivers the error message when uploading:
"A fatal error occurred: This chip is ESP32-S3 not ESP32. Wrong --chip argument?"

@Gabone0001
Copy link

Gabone0001 commented Jan 29, 2023

Platformio.ini


[env:heltec_wifi_kit_32_V3] 
platform = https://github.com/Baptou88/platform-espressif32.git
framework = arduino
board = heltec_wifi_kit_32_V3
platform_packages = framework-arduinoespressif32@https://github.com/Baptou88/arduino-esp32.git
monitor_speed = 115200

lib_deps = U8g2
           FastLED
           

you net to have git installed .

@ivankravets ivankravets transferred this issue from platformio/platformio-core Jan 29, 2023
@blue0ceanby
Copy link
Author

Thank you, now I'm one step further.
Now I still have this error:

.pio/libdeps/heltec_wifi_kit_32_V3/U8g2/src/U8x8lib.cpp:45:10: fatal error: SPI.h: No such file or directory



#include <SPI.h>
^~~~~~~
compilation terminated.

@Gabone0001
Copy link

Gabone0001 commented Jan 29, 2023

Search and install in platformio for U8g2 under Libraries
this is the lcd . pins for the lcd are as follows

#define OLED_CLOCK 18
#define OLED_DATA 17
#define OLED_RESET 21

Please note im also a beginner ... but that might sort the problem out

@blue0ceanby
Copy link
Author

Hello Gabone0001,
thanks for your support. Unfortunately the error message comes up:
Error: Unknown board ID 'heltec_wifi_kit_32_V3'

@Gabone0001
Copy link

Did you copy the full code that i posted earlier including the links in platformio.ini ?
That should download the .git file for your board. Make sure that is a wifi kit 32 v3 and not another variant . You also have lora kit 32 v3 and a few more .
Make sure that you have the git installed so it can download the file .

@blue0ceanby
Copy link
Author

ok, thanks to your tips I'm making good progress.
The build is already working. Thanks.
Now the download returns the error:
A fatal error occurred: This chip is ESP32-S3 not ESP32. Wrong --chip argument?
***[Upload]Error 2

Do you have another idea?

@valeros
Copy link
Member

valeros commented Jan 31, 2023

This board won't be added until this issue is resolved espressif/arduino-esp32#7737 and a new release of ESP32 core is published.

@blue0ceanby
Copy link
Author

ok

@Matty-hue
Copy link

@blue0ceanby Were you ever able to resolve this? I am having the same issue where I receive the following error. Note U8g2 is installed .pio/libdeps/heltec_wifi_kit_32_V3/U8g2/src/U8x8lib.cpp:45:10: fatal error: SPI.h: No such file or directory



#include <SPI.h>
^~~~~~~
compilation terminated.
*** [.pio\build\heltec_wifi_kit_32_V3\libabf\U8g2\U8x8lib.cpp.o] Error 1

@Jason2866
Copy link
Contributor

Without posting the Platformio setup, no help possible.
Even better push the project to github and share the link.

@Matty-hue
Copy link

@Jason2866 > Without posting the Platformio setup, no help possible. Even better push the project to github and share the link.

I've pushed to GH as you mentioned. https://github.com/Matty-hue/firstLight

@Jason2866
Copy link
Contributor

@Matty-hue Pin your platform. Without it is using what is currently installed. Probably an old one in your case

This one, compiles successfully

[env:heltec_wifi_kit_32_V3]
platform = espressif32 @ ^6.4.0
board = heltec_wifi_kit_32_V3
framework = arduino
Processing heltec_wifi_kit_32_V3 (platform: espressif32 @ ^6.4.0; board: heltec_wifi_kit_32_V3; framework: arduino)
--------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/heltec_wifi_kit_32_V3.html
PLATFORM: Espressif 32 (6.4.0) > Heltec WiFi Kit 32 (V3)
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-builtin, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: 
 - framework-arduinoespressif32 @ 3.20011.230801 (2.0.11) 
 - tool-esptoolpy @ 1.40501.0 (4.5.1) 
 - toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 
 - toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 33 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Compiling .pio/build/heltec_wifi_kit_32_V3/src/main.cpp.o
Building .pio/build/heltec_wifi_kit_32_V3/bootloader.bin
Generating partitions .pio/build/heltec_wifi_kit_32_V3/partitions.bin
esptool.py v4.5.1
Creating esp32s3 image...
Merged 1 ELF section
Successfully created esp32s3 image.
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/Esp.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/FirmwareMSC.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/FunctionalInterrupt.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/HWCDC.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/HardwareSerial.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/IPAddress.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/IPv6Address.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/MD5Builder.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/Print.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/Stream.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/StreamString.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/Tone.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/USB.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/USBCDC.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/USBMSC.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/WMath.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/WString.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/base64.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/cbuf.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-adc.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-bt.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-cpu.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-dac.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-gpio.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-i2c-slave.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-i2c.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-ledc.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-matrix.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-misc.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-psram.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-rgb-led.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-rmt.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-sigmadelta.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-spi.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-time.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-timer.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-tinyusb.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-touch.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/esp32-hal-uart.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/firmware_msc_fat.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/libb64/cdecode.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/libb64/cencode.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/main.cpp.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/stdlib_noniso.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/wiring_pulse.c.o
Compiling .pio/build/heltec_wifi_kit_32_V3/FrameworkArduino/wiring_shift.c.o
Archiving .pio/build/heltec_wifi_kit_32_V3/libFrameworkArduino.a
Indexing .pio/build/heltec_wifi_kit_32_V3/libFrameworkArduino.a
Linking .pio/build/heltec_wifi_kit_32_V3/firmware.elf
Retrieving maximum program size .pio/build/heltec_wifi_kit_32_V3/firmware.elf
Checking size .pio/build/heltec_wifi_kit_32_V3/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [=         ]   5.7% (used 18552 bytes from 327680 bytes)
Flash: [=         ]   8.0% (used 268129 bytes from 3342336 bytes)
Building .pio/build/heltec_wifi_kit_32_V3/firmware.bin
esptool.py v4.5.1
Creating esp32s3 image...
Merged 2 ELF sections
Successfully created esp32s3 image.
===================================== [SUCCESS] Took 4.32 seconds =====================================
 *  Terminal will be reused by tasks, press any key to close it. 

@Matty-hue
Copy link

@Jason2866 that worked! thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants