Compiling bootloader from source issues

AP_Bootloader_mybuild_linux.bin (14.0 KB)
MicoAir405v2_AP_Bootloader.bin (13.9 KB)

Hello , this is first time i am posting and not sure the right place.

   I have flight controller boards 
  1. MicoAir743 ardupilot/libraries/AP_HAL_ChibiOS/hwdef/MicoAir743/hwdef.dat at master · ArduPilot/ardupilot · GitHub

  2. MicoAir405v2 ardupilot/libraries/AP_HAL_ChibiOS/hwdef/MicoAir405v2/hwdef.dat at master · ArduPilot/ardupilot · GitHub

  3. Pixhawk6C MINI ardupilot/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6C/hwdef.dat at master · ArduPilot/ardupilot · GitHub

    I was trying to build bootloader on my MacOS machine , all compile ok and even .bin sizes are same. I use STM32CubeProgrammer , full erase and upload , but doesn't work.
    

Doesn’t work i mean , no led flashing , no hardware discovery on my windows and MAC.
Though it could be build system , I tried on my linux ubuntu 24 machine and upload , but still the same.

   I tried to build bootloaders for all board and tested and none of the board work. 
   I have attached 2 bootloaders , one is my build and other one is original.

***** Please note all original bootloaders under ardupilot/Tools/bootloaders at master · ArduPilot/ardupilot · GitHub are working fine. and i tried from latest sources and older as well*******

Any idea what it could be?

Regards,
David