34#ifndef LIBBSP_ARM_ATSAM_BSP_H
35#define LIBBSP_ARM_ATSAM_BSP_H
49#include <sys/ioccom.h>
57#define BSP_FEATURE_IRQ_EXTENSION
59#define BSP_ARMV7M_IRQ_PRIORITY_DEFAULT (13 << 4)
61#define BSP_ARMV7M_SYSTICK_PRIORITY (14 << 4)
63uint32_t atsam_systick_frequency(
void);
65#define BSP_ARMV7M_SYSTICK_FREQUENCY atsam_systick_frequency()
67struct rtems_bsdnet_ifconfig;
69int if_atsam_attach(
struct rtems_bsdnet_ifconfig *
config,
int attaching);
71#define RTEMS_BSP_NETWORK_DRIVER_NAME "atsam0"
73#define RTEMS_BSP_NETWORK_DRIVER_ATTACH if_atsam_attach
92extern char atsam_memory_null_begin[];
93extern char atsam_memory_null_end[];
94extern char atsam_memory_null_size[];
96extern char atsam_memory_dtcm_begin[];
97extern char atsam_memory_dtcm_end[];
98extern char atsam_memory_dtcm_size[];
100extern char atsam_memory_intflash_begin[];
101extern char atsam_memory_intflash_end[];
102extern char atsam_memory_intflash_size[];
104extern char atsam_memory_intsram_begin[];
105extern char atsam_memory_intsram_end[];
106extern char atsam_memory_intsram_size[];
108extern char atsam_memory_itcm_begin[];
109extern char atsam_memory_itcm_end[];
110extern char atsam_memory_itcm_size[];
112extern char atsam_memory_nocache_begin[];
113extern char atsam_memory_nocache_end[];
114extern char atsam_memory_nocache_size[];
116extern char atsam_memory_qspiflash_begin[];
117extern char atsam_memory_qspiflash_end[];
118extern char atsam_memory_qspiflash_size[];
120extern char atsam_memory_sdram_begin[];
121extern char atsam_memory_sdram_end[];
122extern char atsam_memory_sdram_size[];
128void bsp_restart(
const void *
const addr );
140#define ATSAM_UART_ENABLE_RX_DMA _IO('d', 0)
This header file provides the default definition of BSP_INITIAL_EXTENSION.
This header file defines the RTEMS Classic API.
Definition: deflate.c:114
Interface driver configuration.
Definition: bsp.h:78
uint8_t phy_addr
Address of PHY.
Definition: bsp.h:89
uint32_t mdio_retries
Maximum retries for MDIO communication.
Definition: bsp.h:82
This type represents Classic API calendar times.
Definition: types.h:266