Move non-config includes behind PTIM ifdef
That is to enabled integration with build-it-all Mbed OS type build
system.
* limitations under the License.
*/
-#include "os_tick.h"
-#include "irq_ctrl.h"
-
#include "RTE_Components.h"
#include CMSIS_device_header
#if defined(PTIM)
+#include "os_tick.h"
+#include "irq_ctrl.h"
+
#ifndef PTIM_IRQ_PRIORITY
#define PTIM_IRQ_PRIORITY 0xFFU
#endif
