Loading...
Searching...
No Matches
cpu_conf.h File Reference

LPC23XX CPU configuration. More...

Detailed Description

LPC23XX CPU configuration.

Author
baar
Version
$Revision$
Note
$Id$

Definition in file cpu_conf.h.

Go to the source code of this file.

Macros

#define IRQ_API_INLINED   (1)
  *
 
#define PUF_SRAM_ATTRIBUTES   __attribute__((used, section(".noinit")))
 Attribute for memory sections required by SRAM PUF.
 
#define NUM_HEAPS   (4)
 The CPU has 4 blocks of SRAM at different addresses.
 
#define BACKUP_RAM   __attribute__((section(".backup.bss")))
 Memory marked with this attribute is retained during deep sleep and initialized with 0 on cold boot.
 
#define BACKUP_RAM_DATA   __attribute__((section(".backup.data")))
 Memory marked with this attribute is retained during deep sleep and initialized with user provided data on cold boot.
 
#define PERIPH_FLASHPAGE_CUSTOM_PAGESIZES
 lpc23xx has non-uniform pages
 
#define CPU_FLASH_BASE   (0x0U)
 FLASH base address.
 

Stdlib configuration

#define __FOPEN_MAX__   4
 
#define __FILENAME_MAX__   12
 

Kernel configuration

#define THREAD_EXTRA_STACKSIZE_PRINTF   (512)
 
#define THREAD_STACKSIZE_DEFAULT   (1024)
 
#define THREAD_STACKSIZE_IDLE   (160)
 

Pthread configuration

#define CONFIG_PTHREAD_REAPER_BASE_STACKSIZE   (2*THREAD_STACKSIZE_IDLE)
 

Compiler specifics

#define CC_CONF_INLINE   inline
 
#define CC_CONF_USED   __attribute__((used))
 
#define CC_CONF_NONNULL(...)   __attribute__((nonnull(__VA_ARGS__)))
 
#define CC_CONF_WARN_UNUSED_RESULT   __attribute__((warn_unused_result))
 
#define UND_STACKSIZE   (4)
 Stack size used for the undefined instruction interrupt stack.
 
#define ABT_STACKSIZE   (4)
 Stack size used for the abort interrupt stack.
 
#define ISR_STACKSIZE   (400)
 Stack size used for the interrupt (ISR) stack.
 
#define FIQ_STACKSIZE   (64)
 Stack size used for the fast interrupt (FIQ) stack.
 
#define SVC_STACKSIZE   (400)
 Stack size used for the supervisor mode (SVC) stack.
 
#define USR_STACKSIZE   (4096)
 Stack size used for the user mode/kernel init stack.
 
#define PERIPH_FLASHPAGE_NEEDS_FLASHPAGE_ADDR
 Flash page configuration.
 
#define PERIPH_FLASHPAGE_NEEDS_FLASHPAGE_PAGE
 
#define FLASHPAGE_NUMOF   (27)
 
#define FLASHPAGE_WRITE_BLOCK_SIZE   (256)
 
#define FLASHPAGE_WRITE_BLOCK_ALIGNMENT   (256)
 

Macro Definition Documentation

◆ __FILENAME_MAX__

#define __FILENAME_MAX__   12

Definition at line 37 of file cpu_conf.h.

◆ __FOPEN_MAX__

#define __FOPEN_MAX__   4

Definition at line 36 of file cpu_conf.h.

◆ ABT_STACKSIZE

#define ABT_STACKSIZE   (4)

Stack size used for the abort interrupt stack.

Definition at line 95 of file cpu_conf.h.

◆ BACKUP_RAM

#define BACKUP_RAM   __attribute__((section(".backup.bss")))

Memory marked with this attribute is retained during deep sleep and initialized with 0 on cold boot.

Definition at line 138 of file cpu_conf.h.

◆ BACKUP_RAM_DATA

#define BACKUP_RAM_DATA   __attribute__((section(".backup.data")))

Memory marked with this attribute is retained during deep sleep and initialized with user provided data on cold boot.

Definition at line 144 of file cpu_conf.h.

◆ CC_CONF_INLINE

#define CC_CONF_INLINE   inline

Definition at line 73 of file cpu_conf.h.

◆ CC_CONF_NONNULL

#define CC_CONF_NONNULL (   ...)    __attribute__((nonnull(__VA_ARGS__)))

Definition at line 75 of file cpu_conf.h.

◆ CC_CONF_USED

#define CC_CONF_USED   __attribute__((used))

Definition at line 74 of file cpu_conf.h.

◆ CC_CONF_WARN_UNUSED_RESULT

#define CC_CONF_WARN_UNUSED_RESULT   __attribute__((warn_unused_result))

Definition at line 76 of file cpu_conf.h.

◆ CONFIG_PTHREAD_REAPER_BASE_STACKSIZE

#define CONFIG_PTHREAD_REAPER_BASE_STACKSIZE   (2*THREAD_STACKSIZE_IDLE)

Definition at line 66 of file cpu_conf.h.

◆ CPU_FLASH_BASE

#define CPU_FLASH_BASE   (0x0U)

FLASH base address.

Definition at line 154 of file cpu_conf.h.

◆ FIQ_STACKSIZE

#define FIQ_STACKSIZE   (64)

Stack size used for the fast interrupt (FIQ) stack.

Definition at line 111 of file cpu_conf.h.

◆ FLASHPAGE_NUMOF

#define FLASHPAGE_NUMOF   (27)

Definition at line 163 of file cpu_conf.h.

◆ FLASHPAGE_WRITE_BLOCK_ALIGNMENT

#define FLASHPAGE_WRITE_BLOCK_ALIGNMENT   (256)

Definition at line 165 of file cpu_conf.h.

◆ FLASHPAGE_WRITE_BLOCK_SIZE

#define FLASHPAGE_WRITE_BLOCK_SIZE   (256)

Definition at line 164 of file cpu_conf.h.

◆ IRQ_API_INLINED

#define IRQ_API_INLINED   (1)

 *

This arch uses the inlined irq API. 

Definition at line 43 of file cpu_conf.h.

◆ ISR_STACKSIZE

#define ISR_STACKSIZE   (400)

Stack size used for the interrupt (ISR) stack.

Definition at line 103 of file cpu_conf.h.

◆ NUM_HEAPS

#define NUM_HEAPS   (4)

The CPU has 4 blocks of SRAM at different addresses.

(primary RAM, USB RAM, Ethernet RAM & Backup RAM)

Definition at line 132 of file cpu_conf.h.

◆ PERIPH_FLASHPAGE_CUSTOM_PAGESIZES

#define PERIPH_FLASHPAGE_CUSTOM_PAGESIZES

lpc23xx has non-uniform pages

Definition at line 149 of file cpu_conf.h.

◆ PERIPH_FLASHPAGE_NEEDS_FLASHPAGE_ADDR

#define PERIPH_FLASHPAGE_NEEDS_FLASHPAGE_ADDR

Flash page configuration.

Definition at line 160 of file cpu_conf.h.

◆ PERIPH_FLASHPAGE_NEEDS_FLASHPAGE_PAGE

#define PERIPH_FLASHPAGE_NEEDS_FLASHPAGE_PAGE

Definition at line 161 of file cpu_conf.h.

◆ PUF_SRAM_ATTRIBUTES

#define PUF_SRAM_ATTRIBUTES   __attribute__((used, section(".noinit")))

Attribute for memory sections required by SRAM PUF.

Definition at line 82 of file cpu_conf.h.

◆ SVC_STACKSIZE

#define SVC_STACKSIZE   (400)

Stack size used for the supervisor mode (SVC) stack.

Definition at line 118 of file cpu_conf.h.

◆ THREAD_EXTRA_STACKSIZE_PRINTF

#define THREAD_EXTRA_STACKSIZE_PRINTF   (512)

Definition at line 49 of file cpu_conf.h.

◆ THREAD_STACKSIZE_DEFAULT

#define THREAD_STACKSIZE_DEFAULT   (1024)

Definition at line 52 of file cpu_conf.h.

◆ THREAD_STACKSIZE_IDLE

#define THREAD_STACKSIZE_IDLE   (160)

Definition at line 56 of file cpu_conf.h.

◆ UND_STACKSIZE

#define UND_STACKSIZE   (4)

Stack size used for the undefined instruction interrupt stack.

Definition at line 88 of file cpu_conf.h.

◆ USR_STACKSIZE

#define USR_STACKSIZE   (4096)

Stack size used for the user mode/kernel init stack.

Definition at line 125 of file cpu_conf.h.