I want to execute tap_esc_main function in Snapdragon flight but it can not be executed

Dear PX4 expert, please help me.
I want to run ‘tap_esc_main’ function in Snapdragon flight but I can not executed the function.
-> Firmware-eagle_drone_1.2_cs_0\src\drivers\tap_esc.cpp

So I do below step below. And we check that tap_esc.o was created.
And I added 'tap_esc start -d /dev/ttyS4 -n 6’to PX4.config.
And I expect that tap_esc_main function is executed .
But tap_esc_main function is not executed.

I would appreciate it if you let me know how to execute the tap_esc_main function.

STEP 1. Modify posix_eagle_legacy_driver_default.cmake
//////////////////////////////////////
set(config_module_list
drivers/device
drivers/blinkm
drivers/pwm_out_sim
drivers/rgbled
drivers/led
drivers/boards/sitl
drivers/qshell/posix
drivers/tap_esc <- Insert point
//////////////////////////////////////

STEP 2. Modify PX4.config
//////////////////////////////////////
land_detector start multicopter
mc_pos_control start
mc_att_control start
uart_esc start -D /dev/tty-2
tap_esc start -d /dev/ttyS4 -n 6 n <- Insert point
rc_receiver start -D /dev/tty-1
//////////////////////////////////////