mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-09-16 02:52:47 -04:00
Update PicoRV32 clock frequency to 24 MHz
Include a seed value for nextpnr to get a layout that reaches 24 MHz.
This commit is contained in:
parent
c6e8b6930c
commit
1651a1a666
5 changed files with 13 additions and 12 deletions
|
@ -311,8 +311,8 @@ int main(void)
|
|||
}
|
||||
|
||||
puts("\r\nTesting timer... 3");
|
||||
// Matching clock at 18 MHz, giving us timer in seconds
|
||||
*timer_prescaler = 18 * 1000000;
|
||||
// Matching clock at 24 MHz, giving us timer in seconds
|
||||
*timer_prescaler = 24 * 1000000;
|
||||
|
||||
// Test timer expiration after 1s
|
||||
*timer = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue