summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/altera-cyclone-v/README
blob: 0a5bc05505aab6595dca8c45a78729b5d90e17bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Overview
--------
Evaluation board for this BSP: 
- Cyclone V SoC FPGA Development Kit
- DK-DEV-5CSXC6N/ES-0L

RTC
---
The evaluation board contains a DS1339C RTC connected to I2C0. To use it you
have to set the following options:

  #define CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER
  #define CONFIGURE_BSP_PREREQUISITE_DRIVERS I2C_DRIVER_TABLE_ENTRY

Additional there has to be one free file descriptor to access the i2c. Set the
CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS accordingly.