source: rtems/bsps/arm/altera-cyclone-v/README @ a3fe23c

5
Last change on this file since a3fe23c was eb36d11, checked in by Sebastian Huber <sebastian.huber@…>, on 04/25/18 at 13:06:08

bsps: Move documentation, etc. files to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1Overview
2--------
3Evaluation board for this BSP:
4- Cyclone V SoC FPGA Development Kit
5- DK-DEV-5CSXC6N/ES-0L
6
7RTC
8---
9The evaluation board contains a DS1339C RTC connected to I2C0. To use it you
10have to set the following options:
11
12  #define CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER
13  #define CONFIGURE_BSP_PREREQUISITE_DRIVERS I2C_DRIVER_TABLE_ENTRY
14
15Additional there has to be one free file descriptor to access the i2c. Set the
16CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS accordingly.
17
18Network
19-------
20The default PHY address can be overwritten by the application. To do this, the
21drv_ctrl pointer of the rtems_bsdnet_ifconfig structure should point to a
22dwmac_ifconfig_drv_ctrl object with the appropriate settings before the
23rtems_bsdnet_initialize_network() is called. E.g.:
24
25  #include <libchip/dwmac.h>
26  #include <bsp.h>
27
28  static dwmac_ifconfig_drv_ctrl drv_ctrl = {
29    .phy_addr = 1
30  };
31
32  ...
33
34  static struct rtems_bsdnet_ifconfig some_ifconfig = {
35    .name = RTEMS_BSP_NETWORK_DRIVER_NAME,
36    .attach = RTEMS_BSP_NETWORK_DRIVER_ATTACH,
37    .drv_ctrl = &drv_ctrl
38  };
39
40  ...
41
42  rtems_bsdnet_initialize_network();
43
44If drv_ctrl is the NULL pointer, default values will be used instead.
Note: See TracBrowser for help on using the repository browser.