Use ESP32 as the primary controller

Discussions about all things Bitcraze
Post Reply
Posts: 1
Joined: Mon Oct 07, 2019 2:35 am

Use ESP32 as the primary controller

Post by qljz » Tue Feb 18, 2020 4:57 am

Hi, I recently ported crazyfile code to my ESP32 board (Wi-Fi MCU from espressif) with sensors mpu6050+vl5301+pmw3901, and communicate with cfclient through Wi-Fi UDP. The official ESP32 SDK (ESP_IDF) is based on FreeRTOS also, so the code work is not so much hard. ;)

Preliminary tests show it works quite well, :D ESP32 has enough resources to do the job, and it will greatly reduces the complexity and cost of hardware. :lol: But my code is terrible, I had to delete a lot of STM32-related code in many source files, then code with ESP32 style. It is quite difficult to follow the master branch upgrade.

So my question is:
1. Is it possible to move MCU-related code to HAL?
2. Does crazyfile have any plan to support other hardware like ESP32 officially?

Posts: 330
Joined: Fri Jul 06, 2018 11:13 am

Re: Use ESP32 as the primary controller

Post by kimberly » Tue Feb 18, 2020 9:09 am


Bitcraze does not have future plans to do either of these points for now. Good luck with porting though !

Post Reply