aboutsummaryrefslogtreecommitdiffstats
path: root/halext/readme.txt
blob: 1123e82752fd8cf4dcfa7e3881d2c115de1d00f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
To include any of these functions/drivers in your project...

	1/ Specify the path to the LCDLIB. If none defined, default is $(CHIBIOS)/ext/lcd

	2/ In your project Makefile (amongst similiar lines but after the hal line) add the line...
		include $(LCDLIB)/lcd.mk

	3/ In your project Makefile add the makefiles for any specific drivers you want e.g
		include $(LCDLIB)/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.mk

	4/ In your project halconf.h turn on the support you want eg.
		/**
		 * @brief   Enables the Touchpad subsystem.
		 */
		#if !defined(HAL_USE_TOUCHPAD) || defined(__DOXYGEN__)
			#define HAL_USE_TOUCHPAD           TRUE
		#endif

	5/ Do a make clean.