summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-12-25 18:11:08 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-12-25 18:11:08 +0100
commit6ba8a2e84688e6a020fd854c13dda73c78ad1113 (patch)
treeb2efcfea92b4ccfaafb7c53358e704e621a25305
parent35a98377f52caf5ac37c2e932b9f2d4c9196c195 (diff)
Remove obsolet ccs811test (included in datalogger)
-rw-r--r--src/app/ccs811test/Makefile.inc12
-rw-r--r--src/app/ccs811test/main.cc39
2 files changed, 0 insertions, 51 deletions
diff --git a/src/app/ccs811test/Makefile.inc b/src/app/ccs811test/Makefile.inc
deleted file mode 100644
index 6ca8774..0000000
--- a/src/app/ccs811test/Makefile.inc
+++ /dev/null
@@ -1,12 +0,0 @@
-# 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
diff --git a/src/app/ccs811test/main.cc b/src/app/ccs811test/main.cc
deleted file mode 100644
index da51546..0000000
--- a/src/app/ccs811test/main.cc
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * 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;
-}