File indexing completed on 2025-05-11 08:22:49
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 #ifndef LIBBSP_ARM_CSB337_BSP_H
0020 #define LIBBSP_ARM_CSB337_BSP_H
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032 #include <bspopts.h>
0033 #include <bsp/default-initial-extension.h>
0034
0035 #include <rtems.h>
0036
0037 #ifdef __cplusplus
0038 extern "C" {
0039 #endif
0040
0041 #define BSP_FEATURE_IRQ_EXTENSION
0042
0043
0044 #define BSP_MAIN_FREQ 3686400
0045 #define BSP_SLCK_FREQ 32768
0046
0047
0048 #define BSP_MAX_INT AT91RM9200_MAX_INT
0049
0050
0051
0052
0053
0054 typedef struct _console_tbl console_tbl;
0055 console_tbl *BSP_get_uart_from_minor(int minor);
0056
0057 static inline int32_t BSP_get_baud(void) {return 38400;}
0058
0059 #define ST_PIMR_PIV 33
0060
0061
0062
0063
0064 struct rtems_bsdnet_ifconfig;
0065
0066
0067 int rtems_at91rm9200_emac_attach(struct rtems_bsdnet_ifconfig *config, int attaching);
0068 #define RTEMS_BSP_NETWORK_DRIVER_NAME "eth0"
0069 #define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_at91rm9200_emac_attach
0070
0071 #ifdef __cplusplus
0072 }
0073 #endif
0074
0075
0076
0077 #endif
0078