Add test in common headers for improper inclusion of such files in application.

(prevents inclusion and also issues warning)
Changes to some source files to remove references to common headers.
Changes to rng.h to make guard symbols the same in f2 and f4.
This commit is contained in:
Ken Sarkies
2013-03-07 18:35:04 +10:30
parent e2022f5884
commit a9a85f080b
23 changed files with 128 additions and 26 deletions

View File

@@ -68,7 +68,6 @@ Example 2: Digital input on port C12 with pullup
/**@{*/
#include <libopencm3/stm32/common/gpio_common_all.h>
#include <libopencm3/stm32/gpio.h>
/*-----------------------------------------------------------------------------*/

View File

@@ -73,7 +73,6 @@ LGPL License Terms @ref lgpl_license
*/
#include <libopencm3/stm32/gpio.h>
#include <libopencm3/stm32/common/gpio_common_all.h>
/**@{*/

View File

@@ -29,5 +29,3 @@ LGPL License Terms @ref lgpl_license
*/
#include <libopencm3/stm32/gpio.h>
#include <libopencm3/stm32/common/gpio_common_f24.h>

View File

@@ -29,5 +29,3 @@ LGPL License Terms @ref lgpl_license
*/
#include <libopencm3/stm32/gpio.h>
#include <libopencm3/stm32/common/gpio_common_f24.h>

View File

@@ -29,5 +29,3 @@ LGPL License Terms @ref lgpl_license
*/
#include <libopencm3/stm32/gpio.h>
#include <libopencm3/stm32/common/gpio_common_all.h>