Fixed small ident, readme file and Makefile.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9896 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
4600e6fc46
commit
ef75851d10
|
@ -68,7 +68,7 @@ typedef uint8_t eventmask_t; /**< Mask of event identifiers. */
|
|||
typedef uint8_t eventflags_t; /**< Mask of event flags. */
|
||||
typedef int8_t cnt_t; /**< Generic signed counter. */
|
||||
typedef uint8_t ucnt_t; /**< Generic unsigned counter. */
|
||||
typedef bool bool_t; /**< Fast boolean type. */
|
||||
typedef bool bool_t; /**< Fast boolean type. */
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
|
|
@ -152,7 +152,7 @@ struct ADCDriver {
|
|||
/**
|
||||
* @brief Mutex protecting the peripheral.
|
||||
*/
|
||||
mutex_t mutex;
|
||||
mutex_t mutex;
|
||||
#elif CH_CFG_USE_SEMAPHORES
|
||||
Semaphore semaphore;
|
||||
#endif
|
||||
|
|
|
@ -73,13 +73,9 @@ SRC = $(KERNSRC) \
|
|||
$(HALSRC) \
|
||||
$(PLATFORMSRC) \
|
||||
$(BOARDSRC) \
|
||||
$(STREAMSSRC) \
|
||||
$(CHIBIOS)/os/various/evtimer.c \
|
||||
main.c
|
||||
|
||||
#ip_motor.c \
|
||||
#ip_ext.c \
|
||||
#ip_adc.c \ # Add the support of A8-A15 on arduino Mega board.
|
||||
$(STREAMSSRC) \
|
||||
$(CHIBIOS)/os/various/evtimer.c \
|
||||
main.c
|
||||
|
||||
# List C++ source files here. (C dependencies are automatically generated.)
|
||||
CPPSRC =
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
*****************************************************************************
|
||||
** ChibiOS/RT I2C test on Atmel AVR ATmega1280. **
|
||||
** ChibiOS/RT ADC test on Atmel AVR ATmega2560. **
|
||||
*****************************************************************************
|
||||
|
||||
** TARGET **
|
||||
|
@ -8,10 +8,10 @@ The test demo runs on an Arduino Mega board.
|
|||
|
||||
** The Demo **
|
||||
|
||||
This test blinks the onboard LED and also writes/reads to a 24C64 connected
|
||||
to the I2C pins (PD0/PD1 on the ATmega1280). There's no feedback provided but
|
||||
the I2C can easily be analyzed with any logic analyzer or sniffing with a
|
||||
buspirate or similar device.
|
||||
This test blinks the onboard LED and also prints the result of the ADC
|
||||
conversion to the Serial0. A voltmeter can be use to compare the printed
|
||||
value to the value on pin A0 of the arduino board. To make this test, a
|
||||
potentiometer is connected to the pin A0 of the board.
|
||||
|
||||
** Build Procedure **
|
||||
|
||||
|
|
Loading…
Reference in New Issue