Hse for stm32l073

Hi

I am trying to port lorawan examples to the acsip s76s . It is similar to the Nucleo l073rz but I want to use the 24MHz xtal . Do I need to set PH0 and PH1 as osc_in and osc_out ? I have tried to add this line in mbed_app.json : “target.clock_source”: "USE_PLL_HSE_XTAL " , and I define HSE_VALUE 24000000 . in system_clock.c pllmul = 4 and plldiv = 3 . When I download this configuration I get this error : – MbedOS Error Info –
SetSysClock failed . How can I fix this ?