|
Page date Tue Jan 18 22:00:35 2011 . | Improve this page |
TBD
TBD
In micro-os-plus/hal/boards
For existing manufacturer
For new manufacturer
Edit ${Board}/include/OS_Board_defines.h
#define OS_CONFIG_ARCH_AVR32 1
#define OS_CONFIG_FAMILY_AVR32UC3 1
#define OS_CONFIG_VARIANT_AVR32UC3A3 1
#if !defined(OS_CONFIG_BOARD_ATMEL_EVK1104)
#define OS_CONFIG_BOARD_ATMEL_EVK1104 1
#endif
In micro-os-plus/hal/arch
...
#elif defined(OS_CONFIG_BOARD_ATMEL_EVK1104)
#include "hal/boards/Atmel/evk1104/include/OS_Board_Defines.h"
...
...
#elif defined(OS_CONFIG_BOARD_ATMEL_EVK1104)
#include "hal/boards/Atmel/evk1104/include/DeviceDebugI2C_Defines.h"
...
...
#elif defined(OS_CONFIG_ARCH_AVR32)
# include "hal/arch/avr32/kernel/include/OS_Arch_Defines.h"
#if defined(OS_CONFIG_FAMILY_AVR32UC3)
# include "hal/arch/avr32/uc3/kernel/include/OS_Family_Defines.h"
#else
# error "Missing OS_CONFIG_FAMILY_* definition"
#endif
...
...
#elif defined(OS_CONFIG_ARCH_AVR32)
#include "hal/arch/avr32/kernel/include/OSScheduler_Arch_Inlines.h"
#if defined(OS_CONFIG_FAMILY_AVR32UC3)
#include "hal/arch/avr32/uc3/kernel/include/OSScheduler_Family_Inlines.h"
#else
#error "Missing OS_CONFIG_FAMILY_* definition"
#endif
...
...
#elif defined(OS_CONFIG_ARCH_AVR32)
#include "hal/arch/avr32/kernel/include/OS_Arch_Inlines.h"
#if defined(OS_CONFIG_FAMILY_AVR32UC3)
#include "hal/arch/avr32/uc3/kernel/include/OS_Family_Inlines.h"
#else
#error "Missing OS_CONFIG_FAMILY_* definition"
#endif
...
...
#elif defined(OS_CONFIG_ARCH_AVR32)
#if defined(OS_CONFIG_FAMILY_AVR32UC3)
#include "hal/arch/avr32/uc3/devices/debug/include/DeviceDebugI2CEmuMaster_Family_Inlines.h"
#else
#error "Missing OS_CONFIG_FAMILY_* definition"
#endif
...
...
#if defined(OS_CONFIG_ARCH_AVR32)
...
...
#if defined(OS_CONFIG_FAMILY_AVR32UC3)
...
/micro-os-plus/hal/arch/avr32/uc3/lib/src/trampoline.x /micro-os-plus/hal/arch/avr32/uc3/lib/include/conf_isp.h
update trampoline.x include
update conf_isp.h
-c -fmessage-length=0 -mpart=uc3a3256 -fno-exceptions -fno-rtti -Wextra -Wabi -std=gnu++98
-mpart=uc3a3256 -Wl,-Map,sample-minimal.map -Xlinker --cref -Wl,-e,_trampoline -T "${workspace_loc}/micro-os-plus/hal/arch/avr32/uc3/lib/link_uc3a3256.lds"
-mpart=uc3a3256
-c -fmessage-length=0 -mpart=uc3a3256 -Wextra -std=gnu99