aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-09-24 12:12:38 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-09-24 12:12:38 +0000
commitae31774f3e0ff81078be0029bf837b9d74d8c559 (patch)
treea7bcef3c1a1b24ff287e4557c49b973f4787d4d3
parent933bace9f3125c0643685189e218df84c08f4501 (diff)
downloadChibiOS-ae31774f3e0ff81078be0029bf837b9d74d8c559.tar.gz
ChibiOS-ae31774f3e0ff81078be0029bf837b9d74d8c559.tar.bz2
ChibiOS-ae31774f3e0ff81078be0029bf837b9d74d8c559.zip
Fixed Bug #777.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9783 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--demos/STM32/RT-STM32F051-DISCOVERY/mcuconf.h8
-rw-r--r--readme.txt2
2 files changed, 10 insertions, 0 deletions
diff --git a/demos/STM32/RT-STM32F051-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F051-DISCOVERY/mcuconf.h
index e9cad16db..13c009529 100644
--- a/demos/STM32/RT-STM32F051-DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32F051-DISCOVERY/mcuconf.h
@@ -70,6 +70,14 @@
#define STM32_ADC_ADC1_DMA_STREAM STM32_DMA_STREAM_ID(1, 1)
/*
+ * DAC driver system settings.
+ */
+#define STM32_DAC_USE_DAC1_CH1 FALSE
+#define STM32_DAC_DAC1_CH1_IRQ_PRIORITY 10
+#define STM32_DAC_DAC1_CH1_DMA_PRIORITY 2
+#define STM32_DAC_DAC1_CH1_DMA_STREAM STM32_DMA_STREAM_ID(1, 3)
+
+/*
* EXT driver system settings.
*/
#define STM32_EXT_EXTI0_1_IRQ_PRIORITY 3
diff --git a/readme.txt b/readme.txt
index aa6abae00..8806b541c 100644
--- a/readme.txt
+++ b/readme.txt
@@ -126,6 +126,8 @@
- RT: Merged RT4.
- NIL: Merged NIL2.
- NIL: Added STM32F7 demo.
+- HAL: Added DAC configs in RT-STM32F051-DISCOVERY\mcuconf.h (bug #777)
+ (backported to 16.1.6, 3.0.6).
- HAL: Fixed DAC driver not compiling on STM32F051 and some bitmasks related
to DAC disabling (bug #776)(backported to 16.1.6, 3.0.6).
- HAL: Fixed addition semicolon in cpp wrapper (bug #774)