MYNEWT-509 - Specify min-write-sz per MCU.
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/dffe4505 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/dffe4505 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/dffe4505 Branch: refs/heads/1_0_0_dev Commit: dffe45054f04cb5ec816c1752959008ee73cac46 Parents: 58ea0a5 Author: Christopher Collins <[email protected]> Authored: Thu Mar 2 16:37:51 2017 -0800 Committer: Marko Kiiskila <[email protected]> Committed: Mon Mar 6 15:49:23 2017 -0800 ---------------------------------------------------------------------- hw/mcu/mips/danube/syscfg.yml | 26 ++++++++++++++++++++++++++ hw/mcu/native/syscfg.yml | 26 ++++++++++++++++++++++++++ hw/mcu/nordic/nrf51xxx/syscfg.yml | 26 ++++++++++++++++++++++++++ hw/mcu/nordic/nrf52xxx/syscfg.yml | 26 ++++++++++++++++++++++++++ hw/mcu/nxp/MK64F12/syscfg.yml | 26 ++++++++++++++++++++++++++ hw/mcu/stm/stm32f4xx/syscfg.yml | 26 ++++++++++++++++++++++++++ 6 files changed, 156 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/dffe4505/hw/mcu/mips/danube/syscfg.yml ---------------------------------------------------------------------- diff --git a/hw/mcu/mips/danube/syscfg.yml b/hw/mcu/mips/danube/syscfg.yml new file mode 100644 index 0000000..d0c40be --- /dev/null +++ b/hw/mcu/mips/danube/syscfg.yml @@ -0,0 +1,26 @@ +# 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. +# + +# Package: hw/bsp/nrf52dk + +syscfg.defs: + MCU_FLASH_MIN_WRITE_SIZE: + description: > + Specifies the required alignment for internal flash writes. + Used internally by the newt tool. + value: 1 http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/dffe4505/hw/mcu/native/syscfg.yml ---------------------------------------------------------------------- diff --git a/hw/mcu/native/syscfg.yml b/hw/mcu/native/syscfg.yml new file mode 100644 index 0000000..d0c40be --- /dev/null +++ b/hw/mcu/native/syscfg.yml @@ -0,0 +1,26 @@ +# 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. +# + +# Package: hw/bsp/nrf52dk + +syscfg.defs: + MCU_FLASH_MIN_WRITE_SIZE: + description: > + Specifies the required alignment for internal flash writes. + Used internally by the newt tool. + value: 1 http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/dffe4505/hw/mcu/nordic/nrf51xxx/syscfg.yml ---------------------------------------------------------------------- diff --git a/hw/mcu/nordic/nrf51xxx/syscfg.yml b/hw/mcu/nordic/nrf51xxx/syscfg.yml new file mode 100644 index 0000000..d0c40be --- /dev/null +++ b/hw/mcu/nordic/nrf51xxx/syscfg.yml @@ -0,0 +1,26 @@ +# 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. +# + +# Package: hw/bsp/nrf52dk + +syscfg.defs: + MCU_FLASH_MIN_WRITE_SIZE: + description: > + Specifies the required alignment for internal flash writes. + Used internally by the newt tool. + value: 1 http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/dffe4505/hw/mcu/nordic/nrf52xxx/syscfg.yml ---------------------------------------------------------------------- diff --git a/hw/mcu/nordic/nrf52xxx/syscfg.yml b/hw/mcu/nordic/nrf52xxx/syscfg.yml new file mode 100644 index 0000000..d0c40be --- /dev/null +++ b/hw/mcu/nordic/nrf52xxx/syscfg.yml @@ -0,0 +1,26 @@ +# 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. +# + +# Package: hw/bsp/nrf52dk + +syscfg.defs: + MCU_FLASH_MIN_WRITE_SIZE: + description: > + Specifies the required alignment for internal flash writes. + Used internally by the newt tool. + value: 1 http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/dffe4505/hw/mcu/nxp/MK64F12/syscfg.yml ---------------------------------------------------------------------- diff --git a/hw/mcu/nxp/MK64F12/syscfg.yml b/hw/mcu/nxp/MK64F12/syscfg.yml new file mode 100644 index 0000000..824f039 --- /dev/null +++ b/hw/mcu/nxp/MK64F12/syscfg.yml @@ -0,0 +1,26 @@ +# 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. +# + +# Package: hw/bsp/nrf52dk + +syscfg.defs: + MCU_FLASH_MIN_WRITE_SIZE: + description: > + Specifies the required alignment for internal flash writes. + Used internally by the newt tool. + value: 8 http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/dffe4505/hw/mcu/stm/stm32f4xx/syscfg.yml ---------------------------------------------------------------------- diff --git a/hw/mcu/stm/stm32f4xx/syscfg.yml b/hw/mcu/stm/stm32f4xx/syscfg.yml new file mode 100644 index 0000000..d0c40be --- /dev/null +++ b/hw/mcu/stm/stm32f4xx/syscfg.yml @@ -0,0 +1,26 @@ +# 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. +# + +# Package: hw/bsp/nrf52dk + +syscfg.defs: + MCU_FLASH_MIN_WRITE_SIZE: + description: > + Specifies the required alignment for internal flash writes. + Used internally by the newt tool. + value: 1
