diff options
author | spacecoaster <spacecoaster@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-09-05 22:41:12 +0000 |
---|---|---|
committer | spacecoaster <spacecoaster@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-09-05 22:41:12 +0000 |
commit | 76fc6c0477a6fdb7eb602f2b07e133d681a1092d (patch) | |
tree | 80b2e94c0101dfe3b56a20ff3f1db73d044c2238 /os/hal/ports/KINETIS/K20x | |
parent | 8486c43dd431ea2e6d1b65a1d29d9af51546af47 (diff) | |
download | ChibiOS-76fc6c0477a6fdb7eb602f2b07e133d681a1092d.tar.gz ChibiOS-76fc6c0477a6fdb7eb602f2b07e133d681a1092d.tar.bz2 ChibiOS-76fc6c0477a6fdb7eb602f2b07e133d681a1092d.zip |
[KINETIS] ADC LLD files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7250 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/KINETIS/K20x')
-rw-r--r-- | os/hal/ports/KINETIS/K20x/kinetis_registry.h | 3 | ||||
-rw-r--r-- | os/hal/ports/KINETIS/K20x/platform.mk | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/ports/KINETIS/K20x/kinetis_registry.h b/os/hal/ports/KINETIS/K20x/kinetis_registry.h index 004049cc7..9d1b0d753 100644 --- a/os/hal/ports/KINETIS/K20x/kinetis_registry.h +++ b/os/hal/ports/KINETIS/K20x/kinetis_registry.h @@ -41,6 +41,9 @@ #define KINETIS_PORTD_IRQ_VECTOR VectorEC #define KINETIS_PORTE_IRQ_VECTOR VectorF0 +/* ADC attributes.*/ +#define KINETIS_HAS_ADC0 TRUE +#define KINETIS_ADC0_IRC_VECTOR Vector98 /** @} */ diff --git a/os/hal/ports/KINETIS/K20x/platform.mk b/os/hal/ports/KINETIS/K20x/platform.mk index 9701ebee2..c7ae92d95 100644 --- a/os/hal/ports/KINETIS/K20x/platform.mk +++ b/os/hal/ports/KINETIS/K20x/platform.mk @@ -6,6 +6,7 @@ PLATFORMSRC = ${CHIBIOS}/os/hal/ports/common/ARMCMx/nvic.c \ ${CHIBIOS}/os/hal/ports/KINETIS/K20x/spi_lld.c \
${CHIBIOS}/os/hal/ports/KINETIS/LLD/i2c_lld.c \
${CHIBIOS}/os/hal/ports/KINETIS/LLD/ext_lld.c \
+ ${CHIBIOS}/os/hal/ports/KINETIS/LLD/adc_lld.c \
${CHIBIOS}/os/hal/ports/KINETIS/K20x/gpt_lld.c \
${CHIBIOS}/os/hal/ports/KINETIS/K20x/st_lld.c
|