XIAO RA4M1 - reduce startup time after power on

Hi all.

I’m using the XIAO RA4M1 with the Arduino IDE.

I noticed that the startup time from power on to executing a command in the Arduino setup procedure is approximately 500 ms.
I tested this with a program that only sets one output in the setup procedure.

Channel 0 shows the PowerOn and channel 1 the output-pin

I think the reason is the bootloader.
Does anybody have a idea how I can activate the bootloader only when powering on AND pressing the B button, so that the startup time is reduced to a minimum when powering on ?

BR Juergen