Skip to content

Commit

Permalink
fix rp2040 build
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyGrosser committed Nov 17, 2024
1 parent 0362882 commit 79754ae
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 521 deletions.
4 changes: 4 additions & 0 deletions src/devices/rp2040/rp-clock.adb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ package body RP.Clock is

procedure Enable_XOSC;

subtype SYS_Clock_Id is Clock_Id range PLL_SYS .. XOSC;
procedure Set_SYS_Source
(Source : SYS_Clock_Id);

type CLK_CTRL_AUXSRC_Field is
(PLL_SYS, GPIN0, GPIN1, PLL_USB, ROSC, XOSC, SYS, USB, ADC, RTC, REF)
with Size => 4;
Expand Down
Loading

0 comments on commit 79754ae

Please sign in to comment.