Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
multipass
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
derf
multipass
Commits
6ba8a2e8
Unverified
Commit
6ba8a2e8
authored
3 years ago
by
Birte Kristina Friesel
Browse files
Options
Downloads
Patches
Plain Diff
Remove obsolet ccs811test (included in datalogger)
parent
35a98377
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/ccs811test/Makefile.inc
+0
-12
0 additions, 12 deletions
src/app/ccs811test/Makefile.inc
src/app/ccs811test/main.cc
+0
-39
0 additions, 39 deletions
src/app/ccs811test/main.cc
with
0 additions
and
51 deletions
src/app/ccs811test/Makefile.inc
deleted
100644 → 0
+
0
−
12
View file @
35a98377
# vim:ft=make
#
# Copyright 2020 Daniel Friesel
#
# SPDX-License-Identifier: CC0-1.0
ifdef
app
override
arch_drivers
+=
,i2c
CONFIG_driver_ccs811
=
y
COMMON_FLAGS
+=
-DCONFIG_driver_ccs811
loop
=
1
endif
This diff is collapsed.
Click to expand it.
src/app/ccs811test/main.cc
deleted
100644 → 0
+
0
−
39
View file @
35a98377
/*
* Copyright 2020 Daniel Friesel
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include
"arch.h"
#include
"driver/gpio.h"
#include
"driver/stdout.h"
#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(CONFIG_driver_softi2c)
#include
"driver/i2c.h"
#else
#include
"driver/soft_i2c.h"
#endif
#include
"driver/ccs811.h"
void
loop
(
void
)
{
kout
<<
"CCS811 status is "
<<
ccs811
.
check
()
<<
endl
;
}
int
main
(
void
)
{
arch
.
setup
();
gpio
.
setup
();
kout
.
setup
();
if
(
i2c
.
setup
()
!=
0
)
{
return
1
;
}
kout
<<
"I2C setup OK"
<<
endl
;
ccs811
.
init
();
arch
.
idle_loop
();
return
0
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment