Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
linux-elphel
Commits
6dc7907d
Commit
6dc7907d
authored
Feb 26, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more tweaking of the CDT
parent
7b1c2985
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
69 additions
and
37 deletions
+69
-37
.cproject
.cproject
+40
-17
bitbake compile -f [Builder].launch
.externalToolBuilders/bitbake compile -f [Builder].launch
+12
-0
bitbake compile [Builder].launch
.externalToolBuilders/bitbake compile [Builder].launch
+2
-1
bitbake deploy [Builder].launch
.externalToolBuilders/bitbake deploy [Builder].launch
+1
-0
org.eclipse.cdt.managedbuilder.core.genmakebuilder.launch
...org.eclipse.cdt.managedbuilder.core.genmakebuilder.launch
+0
-7
.project
.project
+9
-3
language.settings.xml
.settings/language.settings.xml
+1
-1
elphel393-mem.c
src/drivers/elphel/elphel393-mem.c
+4
-8
No files found.
.cproject
View file @
6dc7907d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
.externalToolBuilders/bitbake compile -f [Builder].launch
0 → 100644
View file @
6dc7907d
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration
type=
"org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType"
>
<booleanAttribute
key=
"org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND"
value=
"false"
/>
<listAttribute
key=
"org.eclipse.debug.ui.favoriteGroups"
>
<listEntry
value=
"org.eclipse.ui.externaltools.launchGroup"
/>
</listAttribute>
<booleanAttribute
key=
"org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED"
value=
"false"
/>
<stringAttribute
key=
"org.eclipse.ui.externaltools.ATTR_LOCATION"
value=
"${workspace_loc:/linux-elphel/run_bitbake.sh}"
/>
<stringAttribute
key=
"org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS"
value=
"clean"
/>
<stringAttribute
key=
"org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
value=
"linux-xlnx -c compile -f"
/>
<booleanAttribute
key=
"org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED"
value=
"true"
/>
</launchConfiguration>
.externalToolBuilders/bitbake compile [Builder].launch
View file @
6dc7907d
...
@@ -4,9 +4,10 @@
...
@@ -4,9 +4,10 @@
<listAttribute
key=
"org.eclipse.debug.ui.favoriteGroups"
>
<listAttribute
key=
"org.eclipse.debug.ui.favoriteGroups"
>
<listEntry
value=
"org.eclipse.ui.externaltools.launchGroup"
/>
<listEntry
value=
"org.eclipse.ui.externaltools.launchGroup"
/>
</listAttribute>
</listAttribute>
<booleanAttribute
key=
"org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED"
value=
"false"
/>
<stringAttribute
key=
"org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
value=
"${none}"
/>
<stringAttribute
key=
"org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
value=
"${none}"
/>
<stringAttribute
key=
"org.eclipse.ui.externaltools.ATTR_LOCATION"
value=
"${workspace_loc:/linux-elphel/run_bitbake.sh}"
/>
<stringAttribute
key=
"org.eclipse.ui.externaltools.ATTR_LOCATION"
value=
"${workspace_loc:/linux-elphel/run_bitbake.sh}"
/>
<stringAttribute
key=
"org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS"
value=
"incremental,"
/>
<stringAttribute
key=
"org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS"
value=
"incremental,"
/>
<stringAttribute
key=
"org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
value=
"linux-xlnx -c compile
-f
"
/>
<stringAttribute
key=
"org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
value=
"linux-xlnx -c compile"
/>
<booleanAttribute
key=
"org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED"
value=
"true"
/>
<booleanAttribute
key=
"org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED"
value=
"true"
/>
</launchConfiguration>
</launchConfiguration>
.externalToolBuilders/bitbake deploy [Builder].launch
View file @
6dc7907d
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<listAttribute
key=
"org.eclipse.debug.ui.favoriteGroups"
>
<listAttribute
key=
"org.eclipse.debug.ui.favoriteGroups"
>
<listEntry
value=
"org.eclipse.ui.externaltools.launchGroup"
/>
<listEntry
value=
"org.eclipse.ui.externaltools.launchGroup"
/>
</listAttribute>
</listAttribute>
<booleanAttribute
key=
"org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED"
value=
"false"
/>
<stringAttribute
key=
"org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
value=
"${none}"
/>
<stringAttribute
key=
"org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
value=
"${none}"
/>
<stringAttribute
key=
"org.eclipse.ui.externaltools.ATTR_LOCATION"
value=
"${workspace_loc:/linux-elphel/run_bitbake.sh}"
/>
<stringAttribute
key=
"org.eclipse.ui.externaltools.ATTR_LOCATION"
value=
"${workspace_loc:/linux-elphel/run_bitbake.sh}"
/>
<stringAttribute
key=
"org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS"
value=
"incremental,"
/>
<stringAttribute
key=
"org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS"
value=
"incremental,"
/>
...
...
.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.genmakebuilder.launch
deleted
100644 → 0
View file @
7b1c2985
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration
type=
"org.eclipse.ant.AntBuilderLaunchConfigurationType"
>
<booleanAttribute
key=
"org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED"
value=
"false"
/>
<stringAttribute
key=
"org.eclipse.ui.externaltools.ATTR_DISABLED_BUILDER"
value=
"org.eclipse.cdt.managedbuilder.core.genmakebuilder"
/>
<mapAttribute
key=
"org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
/>
<booleanAttribute
key=
"org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED"
value=
"true"
/>
</launchConfiguration>
.project
View file @
6dc7907d
...
@@ -5,23 +5,29 @@
...
@@ -5,23 +5,29 @@
<projects>
<projects>
</projects>
</projects>
<buildSpec>
<buildSpec>
<buildCommand>
<name>
org.eclipse.cdt.managedbuilder.core.genmakebuilder
</name>
<triggers>
full,incremental,
</triggers>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<buildCommand>
<name>
org.eclipse.ui.externaltools.ExternalToolBuilder
</name>
<name>
org.eclipse.ui.externaltools.ExternalToolBuilder
</name>
<triggers>
full,incremental,
</triggers>
<triggers>
full,incremental,
</triggers>
<arguments>
<arguments>
<dictionary>
<dictionary>
<key>
LaunchConfigHandle
</key>
<key>
LaunchConfigHandle
</key>
<value>
<
project
>
/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.
genmakeb
uilder.launch
</value>
<value>
<
project
>
/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.
ScannerConfigB
uilder.launch
</value>
</dictionary>
</dictionary>
</arguments>
</arguments>
</buildCommand>
</buildCommand>
<buildCommand>
<buildCommand>
<name>
org.eclipse.ui.externaltools.ExternalToolBuilder
</name>
<name>
org.eclipse.ui.externaltools.ExternalToolBuilder
</name>
<triggers>
full,incremental
,
</triggers>
<triggers>
clean
,
</triggers>
<arguments>
<arguments>
<dictionary>
<dictionary>
<key>
LaunchConfigHandle
</key>
<key>
LaunchConfigHandle
</key>
<value>
<
project
>
/.externalToolBuilders/
org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
.launch
</value>
<value>
<
project
>
/.externalToolBuilders/
bitbake compile -f [Builder]
.launch
</value>
</dictionary>
</dictionary>
</arguments>
</arguments>
</buildCommand>
</buildCommand>
...
...
.settings/language.settings.xml
View file @
6dc7907d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<project>
<project>
<configuration
id=
"cdt.managedbuild.toolchain.gnu.base.1636449201"
name=
"Default"
>
<configuration
id=
"cdt.managedbuild.toolchain.gnu.base.1636449201"
name=
"Default"
>
<extension
point=
"org.eclipse.cdt.core.LanguageSettingsProvider"
>
<extension
point=
"org.eclipse.cdt.core.LanguageSettingsProvider"
>
<provider
c
lass=
"org.eclipse.cdt.core.language.settings.providers.LanguageSettingsGenericProvider"
id=
"org.eclipse.cdt.ui.UserLanguageSettingsProvider"
name=
"CDT User Setting Entries"
prefer-non-shared=
"true
"
/>
<provider
c
opy-of=
"extension"
id=
"org.eclipse.cdt.ui.UserLanguageSettingsProvider
"
/>
<provider-reference
id=
"org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider"
ref=
"shared-provider"
/>
<provider-reference
id=
"org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider"
ref=
"shared-provider"
/>
</extension>
</extension>
</configuration>
</configuration>
...
...
src/drivers/elphel/elphel393-mem.c
View file @
6dc7907d
...
@@ -35,14 +35,7 @@
...
@@ -35,14 +35,7 @@
#define SYSFS_WRITEONLY 0222
#define SYSFS_WRITEONLY 0222
static
ssize_t
get_paddr
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
char
*
buf
);
static
ssize_t
get_paddr
(
struct
device
*
dev
,
struct
device_attribute
*
attr
,
char
*
buf
);
/*
struct elphel_buf_t
{
void *vaddr;
dma_addr_t paddr;
ssize_t size;
};
*/
static
struct
elphel_buf_t
_elphel_buf
=
{
static
struct
elphel_buf_t
_elphel_buf
=
{
.
vaddr
=
NULL
,
.
vaddr
=
NULL
,
.
paddr
=
0
,
.
paddr
=
0
,
...
@@ -51,6 +44,7 @@ static struct elphel_buf_t _elphel_buf = {
...
@@ -51,6 +44,7 @@ static struct elphel_buf_t _elphel_buf = {
struct
elphel_buf_t
elphel_buf
;
// static can not be extern
struct
elphel_buf_t
elphel_buf
;
// static can not be extern
EXPORT_SYMBOL_GPL
(
elphel_buf
);
EXPORT_SYMBOL_GPL
(
elphel_buf
);
static
int
__init
elphelmem_init
(
void
)
static
int
__init
elphelmem_init
(
void
)
{
{
...
@@ -59,6 +53,8 @@ static int __init elphelmem_init(void)
...
@@ -59,6 +53,8 @@ static int __init elphelmem_init(void)
elphel_buf
=
_elphel_buf
;
// static can not be extern
elphel_buf
=
_elphel_buf
;
// static can not be extern
node
=
of_find_node_by_name
(
NULL
,
"elphel393-mem"
);
node
=
of_find_node_by_name
(
NULL
,
"elphel393-mem"
);
if
(
!
node
)
if
(
!
node
)
{
{
...
...
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