Add detect macros for AVR XMega MCU.
authorlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Sat, 9 Apr 2011 13:41:54 +0000 (13:41 +0000)
committerlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Sat, 9 Apr 2011 13:41:54 +0000 (13:41 +0000)
commit2e1423c0e63c12bb4eb996480ec2a51f8899aa88
tree79d6f2b69b1e87fd5044c4195b9cdfd343756388
parentecbc38a94d767a547fb44ee30faef2bccc20c775
Add detect macros for AVR XMega MCU.

Hardware interrupts should be enabled separately by using the lines:
  #include <avr/io.h>
  PMIC.CTRL |= PMIC_LOLVLEX_bm | PMIC_MEDLVLEX_bm | PMIC_HILVLEX_bm;
These should go into a separate init file specific for AVR XMega.

Signed-off-by: Onno <developer@gorgoz.org>
Reviewed-by: Luca Ottaviano <lottaviano@develer.com>
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4843 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/cpu/attr.h
bertos/cpu/avr/hw/switch_ctx_avr.S
bertos/cpu/detect.h