sifive / freedom-e-sdk

Open Source Software for Developing on the Freedom E Platform - Deprecated
Other
581 stars 206 forks source link

bsp: Update BSP files of sifive-hifive-unleashed #618

Closed zongbox closed 3 years ago

zongbox commented 3 years ago

Update BSP files to change the clock-frequency to 1 GHz, because we have supported PRCI driver to simply initialize the core PLL, so we adjust the clock-frequency here, rather than all cores execute the program running directly off of the external clock input, expected to be at 33.3 MHz, otherwise, peripherals won't work because they should operate in a single clock domain running at 'coreclk/2' rate.