You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2017/04/25 02:22:34 UTC
[1/2] incubator-mynewt-core git commit: Misc: Add some required
includes to .h files.
Repository: incubator-mynewt-core
Updated Branches:
refs/heads/master 843e03dde -> 5ec317d45
Misc: Add some required includes to .h files.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/b16eed63
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/b16eed63
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/b16eed63
Branch: refs/heads/master
Commit: b16eed6379619272d4ec0dee5dc0f86ee8b64607
Parents: 843e03d
Author: Christopher Collins <cc...@apache.org>
Authored: Mon Apr 24 19:04:21 2017 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Mon Apr 24 19:20:57 2017 -0700
----------------------------------------------------------------------
hw/hal/include/hal/hal_timer.h | 3 +++
kernel/os/include/os/os.h | 5 +++--
sys/stats/full/include/stats/stats.h | 1 +
3 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b16eed63/hw/hal/include/hal/hal_timer.h
----------------------------------------------------------------------
diff --git a/hw/hal/include/hal/hal_timer.h b/hw/hal/include/hal/hal_timer.h
index a2f717a..1937130 100644
--- a/hw/hal/include/hal/hal_timer.h
+++ b/hw/hal/include/hal/hal_timer.h
@@ -20,6 +20,9 @@
#ifndef H_HAL_TIMER_
#define H_HAL_TIMER_
+#include <inttypes.h>
+#include "os/queue.h"
+
#ifdef __cplusplus
extern "C" {
#endif
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b16eed63/kernel/os/include/os/os.h
----------------------------------------------------------------------
diff --git a/kernel/os/include/os/os.h b/kernel/os/include/os/os.h
index c8734d4..e37b913 100644
--- a/kernel/os/include/os/os.h
+++ b/kernel/os/include/os/os.h
@@ -72,10 +72,10 @@ enum os_error {
OS_TIMEOUT = 6,
OS_ERR_IN_ISR = 7, /* Function cannot be called from ISR */
OS_ERR_PRIV = 8, /* Privileged access error */
- OS_NOT_STARTED = 9, /* Operating must be started to call this function, but isn't */
+ OS_NOT_STARTED = 9, /* OS must be started to call this function, but isn't */
OS_ENOENT = 10, /* No such thing */
OS_EBUSY = 11, /* Resource busy */
- OS_ERROR = 12, /* Generic Error */
+ OS_ERROR = 12, /* Generic Error */
};
#define OS_WAIT_FOREVER (-1)
@@ -96,6 +96,7 @@ void os_init_idle_task(void);
#include "os/endian.h"
#include "os/os_arch.h"
#include "os/os_callout.h"
+#include "os/os_cputime.h"
#include "os/os_dev.h"
#include "os/os_eventq.h"
#include "os/os_heap.h"
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b16eed63/sys/stats/full/include/stats/stats.h
----------------------------------------------------------------------
diff --git a/sys/stats/full/include/stats/stats.h b/sys/stats/full/include/stats/stats.h
index 1f381f1..5de0142 100644
--- a/sys/stats/full/include/stats/stats.h
+++ b/sys/stats/full/include/stats/stats.h
@@ -19,6 +19,7 @@
#ifndef __UTIL_STATS_H__
#define __UTIL_STATS_H__
+#include <stddef.h>
#include <stdint.h>
#include "syscfg/syscfg.h"
#include "os/queue.h"
[2/2] incubator-mynewt-core git commit: nrf52dk bsp - Delete empty
file.
Posted by cc...@apache.org.
nrf52dk bsp - Delete empty file.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/5ec317d4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/5ec317d4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/5ec317d4
Branch: refs/heads/master
Commit: 5ec317d4553d2990a0ed2f2addb3fe0b73744bd4
Parents: b16eed6
Author: Christopher Collins <cc...@apache.org>
Authored: Mon Apr 24 19:04:55 2017 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Mon Apr 24 19:20:58 2017 -0700
----------------------------------------------------------------------
hw/bsp/nrf52dk/include/bsp/boards.h | 19 -------------------
1 file changed, 19 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5ec317d4/hw/bsp/nrf52dk/include/bsp/boards.h
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf52dk/include/bsp/boards.h b/hw/bsp/nrf52dk/include/bsp/boards.h
deleted file mode 100644
index 560c31f..0000000
--- a/hw/bsp/nrf52dk/include/bsp/boards.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-