Warning, /bsps/arm/altera-cyclone-v/README.md is written in an unsupported language. File is not indexed.
0001 Overview
0002 ========
0003 Evaluation board for this BSP:
0004 - Cyclone V SoC FPGA Development Kit
0005 - DK-DEV-5CSXC6N/ES-0L
0006
0007 RTC
0008 ---
0009 The evaluation board contains a DS1339C RTC connected to I2C0. To use it you
0010 have to set the following options:
0011
0012 ```c
0013 #define CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER
0014 #define CONFIGURE_BSP_PREREQUISITE_DRIVERS I2C_DRIVER_TABLE_ENTRY
0015 ```
0016
0017 Additional there has to be one free file descriptor to access the i2c. Set the
0018 `CONFIGURE_MAXIMUM_FILE_DESCRIPTORS` accordingly.
0019
0020
0021 Network
0022 -------
0023 The default PHY address can be overwritten by the application. To do this, the
0024 drv_ctrl pointer of the rtems_bsdnet_ifconfig structure should point to a
0025 dwmac_ifconfig_drv_ctrl object with the appropriate settings before the
0026 rtems_bsdnet_initialize_network() is called. E.g.:
0027
0028 ```c
0029 #include <libchip/dwmac.h>
0030 #include <bsp.h>
0031
0032 static dwmac_ifconfig_drv_ctrl drv_ctrl = {
0033 .phy_addr = 1
0034 };
0035 ```
0036
0037 ...
0038
0039 ```c
0040 static struct rtems_bsdnet_ifconfig some_ifconfig = {
0041 .name = RTEMS_BSP_NETWORK_DRIVER_NAME,
0042 .attach = RTEMS_BSP_NETWORK_DRIVER_ATTACH,
0043 .drv_ctrl = &drv_ctrl
0044 };
0045 ```
0046 ...
0047
0048 ```c
0049 rtems_bsdnet_initialize_network();
0050 ```
0051
0052 If drv_ctrl is the NULL pointer, default values will be used instead.