stevstrong / STM32_ESP01_WebServer

Webserver using ESP01 with AT commands
4 stars 1 forks source link

missing some items #2

Open ceewanna opened 6 months ago

ceewanna commented 6 months ago

I am setting up STM32F103C8T6 and ESP8266/ESP-01S via AT commands and looking for webserver to work on the system. My setting is in visual code:

platform = ststm32
board = genericSTM32F103C8
framework = arduino

STM32 is communicating with ESP-01S via Serial2. I have tested AT commands which successfully established wifi connection.

Just now I tried STM32_ESP01_WebServer.ino together with esp-at.cpp and esp-at.h.

  1. Streaming.h missing.
  2. voidFuncPtr is not defined.
stevstrong commented 6 months ago

Here you can get Streaming.h. And here is voidFuncPtr defined. Basically, I use my repo for any of my projects.

ceewanna commented 6 months ago

Thanks. By the way, having seen your https://github.com/stevstrong/Arduino_STM32.git, I wonder it could be used in visual code. Right now I am using the one in platformio. I found the stm32cubemx and its surrounding tools rather confusing in the way that I don't know where and how to start with something.

stevstrong commented 6 months ago

I am also using VS code. I just add the Arduino_STM32/STM32F1 folder to the workspace, but that is not really neccessary. I use Github for Windows for code version handling.