Commit 57d5e207 authored by Johny Mattsson's avatar Johny Mattsson
Browse files

Imported latest SDK 1.4.0 on the side in prep for upgrade.

parent 093a8959
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#ifndef __GPIO16_H__
#define __GPIO16_H__
void gpio16_output_conf(void);
void gpio16_output_set(uint8 value);
void gpio16_input_conf(void);
uint8 gpio16_input_get(void);
#endif
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
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#ifndef __USER_CONFIG_H__
#define __USER_CONFIG_H__
#endif
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment