LPC43xx ADC: board.h should be included last; Also, unreleated, update tools/README.txt

This commit is contained in:
Gregory Nutt 2016-07-30 07:05:10 -06:00
parent 5ddeffdef8
commit d9314c1034
2 changed files with 16 additions and 1 deletions

View File

@ -59,7 +59,6 @@
#include <assert.h> #include <assert.h>
#include <debug.h> #include <debug.h>
#include <arch/board/board.h>
#include <nuttx/irq.h> #include <nuttx/irq.h>
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <nuttx/analog/adc.h> #include <nuttx/analog/adc.h>
@ -80,6 +79,12 @@
#include "lpc43_pinconfig.h" #include "lpc43_pinconfig.h"
/* board.h should be included last because it depends on the previous
* inclusions and may need to modify other definitions.
*/
#include <arch/board/board.h>
#if defined(CONFIG_LPC43_ADC0) /* TODO ADC1 */ #if defined(CONFIG_LPC43_ADC0) /* TODO ADC1 */
/**************************************************************************** /****************************************************************************

View File

@ -104,6 +104,16 @@ kconfig2html.c
<Kconfig root> is the directory containing the root Kconfig file. <Kconfig root> is the directory containing the root Kconfig file.
Default <Kconfig directory>: . Default <Kconfig directory>: .
NOTE: In order to use this tool, some configuration must be in-place will
all necessary symbolic links. You can establish the configured symbolic
links with:
make context
or more quickly with:
make dirlinks
mkconfigvars.sh mkconfigvars.sh
--------------- ---------------