14 lines
354 B
C
14 lines
354 B
C
#ifndef __SAMD20_HW_H
|
|
#define __SAMD20_HW_H
|
|
|
|
// XXX note this is not suitable for everything!
|
|
|
|
/* Configuration */
|
|
#define MCU_SRAM_SIZE (2*1024)
|
|
#define MCU_SRAM_BASE (0x20000000)
|
|
#define MCU_FLASH_BASE (0x00000000)
|
|
#define MCU_FLASH_SIZE (16*1024)
|
|
#define MCU_STACK_SIZE 0x200
|
|
|
|
#endif
|