You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2016/05/19 16:51:22 UTC
[10/18] incubator-mynewt-core git commit: bsp;
rename os_bsp_init() to bsp_init().
bsp; rename os_bsp_init() to bsp_init().
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/73686082
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/73686082
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/73686082
Branch: refs/heads/develop
Commit: 73686082bd2318d672c9a7993819d598a838c018
Parents: 807955e
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Wed May 18 10:57:16 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Thu May 19 09:35:45 2016 -0700
----------------------------------------------------------------------
hw/bsp/bmd300eval/src/os_bsp.c | 2 +-
hw/bsp/native/src/os_bsp.c | 3 +--
hw/bsp/nrf51dk-16kbram/src/os_bsp.c | 2 +-
hw/bsp/nrf51dk/src/os_bsp.c | 2 +-
hw/bsp/nrf52dk/src/os_bsp.c | 2 +-
hw/bsp/nrf52pdk/src/os_bsp.c | 2 +-
hw/bsp/olimex_stm32-e407_devboard/src/os_bsp.c | 2 +-
hw/hal/include/hal/hal_bsp.h | 2 +-
libs/os/src/arch/cortex_m0/os_arch_arm.c | 2 +-
libs/os/src/arch/cortex_m4/os_arch_arm.c | 2 +-
libs/os/src/arch/sim/os_arch_sim.c | 2 +-
11 files changed, 11 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/73686082/hw/bsp/bmd300eval/src/os_bsp.c
----------------------------------------------------------------------
diff --git a/hw/bsp/bmd300eval/src/os_bsp.c b/hw/bsp/bmd300eval/src/os_bsp.c
index 66c1ceb..161d138 100644
--- a/hw/bsp/bmd300eval/src/os_bsp.c
+++ b/hw/bsp/bmd300eval/src/os_bsp.c
@@ -65,7 +65,7 @@ bsp_imgr_current_slot(void)
}
void
-os_bsp_init(void)
+bsp_init(void)
{
/*
* XXX this reference is here to keep this function in.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/73686082/hw/bsp/native/src/os_bsp.c
----------------------------------------------------------------------
diff --git a/hw/bsp/native/src/os_bsp.c b/hw/bsp/native/src/os_bsp.c
index 0764ee5..a0782f3 100644
--- a/hw/bsp/native/src/os_bsp.c
+++ b/hw/bsp/native/src/os_bsp.c
@@ -64,9 +64,8 @@ bsp_imgr_current_slot(void)
}
void
-os_bsp_init(void)
+bsp_init(void)
{
flash_area_init(bsp_flash_areas,
sizeof(bsp_flash_areas) / sizeof(bsp_flash_areas[0]));
-
}
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/73686082/hw/bsp/nrf51dk-16kbram/src/os_bsp.c
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51dk-16kbram/src/os_bsp.c b/hw/bsp/nrf51dk-16kbram/src/os_bsp.c
index 07230b0..98088a7 100644
--- a/hw/bsp/nrf51dk-16kbram/src/os_bsp.c
+++ b/hw/bsp/nrf51dk-16kbram/src/os_bsp.c
@@ -64,7 +64,7 @@ bsp_imgr_current_slot(void)
}
void
-os_bsp_init(void)
+bsp_init(void)
{
/*
* XXX this reference is here to keep this function in.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/73686082/hw/bsp/nrf51dk/src/os_bsp.c
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51dk/src/os_bsp.c b/hw/bsp/nrf51dk/src/os_bsp.c
index 07230b0..98088a7 100644
--- a/hw/bsp/nrf51dk/src/os_bsp.c
+++ b/hw/bsp/nrf51dk/src/os_bsp.c
@@ -64,7 +64,7 @@ bsp_imgr_current_slot(void)
}
void
-os_bsp_init(void)
+bsp_init(void)
{
/*
* XXX this reference is here to keep this function in.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/73686082/hw/bsp/nrf52dk/src/os_bsp.c
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf52dk/src/os_bsp.c b/hw/bsp/nrf52dk/src/os_bsp.c
index 66c1ceb..161d138 100644
--- a/hw/bsp/nrf52dk/src/os_bsp.c
+++ b/hw/bsp/nrf52dk/src/os_bsp.c
@@ -65,7 +65,7 @@ bsp_imgr_current_slot(void)
}
void
-os_bsp_init(void)
+bsp_init(void)
{
/*
* XXX this reference is here to keep this function in.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/73686082/hw/bsp/nrf52pdk/src/os_bsp.c
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf52pdk/src/os_bsp.c b/hw/bsp/nrf52pdk/src/os_bsp.c
index 9f2e337..c485dcf 100644
--- a/hw/bsp/nrf52pdk/src/os_bsp.c
+++ b/hw/bsp/nrf52pdk/src/os_bsp.c
@@ -65,7 +65,7 @@ bsp_imgr_current_slot(void)
}
void
-os_bsp_init(void)
+bsp_init(void)
{
/*
* XXX this reference is here to keep this function in.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/73686082/hw/bsp/olimex_stm32-e407_devboard/src/os_bsp.c
----------------------------------------------------------------------
diff --git a/hw/bsp/olimex_stm32-e407_devboard/src/os_bsp.c b/hw/bsp/olimex_stm32-e407_devboard/src/os_bsp.c
index 5cdc35a..f2fe9e1 100644
--- a/hw/bsp/olimex_stm32-e407_devboard/src/os_bsp.c
+++ b/hw/bsp/olimex_stm32-e407_devboard/src/os_bsp.c
@@ -69,7 +69,7 @@ bsp_imgr_current_slot(void)
}
void
-os_bsp_init(void)
+bsp_init(void)
{
/*
* XXX this reference is here to keep this function in.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/73686082/hw/hal/include/hal/hal_bsp.h
----------------------------------------------------------------------
diff --git a/hw/hal/include/hal/hal_bsp.h b/hw/hal/include/hal/hal_bsp.h
index a491507..d4c3104 100644
--- a/hw/hal/include/hal/hal_bsp.h
+++ b/hw/hal/include/hal/hal_bsp.h
@@ -32,7 +32,7 @@ const struct hal_flash *bsp_flash_dev(uint8_t flash_id);
int bsp_imgr_current_slot(void);
-void os_bsp_init(void);
+void bsp_init(void);
void *_sbrk(int incr);
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/73686082/libs/os/src/arch/cortex_m0/os_arch_arm.c
----------------------------------------------------------------------
diff --git a/libs/os/src/arch/cortex_m0/os_arch_arm.c b/libs/os/src/arch/cortex_m0/os_arch_arm.c
index 12df443..40b9254 100755
--- a/libs/os/src/arch/cortex_m0/os_arch_arm.c
+++ b/libs/os/src/arch/cortex_m0/os_arch_arm.c
@@ -215,7 +215,7 @@ os_arch_os_init(void)
}
/* Call bsp related OS initializations */
- os_bsp_init();
+ bsp_init();
/* Set the PendSV interrupt exception priority to the lowest priority */
NVIC_SetPriority(PendSV_IRQn, PEND_SV_PRIO);
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/73686082/libs/os/src/arch/cortex_m4/os_arch_arm.c
----------------------------------------------------------------------
diff --git a/libs/os/src/arch/cortex_m4/os_arch_arm.c b/libs/os/src/arch/cortex_m4/os_arch_arm.c
index a02c217..837e941 100755
--- a/libs/os/src/arch/cortex_m4/os_arch_arm.c
+++ b/libs/os/src/arch/cortex_m4/os_arch_arm.c
@@ -208,7 +208,7 @@ os_arch_os_init(void)
}
/* Call bsp related OS initializations */
- os_bsp_init();
+ bsp_init();
/* Set the PendSV interrupt exception priority to the lowest priority */
NVIC_SetPriority(PendSV_IRQn, PEND_SV_PRIO);
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/73686082/libs/os/src/arch/sim/os_arch_sim.c
----------------------------------------------------------------------
diff --git a/libs/os/src/arch/sim/os_arch_sim.c b/libs/os/src/arch/sim/os_arch_sim.c
index 4fbf2bb..287b4fc 100644
--- a/libs/os/src/arch/sim/os_arch_sim.c
+++ b/libs/os/src/arch/sim/os_arch_sim.c
@@ -419,7 +419,7 @@ os_arch_os_init(void)
os_init_idle_task();
os_sanity_task_init(1);
- os_bsp_init();
+ bsp_init();
return OS_OK;
}