SYSTEM_CORE_CLOCK went away in favor of FUNCONF_SYSTEM_CORE_CLOCK APB_CLOCK is only used in the i2c_slave.h and ch32v003_SPI.h files so the references there have been maintained.