Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ezynq
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
ezynq
Commits
ec6809b4
Commit
ec6809b4
authored
Oct 16, 2013
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set GPIO MIO[7] as outoput = 1
parent
63847ee0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
test.mk
test.mk
+1
-0
zed_ezynq.h
u-boot-tree/include/configs/ezynq/zed_ezynq.h
+6
-5
No files found.
test.mk
View file @
ec6809b4
...
...
@@ -121,6 +121,7 @@ CONFIG_EZYNQ_MIO_UART_1=48 # 8+4*N
#CONFIG_EZYNQ_MIO_INOUT_7= OUT # 'IN', 'BIDIR'
CONFIG_EZYNQ_MIO_GPIO_OUT_7= 1 # Set selected GPIO output to 0/1
CONFIG_EZYNQ_MIO_GPIO_OUT_47= 1 # Set selected GPIO output to 0/1
...
...
u-boot-tree/include/configs/ezynq/zed_ezynq.h
View file @
ec6809b4
...
...
@@ -58,16 +58,17 @@
#define CONFIG_EZYNQ_MIO_ETH_MDIO__SLOW
#define CONFIG_EZYNQ_MIO_USB_0__SLOW
#define CONFIG_EZYNQ_MIO_USB_0__PULLUP
#define CONFIG_EZYNQ_MIO_SDIO_0 40
// 16,28,40
#define CONFIG_EZYNQ_MIO_SDIO_0 40
/* 16,28,40 */
#define CONFIG_EZYNQ_MIO_SDIO_0__SLOW
#define CONFIG_EZYNQ_MIO_SDIO_0__PULLUP
#define CONFIG_EZYNQ_MIO_SDCD_0 46
//#any but 7,8
#define CONFIG_EZYNQ_MIO_SDCD_0 46
/* any but 7,8 */
#define CONFIG_EZYNQ_MIO_SDCD_0__PULLUP
#define CONFIG_EZYNQ_MIO_SDWP_0 50
//#any but 7,8
#define CONFIG_EZYNQ_MIO_SDWP_0 50
/* #any but 7,8 */
#define CONFIG_EZYNQ_MIO_SDWP_0__PULLUP
#define CONFIG_EZYNQ_MIO_UART_1 48
//# 8+4*N
#define CONFIG_EZYNQ_MIO_UART_1 48
/* # 8+4*N */
/* LED will be OFF */
#define CONFIG_EZYNQ_MIO_INOUT_47 OUT
#define CONFIG_EZYNQ_MIO_INOUT_47 OUT
/* Make output, do not set data. Will be set after debug will be over */
#define CONFIG_EZYNQ_MIO_GPIO_OUT_7= 1
/* Set selected GPIO output to 0/1 */
/*
Red LED - pullup, input - on,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment