[f2e0f8e] | 1 | Board support package for the Atmel SAM V71/V70/E70/S70 chip platform. |
---|
| 2 | |
---|
| 3 | The BSP is customized to a particular board/chip variant by means of configure |
---|
| 4 | command line options. |
---|
| 5 | |
---|
| 6 | Use --enable-chip=XYZ to select the chip variant where XYZ is one of same70j19, |
---|
| 7 | same70j20, same70j21, same70n19, same70n20, same70n21, same70q19, same70q20, |
---|
| 8 | same70q21, sams70j19, sams70j20, sams70j21, sams70n19, sams70n20, sams70n21, |
---|
| 9 | sams70q19, sams70q20, sams70q21, samv71j19, samv71j20, samv71j21, samv71n19, |
---|
| 10 | samv71n20, samv71n21, samv71q19, samv71q20 and samv71q21. By default the BSP |
---|
| 11 | uses the ATSAMV71Q21 chip. Not all variants are tested. |
---|
| 12 | |
---|
| 13 | Use BOARD_MAINOSC=XYZ to set the main oscillator frequency in Hz (default |
---|
| 14 | 12MHz). |
---|
| 15 | |
---|
| 16 | Use BOARD_MCK=XYZ to set the Master Clock (MCK) frequency in Hz (default |
---|
| 17 | 123MHz). The default value enables operation of an external SDRAM, e.g. 150MHz |
---|
| 18 | would be too fast. |
---|
| 19 | |
---|
| 20 | Use ATSAM_CONSOLE_BAUD=XYZ to set the initial baud for console devices (default |
---|
| 21 | 115200). |
---|
| 22 | |
---|
| 23 | Use ATSAM_CONSOLE_DEVICE_TYPE=XYZ to set the device type for /dev/console, use |
---|
| 24 | 0 for USART and 1 for UART (default USART). |
---|
| 25 | |
---|
| 26 | Use ATSAM_CONSOLE_DEVICE_INDEX=XYZ to set the device index for /dev/console |
---|
| 27 | (default 1, e.g. USART1). |
---|
| 28 | |
---|
| 29 | Use ATSAM_CONSOLE_USE_INTERRUPTS=XYZ to set the use interrupt driven mode for |
---|
| 30 | console devices (used by default). |
---|
| 31 | |
---|
| 32 | Use ATSAM_MEMORY_TCM_SIZE=XYZ to set the size of tightly coupled memories (TCM) |
---|
| 33 | in bytes (default 0x00000000). |
---|
| 34 | |
---|
| 35 | Use ATSAM_MEMORY_INTFLASH_SIZE=XYZ to set the size of internal flash in bytes |
---|
| 36 | (default is derived from chip variant). |
---|
| 37 | |
---|
| 38 | Use ATSAM_MEMORY_INTSRAM_SIZE=XYZ to set the size of internal SRAM in bytes |
---|
| 39 | (default is derived from chip variant). |
---|
| 40 | |
---|
| 41 | Use ATSAM_MEMORY_SDRAM_SIZE=XYZ to set the size of external SDRAM in bytes |
---|
| 42 | (default 0x00200000). |
---|
| 43 | |
---|
| 44 | The pins may be configured by the application at link-time. See |
---|
| 45 | <bsp/pin-config.h>. |
---|
| 46 | |
---|
| 47 | The clock driver uses the ARMv7-M Systick. |
---|
| 48 | |
---|
| 49 | The console driver supports the USART and UART devices. |
---|
| 50 | |
---|
| 51 | The default linker command file places the code into the internal flash. Use |
---|
| 52 | "LDFLAGS += -qnolinkcmds -T linkcmds.sdram" to place the code into the external |
---|
| 53 | SDRAM. Use "LDFLAGS += -qnolinkcmds -T linkcmds.intsram" to place the code |
---|
| 54 | into the internal SRAM. |
---|
| 55 | |
---|
| 56 | The fast text section uses the ITCM. The fast data section uses the DTCM. |
---|
| 57 | |
---|
| 58 | Data and instruction cache are enabled during system start. The RTEMS cache |
---|
| 59 | manager is supported with exception of the freeze functions. |
---|