There are 2 repositories under bldc-esc-firmware topic.
BLDC motor control firmware for 32-bit ESCs
BLDC ESC firmware (GPLv3.0)
My first Sensored BLDC Trapezoidal control firmware developed between 2018-2019. Currently going to be archived soon.