nodemcu-firmware/sdk/esp_iot_sdk_v1.4.0/examples/driver_lib
Johny Mattsson 57d5e2072e Imported latest SDK 1.4.0 on the side in prep for upgrade. 2015-10-12 13:00:38 +11:00
..
driver Imported latest SDK 1.4.0 on the side in prep for upgrade. 2015-10-12 13:00:38 +11:00
include/driver Imported latest SDK 1.4.0 on the side in prep for upgrade. 2015-10-12 13:00:38 +11:00
readme.txt Imported latest SDK 1.4.0 on the side in prep for upgrade. 2015-10-12 13:00:38 +11:00

readme.txt

STEP 1: Copy driver and include folders to your project sub-folder, such as app folder. Unused drivers can be removed in your project.

STEP 2: Modify Makefile in app folder.
    1). Search SUBDIRS, add driver as subdir:
        SUBDIRS=    \
	    user    \
	    driver

    2). Search COMPONENTS_eagle.app.v6, add libdriver.a:
        COMPONENTS_eagle.app.v6 = \
	   user/libuser.a  \
	   driver/libdriver.a