Skip to content

Commit

Permalink
Merge pull request #250 from elbric0/master
Browse files Browse the repository at this point in the history
Bring back the IO Functions definitions.
  • Loading branch information
Fabien-Chouteau authored Mar 8, 2018
2 parents 2fa9a17 + 70e3cc8 commit 97a89bc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arch/RISC-V/SiFive/devices/FE310/fe310-device.ads
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ package FE310.Device is
P30 : aliased GPIO_Point (Pin => 30);
P31 : aliased GPIO_Point (Pin => 31);

IOF_UART0 : constant IO_Function := IOF0;
IOF_UART1 : constant IO_Function := IOF0;
IOF_QSPI1 : constant IO_Function := IOF0;
IOF_QSPI2 : constant IO_Function := IOF0;
IOF_PWM0 : constant IO_Function := IOF1;
IOF_PWM1 : constant IO_Function := IOF1;
IOF_PWM2 : constant IO_Function := IOF1;

Internal_UART0 : aliased Internal_UART with Import, Volatile, Address => FE310_SVD.UART0_Base;
Internal_UART1 : aliased Internal_UART with Import, Volatile, Address => FE310_SVD.UART1_Base;

Expand Down

0 comments on commit 97a89bc

Please sign in to comment.