karawin / Ka-Radio32

esp32 version of Ka-Radio (https://github.com/karawin/Ka-Radio) by jp Cocatrix
525 stars 155 forks source link

HW Support Request: WiFi LoRa 32 Board from HelTec Automation #18

Closed gvoigtlaender closed 6 years ago

gvoigtlaender commented 6 years ago

Hi,

so far Ka-Radio32 runs well on Heltec LoRa32 Wifo Kit, just the OLED uses different IO. Seems to be using some pins which are currently reserved for ENC & LED. Any change to get that working?

Please find further info here: https://robotzero.one/heltec-wifi-kit-32/ https://hackaday.io/project/26991-esp32-board-wifi-lora-32

BR, georg

karawin commented 6 years ago

See the Ka-Radio32\main\include\gpio.h file and change with your needs. And yes, you need to generate KaRadio by yourself. I try to be as generic as possible but for these special requests, the best is to create your own release. Thanks for your interest.

gvoigtlaender commented 6 years ago

I'm on it, still checking which packages are missing in my gentoo

karawin commented 6 years ago

https://esp-idf.readthedocs.io/en/latest/get-started/linux-setup.html

gvoigtlaender commented 6 years ago

Thx, getting closer. I was missing the xxd command (vim-package)

Now I get stuck at

~/esp/Ka-Radio32/main/./addonucg.c:11:25: fatal error: driver\gpio.h: No such file or directory

gvoigtlaender commented 6 years ago

Solved:

addonucg.c uses wrong backslash in include, needs to be slash ;)

Now i'll check the gpio.h

karawin commented 6 years ago

Yes I will correct it. Msys32 is more tolerant than a real linux.

gvoigtlaender commented 6 years ago

addonu8g2.c:445 PIN_LCD_RST -> PIN_I2C_LCD

karawin commented 6 years ago

u8g2_esp32_hal.reset = PIN_I2C_RST;

Thanks

gvoigtlaender commented 6 years ago

Hi,

patching the addonu8g2.c as above and adjusting gpio.h made the OLED working

define PIN_I2C_SCL GPIO_NUM_15

define PIN_I2C_SDA GPIO_NUM_4

define PIN_I2C_RST GPIO_NUM_16

Thanks, georg