Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Beam Positoning Monitor - Software
Commits
7c005710
Commit
7c005710
authored
Apr 19, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
{include,src}/*/chips_addr*: move Si57x/AD9510 chips definitions to common files
parent
f212bfac
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
41 additions
and
18 deletions
+41
-18
Makefile
Makefile
+1
-0
chips_addr.h
include/boards/afcv3/chips_addr.h
+0
-6
chips_addr.h
include/boards/afcv3_1/chips_addr.h
+0
-6
chips_addr.h
include/boards/ml605/chips_addr.h
+0
-6
chips_addr_common.h
include/chips_addr_common.h
+22
-0
chips_addr_common.c
src/boards/common/chips_addr_common.c
+13
-0
common.mk
src/boards/common/common.mk
+5
-0
No files found.
Makefile
View file @
7c005710
...
...
@@ -217,6 +217,7 @@ include $(SRC_DIR)/dev_io/dev_io.mk
include
$(SRC_DIR)/msg/msg.mk
include
$(SRC_DIR)/revision/revision.mk
include
$(SRC_DIR)/boards/$(BOARD)/board.mk
include
$(SRC_DIR)/boards/common/common.mk
include
$(APPS_MKS)
# Project boards
...
...
include/boards/afcv3/chips_addr.h
View file @
7c005710
...
...
@@ -8,17 +8,11 @@
#ifndef _CHIPS_ADDR_H_
#define _CHIPS_ADDR_H_
extern
const
uint32_t
fmc130m_4ch_si571_addr
[
NUM_FMC130M_4CH_SMIOS
];
extern
const
uint32_t
fmc130m_4ch_ad9510_addr
[
NUM_FMC130M_4CH_SMIOS
];
extern
const
uint32_t
fmc130m_4ch_24aa64_addr
[
NUM_FMC130M_4CH_SMIOS
];
extern
const
uint32_t
fmc130m_4ch_lm75a_addr
[
NUM_FMC130M_4CH_SMIOS
][
NUM_FMC130M_4CH_LM75A
];
extern
const
uint32_t
fmc130m_4ch_pca9547_addr
[
NUM_FMC130M_4CH_SMIOS
];
extern
const
uint32_t
fmc250m_4ch_si571_addr
[
NUM_FMC250M_4CH_SMIOS
];
extern
const
uint32_t
fmc250m_4ch_ad9510_addr
[
NUM_FMC250M_4CH_SMIOS
];
extern
const
uint32_t
fmc250m_4ch_24aa64_addr
[
NUM_FMC250M_4CH_SMIOS
];
extern
const
uint32_t
fmc250m_4ch_amc7823_addr
[
NUM_FMC250M_4CH_SMIOS
];
...
...
include/boards/afcv3_1/chips_addr.h
View file @
7c005710
...
...
@@ -8,17 +8,11 @@
#ifndef _CHIPS_ADDR_H_
#define _CHIPS_ADDR_H_
extern
const
uint32_t
fmc130m_4ch_si571_addr
[
NUM_FMC130M_4CH_SMIOS
];
extern
const
uint32_t
fmc130m_4ch_ad9510_addr
[
NUM_FMC130M_4CH_SMIOS
];
extern
const
uint32_t
fmc130m_4ch_24aa64_addr
[
NUM_FMC130M_4CH_SMIOS
];
extern
const
uint32_t
fmc130m_4ch_lm75a_addr
[
NUM_FMC130M_4CH_SMIOS
][
NUM_FMC130M_4CH_LM75A
];
extern
const
uint32_t
fmc130m_4ch_pca9547_addr
[
NUM_FMC130M_4CH_SMIOS
];
extern
const
uint32_t
fmc250m_4ch_si571_addr
[
NUM_FMC250M_4CH_SMIOS
];
extern
const
uint32_t
fmc250m_4ch_ad9510_addr
[
NUM_FMC250M_4CH_SMIOS
];
extern
const
uint32_t
fmc250m_4ch_24aa64_addr
[
NUM_FMC250M_4CH_SMIOS
];
extern
const
uint32_t
fmc250m_4ch_amc7823_addr
[
NUM_FMC250M_4CH_SMIOS
];
...
...
include/boards/ml605/chips_addr.h
View file @
7c005710
...
...
@@ -8,17 +8,11 @@
#ifndef _CHIPS_ADDR_H_
#define _CHIPS_ADDR_H_
extern
const
uint32_t
fmc130m_4ch_si571_addr
[
NUM_FMC130M_4CH_SMIOS
];
extern
const
uint32_t
fmc130m_4ch_ad9510_addr
[
NUM_FMC130M_4CH_SMIOS
];
extern
const
uint32_t
fmc130m_4ch_24aa64_addr
[
NUM_FMC130M_4CH_SMIOS
];
extern
const
uint32_t
fmc130m_4ch_lm75a_addr
[
NUM_FMC130M_4CH_SMIOS
][
NUM_FMC130M_4CH_LM75A
];
extern
const
uint32_t
fmc130m_4ch_pca9547_addr
[
NUM_FMC130M_4CH_SMIOS
];
extern
const
uint32_t
fmc250m_4ch_si571_addr
[
NUM_FMC250M_4CH_SMIOS
];
extern
const
uint32_t
fmc250m_4ch_ad9510_addr
[
NUM_FMC250M_4CH_SMIOS
];
extern
const
uint32_t
fmc250m_4ch_24aa64_addr
[
NUM_FMC250M_4CH_SMIOS
];
extern
const
uint32_t
fmc250m_4ch_amc7823_addr
[
NUM_FMC250M_4CH_SMIOS
];
...
...
include/chips_addr_common.h
0 → 100644
View file @
7c005710
/*
* Copyright (C) 2015 LNLS (www.lnls.br)
* Author: Lucas Russo <lucas.russo@lnls.br>
*
* Released according to the GNU GPL, version 3 or any later version.
*/
#ifndef _CHIPS_ADDR_COMMON_H_
#define _CHIPS_ADDR_COMMON_H_
#ifdef __cplusplus
extern
"C"
{
#endif
extern
const
uint32_t
fmc_active_clk_si571_addr
;
extern
const
uint32_t
fmc_active_clk_ad9510_addr
;
#ifdef __cplusplus
}
#endif
#endif
src/boards/common/chips_addr_common.c
0 → 100644
View file @
7c005710
/*
* Copyright (C) 2016 LNLS (www.lnls.br)
* Author: Lucas Russo <lucas.russo@lnls.br>
*
* Released according to the GNU GPL, version 3 or any later version.
*/
#include "bpm_server.h"
/* FMC ACTIVE CLOCK chip addresses */
const
uint32_t
fmc_active_clk_si571_addr
=
0x49
;
const
uint32_t
fmc_active_clk_ad9510_addr
=
0x01
;
src/boards/common/common.mk
0 → 100644
View file @
7c005710
board_common_DIR = $(SRC_DIR)/boards/common
board_common_OBJS = \
$(board_common_DIR)/chips_addr_common.o
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