Repository: incubator-mynewt-core Updated Branches: refs/heads/develop 94944515c -> 5b51840c6
Removing bsp_sysid.h as obsolete. 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/5b51840c Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/5b51840c Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/5b51840c Branch: refs/heads/develop Commit: 5b51840c60d5e7809fe0b009b3145efd67a06553 Parents: 9494451 Author: Marko Kiiskila <ma...@runtime.io> Authored: Tue Oct 18 15:17:47 2016 -0700 Committer: Marko Kiiskila <ma...@runtime.io> Committed: Tue Oct 18 15:17:47 2016 -0700 ---------------------------------------------------------------------- .../arduino_primo_nrf52/include/bsp/bsp_sysid.h | 37 ------------- hw/bsp/bmd300eval/include/bsp/bsp_sysid.h | 37 ------------- hw/bsp/frdm-k64f/include/bsp/bsp_sysid.h | 35 ------------ hw/bsp/native/include/bsp/bsp_sysid.h | 56 -------------------- hw/bsp/native/src/hal_bsp.c | 2 - .../nrf51-arduino_101/include/bsp/bsp_sysid.h | 36 ------------- hw/bsp/nrf51-blenano/include/bsp/bsp_sysid.h | 36 ------------- hw/bsp/nrf51dk-16kbram/include/bsp/bsp_sysid.h | 37 ------------- hw/bsp/nrf51dk/include/bsp/bsp_sysid.h | 36 ------------- hw/bsp/nrf52dk/include/bsp/bsp_sysid.h | 37 ------------- hw/bsp/nucleo-f401re/include/bsp/bsp_sysid.h | 36 ------------- .../include/bsp/bsp_sysid.h | 36 ------------- hw/bsp/rb-nano2/include/bsp/bsp_sysid.h | 37 ------------- hw/bsp/stm32f4discovery/include/bsp/bsp_sysid.h | 36 ------------- 14 files changed, 494 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5b51840c/hw/bsp/arduino_primo_nrf52/include/bsp/bsp_sysid.h ---------------------------------------------------------------------- diff --git a/hw/bsp/arduino_primo_nrf52/include/bsp/bsp_sysid.h b/hw/bsp/arduino_primo_nrf52/include/bsp/bsp_sysid.h deleted file mode 100644 index 63959e5..0000000 --- a/hw/bsp/arduino_primo_nrf52/include/bsp/bsp_sysid.h +++ /dev/null @@ -1,37 +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. - */ -#ifndef BSP_SYSID_H -#define BSP_SYSID_H - -#ifdef __cplusplus -extern "C" { -#endif - -/* stub until this BSP gets new HAL */ -enum system_device_id -{ - RESERVED, -}; - -#ifdef __cplusplus -} -#endif - -#endif /* BSP_SYSID_H */ - http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5b51840c/hw/bsp/bmd300eval/include/bsp/bsp_sysid.h ---------------------------------------------------------------------- diff --git a/hw/bsp/bmd300eval/include/bsp/bsp_sysid.h b/hw/bsp/bmd300eval/include/bsp/bsp_sysid.h deleted file mode 100644 index 63959e5..0000000 --- a/hw/bsp/bmd300eval/include/bsp/bsp_sysid.h +++ /dev/null @@ -1,37 +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. - */ -#ifndef BSP_SYSID_H -#define BSP_SYSID_H - -#ifdef __cplusplus -extern "C" { -#endif - -/* stub until this BSP gets new HAL */ -enum system_device_id -{ - RESERVED, -}; - -#ifdef __cplusplus -} -#endif - -#endif /* BSP_SYSID_H */ - http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5b51840c/hw/bsp/frdm-k64f/include/bsp/bsp_sysid.h ---------------------------------------------------------------------- diff --git a/hw/bsp/frdm-k64f/include/bsp/bsp_sysid.h b/hw/bsp/frdm-k64f/include/bsp/bsp_sysid.h deleted file mode 100644 index bcce1e6..0000000 --- a/hw/bsp/frdm-k64f/include/bsp/bsp_sysid.h +++ /dev/null @@ -1,35 +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. - */ -#ifndef BSP_SYSID_H -#define BSP_SYSID_H - -#ifdef __cplusplus -extern "C" { -#endif - -enum system_device_id -{ - NONE = 0, -}; - -#ifdef __cplusplus -} -#endif - -#endif /* BSP_SYSID_H */ http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5b51840c/hw/bsp/native/include/bsp/bsp_sysid.h ---------------------------------------------------------------------- diff --git a/hw/bsp/native/include/bsp/bsp_sysid.h b/hw/bsp/native/include/bsp/bsp_sysid.h deleted file mode 100644 index c102f09..0000000 --- a/hw/bsp/native/include/bsp/bsp_sysid.h +++ /dev/null @@ -1,56 +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. - */ -#ifndef __NATIVE_BSP_SYSID_H -#define __NATIVE_BSP_SYSID_H - -#ifdef __cplusplus -extern "C" { -#endif - -/* This file defines the system device descriptors for this BSP. - * System device descriptors are any HAL devies */ - -/* this is a native build and these are just simulated */ -enum system_device_id { - NATIVE_A0, - NATIVE_A1, - NATIVE_A2, - NATIVE_A3, - NATIVE_A4, - NATIVE_A5, - NATIVE_BSP_PWM_0, - NATIVE_BSP_PWM_1, - NATIVE_BSP_PWM_2, - NATIVE_BSP_PWM_3, - NATIVE_BSP_PWM_4, - NATIVE_BSP_PWM_5, - NATIVE_BSP_PWM_6, - NATIVE_BSP_PWM_7, - NATIVE_BSP_DAC_0, - NATIVE_BSP_DAC_1, - NATIVE_BSP_DAC_2, - NATIVE_BSP_DAC_3, - /* TODO -- add other hals here */ -}; - -#ifdef __cplusplus -} -#endif - -#endif /* __NATIVE_BSP_SYSID_H */ http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5b51840c/hw/bsp/native/src/hal_bsp.c ---------------------------------------------------------------------- diff --git a/hw/bsp/native/src/hal_bsp.c b/hw/bsp/native/src/hal_bsp.c index f8756cc..3d707cf 100644 --- a/hw/bsp/native/src/hal_bsp.c +++ b/hw/bsp/native/src/hal_bsp.c @@ -23,10 +23,8 @@ #include <inttypes.h> #include "hal/hal_flash_int.h" #include "mcu/native_bsp.h" -#include "bsp/bsp_sysid.h" #include "mcu/mcu_hal.h" #include <bsp/bsp.h> -#include <bsp/bsp_sysid.h> const struct hal_flash * bsp_flash_dev(uint8_t id) http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5b51840c/hw/bsp/nrf51-arduino_101/include/bsp/bsp_sysid.h ---------------------------------------------------------------------- diff --git a/hw/bsp/nrf51-arduino_101/include/bsp/bsp_sysid.h b/hw/bsp/nrf51-arduino_101/include/bsp/bsp_sysid.h deleted file mode 100644 index c4ac688..0000000 --- a/hw/bsp/nrf51-arduino_101/include/bsp/bsp_sysid.h +++ /dev/null @@ -1,36 +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. - */ -#ifndef BSP_SYSID_H -#define BSP_SYSID_H - -#ifdef __cplusplus -extern "C" { -#endif - -/* stub until this BSP gets new HAL */ -enum system_device_id -{ - RESERVED, -}; - -#ifdef __cplusplus -} -#endif - -#endif /* BSP_SYSID_H */ \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5b51840c/hw/bsp/nrf51-blenano/include/bsp/bsp_sysid.h ---------------------------------------------------------------------- diff --git a/hw/bsp/nrf51-blenano/include/bsp/bsp_sysid.h b/hw/bsp/nrf51-blenano/include/bsp/bsp_sysid.h deleted file mode 100644 index 7b0a24b..0000000 --- a/hw/bsp/nrf51-blenano/include/bsp/bsp_sysid.h +++ /dev/null @@ -1,36 +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. - */ -#ifndef BSP_SYSID_H -#define BSP_SYSID_H - -#ifdef __cplusplus -extern "C" { -#endif - -/* stub until this BSP gets new HAL */ -enum system_device_id -{ - RESERVED, -}; - -#ifdef __cplusplus -} -#endif - -#endif /* BSP_SYSID_H */ \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5b51840c/hw/bsp/nrf51dk-16kbram/include/bsp/bsp_sysid.h ---------------------------------------------------------------------- diff --git a/hw/bsp/nrf51dk-16kbram/include/bsp/bsp_sysid.h b/hw/bsp/nrf51dk-16kbram/include/bsp/bsp_sysid.h deleted file mode 100644 index 63959e5..0000000 --- a/hw/bsp/nrf51dk-16kbram/include/bsp/bsp_sysid.h +++ /dev/null @@ -1,37 +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. - */ -#ifndef BSP_SYSID_H -#define BSP_SYSID_H - -#ifdef __cplusplus -extern "C" { -#endif - -/* stub until this BSP gets new HAL */ -enum system_device_id -{ - RESERVED, -}; - -#ifdef __cplusplus -} -#endif - -#endif /* BSP_SYSID_H */ - http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5b51840c/hw/bsp/nrf51dk/include/bsp/bsp_sysid.h ---------------------------------------------------------------------- diff --git a/hw/bsp/nrf51dk/include/bsp/bsp_sysid.h b/hw/bsp/nrf51dk/include/bsp/bsp_sysid.h deleted file mode 100644 index 7b0a24b..0000000 --- a/hw/bsp/nrf51dk/include/bsp/bsp_sysid.h +++ /dev/null @@ -1,36 +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. - */ -#ifndef BSP_SYSID_H -#define BSP_SYSID_H - -#ifdef __cplusplus -extern "C" { -#endif - -/* stub until this BSP gets new HAL */ -enum system_device_id -{ - RESERVED, -}; - -#ifdef __cplusplus -} -#endif - -#endif /* BSP_SYSID_H */ \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5b51840c/hw/bsp/nrf52dk/include/bsp/bsp_sysid.h ---------------------------------------------------------------------- diff --git a/hw/bsp/nrf52dk/include/bsp/bsp_sysid.h b/hw/bsp/nrf52dk/include/bsp/bsp_sysid.h deleted file mode 100644 index 63959e5..0000000 --- a/hw/bsp/nrf52dk/include/bsp/bsp_sysid.h +++ /dev/null @@ -1,37 +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. - */ -#ifndef BSP_SYSID_H -#define BSP_SYSID_H - -#ifdef __cplusplus -extern "C" { -#endif - -/* stub until this BSP gets new HAL */ -enum system_device_id -{ - RESERVED, -}; - -#ifdef __cplusplus -} -#endif - -#endif /* BSP_SYSID_H */ - http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5b51840c/hw/bsp/nucleo-f401re/include/bsp/bsp_sysid.h ---------------------------------------------------------------------- diff --git a/hw/bsp/nucleo-f401re/include/bsp/bsp_sysid.h b/hw/bsp/nucleo-f401re/include/bsp/bsp_sysid.h deleted file mode 100644 index 7b0a24b..0000000 --- a/hw/bsp/nucleo-f401re/include/bsp/bsp_sysid.h +++ /dev/null @@ -1,36 +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. - */ -#ifndef BSP_SYSID_H -#define BSP_SYSID_H - -#ifdef __cplusplus -extern "C" { -#endif - -/* stub until this BSP gets new HAL */ -enum system_device_id -{ - RESERVED, -}; - -#ifdef __cplusplus -} -#endif - -#endif /* BSP_SYSID_H */ \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5b51840c/hw/bsp/olimex_stm32-e407_devboard/include/bsp/bsp_sysid.h ---------------------------------------------------------------------- diff --git a/hw/bsp/olimex_stm32-e407_devboard/include/bsp/bsp_sysid.h b/hw/bsp/olimex_stm32-e407_devboard/include/bsp/bsp_sysid.h deleted file mode 100644 index 7b0a24b..0000000 --- a/hw/bsp/olimex_stm32-e407_devboard/include/bsp/bsp_sysid.h +++ /dev/null @@ -1,36 +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. - */ -#ifndef BSP_SYSID_H -#define BSP_SYSID_H - -#ifdef __cplusplus -extern "C" { -#endif - -/* stub until this BSP gets new HAL */ -enum system_device_id -{ - RESERVED, -}; - -#ifdef __cplusplus -} -#endif - -#endif /* BSP_SYSID_H */ \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5b51840c/hw/bsp/rb-nano2/include/bsp/bsp_sysid.h ---------------------------------------------------------------------- diff --git a/hw/bsp/rb-nano2/include/bsp/bsp_sysid.h b/hw/bsp/rb-nano2/include/bsp/bsp_sysid.h deleted file mode 100644 index 63959e5..0000000 --- a/hw/bsp/rb-nano2/include/bsp/bsp_sysid.h +++ /dev/null @@ -1,37 +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. - */ -#ifndef BSP_SYSID_H -#define BSP_SYSID_H - -#ifdef __cplusplus -extern "C" { -#endif - -/* stub until this BSP gets new HAL */ -enum system_device_id -{ - RESERVED, -}; - -#ifdef __cplusplus -} -#endif - -#endif /* BSP_SYSID_H */ - http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/5b51840c/hw/bsp/stm32f4discovery/include/bsp/bsp_sysid.h ---------------------------------------------------------------------- diff --git a/hw/bsp/stm32f4discovery/include/bsp/bsp_sysid.h b/hw/bsp/stm32f4discovery/include/bsp/bsp_sysid.h deleted file mode 100644 index 7b0a24b..0000000 --- a/hw/bsp/stm32f4discovery/include/bsp/bsp_sysid.h +++ /dev/null @@ -1,36 +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. - */ -#ifndef BSP_SYSID_H -#define BSP_SYSID_H - -#ifdef __cplusplus -extern "C" { -#endif - -/* stub until this BSP gets new HAL */ -enum system_device_id -{ - RESERVED, -}; - -#ifdef __cplusplus -} -#endif - -#endif /* BSP_SYSID_H */ \ No newline at end of file