Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
17b5e854
Commit
17b5e854
authored
Jul 10, 2020
by
Peter Jansweijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spec7: don't put eeprom device/i2c bus on the stack!
parent
a022a284
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
board.c
boards/spec7/board.c
+3
-2
No files found.
boards/spec7/board.c
View file @
17b5e854
...
...
@@ -94,13 +94,14 @@ int wrc_board_early_init()
return
0
;
}
struct
i2c_bus
dev_i2c_eeprom
;
struct
i2c_eeprom_device
wrc_eeprom_dev
;
int
wrc_board_init
()
{
// int memtype;
// uint32_t sdbfs_entry;
// uint32_t sector_size;
struct
i2c_bus
dev_i2c_eeprom
;
struct
i2c_eeprom_device
wrc_eeprom_dev
;
/*
* declare GPIO pins and configure their directions for bit-banging SPI
...
...
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