if (navigator.userAgent=="&lt;type&gt;"){ //check your device type

  var fileref=document.createElement('script')
  fileref.setAttribute("type","text/javascript")
  fileref.setAttribute("src", filename)
 }


HTH

Detect user device and assign different jquery (desktop / mobile(ipad)) in js/ jquery?
I'm using an external 20MHz (categorized as high-speed or HS range) resonator and using PLL, but I'm not able to clock the device up anywhere near the max cpu speed advertised.  How are you ever supposed to achieve 120MHz for F_SYS?

See section 7.7: Phase-Locked Loop, p.7-23:

Constraints:


0.8 MHz ≤ F_PLLI ≤ 8.0 MHz
120 MHz ≤ F_OSC ≤ 340 MHz
15 MHz ≤ F_SYS ≤ 120 MHz @ 125ºC


Equations:


\$F_{PLLI} = \dfrac{F_{IN}}{(PLLPRE + 2)}\$
\$F_{OSC} = F_{IN} \cdot \dfrac{(PLLDIV + 2)}{(PLLPRE + 2)}\$
\$F_{SYS} = F_{IN} \cdot \dfrac{(PLLDIV + 2)}{((PLLPRE + 2) \cdot 2 (PLLPOST + 2))}\$


If you can get to 340MHz, the highest you can go is if PLLPOST = 0: 340MHz / (2 * (0 + 2)) => 85MHz!
