diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/flash.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/flash.h index cd12be67dc..57a1f64832 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/flash.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/flash.h @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2020 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ /*------------------------------------------------------------------------------*/ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/rda_flash512ud32_b.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/rda_flash512ud32_b.h similarity index 97% rename from targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/rda_flash512ud32_b.h rename to targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/rda_flash512ud32_b.h index e58d4d63da..a2bc3bcd54 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/rda_flash512ud32_b.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/rda_flash512ud32_b.h @@ -6,7 +6,20 @@ * * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * - * Copyright(C) Toshiba Electronic Device Solutions Corporation 2020 + * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ /* Define to prevent recursive inclusion -------------------------------------*/ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_adc.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_adc.h index 79f9ef746d..1b9bd9c9e6 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_adc.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_adc.h @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ /*------------------------------------------------------------------------------*/ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_adc_ch.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_adc_ch.h index 433da4f1a8..23052afef8 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_adc_ch.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_adc_ch.h @@ -8,6 +8,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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.. ******************************************************************************* */ /*------------------------------------------------------------------------------*/ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_adc_include.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_adc_include.h index e1940c367e..660becb8bf 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_adc_include.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_adc_include.h @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ /*------------------------------------------------------------------------------*/ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_cg.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_cg.h index 388118693e..2d88d29969 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_cg.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_cg.h @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ /*------------------------------------------------------------------------------*/ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_driver_def.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_driver_def.h index 92af5f825a..002cac76bb 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_driver_def.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_driver_def.h @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ /* Define to prevent recursive inclusion -------------------------------------*/ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_gpio.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_gpio.h index f1abc9a3cf..0dd0bfcbbe 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_gpio.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_gpio.h @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ /*------------------------------------------------------------------------------*/ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_i2c.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_i2c.h index 5f79b4dac9..34493c222e 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_i2c.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_i2c.h @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ /*------------------------------------------------------------------------------*/ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_i2c_api.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_i2c_api.h index b0e38ba2f7..4fdf3eee92 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_i2c_api.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_i2c_api.h @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ /*------------------------------------------------------------------------------*/ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_t32a.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_t32a.h index c907a05540..cff3563c80 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_t32a.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_t32a.h @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ /*------------------------------------------------------------------------------*/ @@ -586,9 +599,9 @@ extern "C" { * @{ */ #define T32A_NF_NON ((uint32_t)0x00000000) /*!< Nothing */ -#define T32A_NF_2 ((uint32_t)0x00000010) /*!< Noise Filter less than 2/ƒÓT0 */ -#define T32A_NF_4 ((uint32_t)0x00000020) /*!< Noise Filter less than 4/ƒÓT0 */ -#define T32A_NF_8 ((uint32_t)0x00000030) /*!< Noise Filter less than 8/ƒÓT0 */ +#define T32A_NF_2 ((uint32_t)0x00000010) /*!< Noise Filter less than 2/T0 */ +#define T32A_NF_4 ((uint32_t)0x00000020) /*!< Noise Filter less than 4/T0 */ +#define T32A_NF_8 ((uint32_t)0x00000030) /*!< Noise Filter less than 8/T0 */ /** * @} */ /* End of group T32A_NF */ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_tspi.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_tspi.h index c540a34fcd..182ec3bce7 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_tspi.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_tspi.h @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ /*------------------------------------------------------------------------------*/ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_uart.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_uart.h index 3bda2934b7..14e1ab5912 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_uart.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_uart.h @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ /*------------------------------------------------------------------------------*/ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_uart_include.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_uart_include.h index fce0cea7e9..5e18c322bf 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_uart_include.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/inc/txzp_uart_include.h @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ /*------------------------------------------------------------------------------*/ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/rda_flash512ud32_b.c b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/rda_flash512ud32_b.c index 1cd5b48163..7d22fb49d9 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/rda_flash512ud32_b.c +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/rda_flash512ud32_b.c @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2020 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ #ifdef __cplusplus diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_adc.c b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_adc.c index 5fea10ca91..6e12fe2878 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_adc.c +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_adc.c @@ -8,6 +8,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_adc_ch.c b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_adc_ch.c index ca5bee80b1..f2c020d0b3 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_adc_ch.c +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_adc_ch.c @@ -8,6 +8,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_cg.c b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_cg.c index 810e66fbbc..d24ed48110 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_cg.c +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_cg.c @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ @@ -65,38 +78,38 @@ extern "C" { #define CG_PRCKST_MASK ((uint32_t)0x0F000000) /*!< CG PRCKST mask */ -#define CG_PRCKST_1 ((uint32_t)0x00000000) /*!< CG ƒÓT0 fc register status */ -#define CG_PRCKST_2 ((uint32_t)0x01000000) /*!< CG ƒÓT0 fc/2 register status */ -#define CG_PRCKST_4 ((uint32_t)0x02000000) /*!< CG ƒÓT0 fc/4 register status */ -#define CG_PRCKST_8 ((uint32_t)0x03000000) /*!< CG ƒÓT0 fc/8 register status */ -#define CG_PRCKST_16 ((uint32_t)0x04000000) /*!< CG ƒÓT0 fc/16 register status */ -#define CG_PRCKST_32 ((uint32_t)0x05000000) /*!< CG ƒÓT0 fc/32 register status */ -#define CG_PRCKST_64 ((uint32_t)0x06000000) /*!< CG ƒÓT0 fc/64 register status */ -#define CG_PRCKST_128 ((uint32_t)0x07000000) /*!< CG ƒÓT0 fc/128 register status */ -#define CG_PRCKST_256 ((uint32_t)0x08000000) /*!< CG ƒÓT0 fc/256 register status */ -#define CG_PRCKST_512 ((uint32_t)0x09000000) /*!< CG ƒÓT0 fc/512 register status */ +#define CG_PRCKST_1 ((uint32_t)0x00000000) /*!< CG T0 fc register status */ +#define CG_PRCKST_2 ((uint32_t)0x01000000) /*!< CG T0 fc/2 register status */ +#define CG_PRCKST_4 ((uint32_t)0x02000000) /*!< CG T0 fc/4 register status */ +#define CG_PRCKST_8 ((uint32_t)0x03000000) /*!< CG T0 fc/8 register status */ +#define CG_PRCKST_16 ((uint32_t)0x04000000) /*!< CG T0 fc/16 register status */ +#define CG_PRCKST_32 ((uint32_t)0x05000000) /*!< CG T0 fc/32 register status */ +#define CG_PRCKST_64 ((uint32_t)0x06000000) /*!< CG T0 fc/64 register status */ +#define CG_PRCKST_128 ((uint32_t)0x07000000) /*!< CG T0 fc/128 register status */ +#define CG_PRCKST_256 ((uint32_t)0x08000000) /*!< CG T0 fc/256 register status */ +#define CG_PRCKST_512 ((uint32_t)0x09000000) /*!< CG T0 fc/512 register status */ -#define CG_PRCK_1_DIV ((uint32_t)0x00000001) /*!< CG ƒÓT0 fc division value */ -#define CG_PRCK_2_DIV ((uint32_t)0x00000002) /*!< CG ƒÓT0 fc/2 division value */ -#define CG_PRCK_4_DIV ((uint32_t)0x00000004) /*!< CG ƒÓT0 fc/4 division value */ -#define CG_PRCK_8_DIV ((uint32_t)0x00000008) /*!< CG ƒÓT0 fc/8 division value */ -#define CG_PRCK_16_DIV ((uint32_t)0x00000010) /*!< CG ƒÓT0 fc/16 division value */ -#define CG_PRCK_32_DIV ((uint32_t)0x00000020) /*!< CG ƒÓT0 fc/32 division value */ -#define CG_PRCK_64_DIV ((uint32_t)0x00000040) /*!< CG ƒÓT0 fc/64 division value */ -#define CG_PRCK_128_DIV ((uint32_t)0x00000080) /*!< CG ƒÓT0 fc/128 division value */ -#define CG_PRCK_256_DIV ((uint32_t)0x00000100) /*!< CG ƒÓT0 fc/256 division value */ -#define CG_PRCK_512_DIV ((uint32_t)0x00000200) /*!< CG ƒÓT0 fc/512 division value */ +#define CG_PRCK_1_DIV ((uint32_t)0x00000001) /*!< CG T0 fc division value */ +#define CG_PRCK_2_DIV ((uint32_t)0x00000002) /*!< CG T0 fc/2 division value */ +#define CG_PRCK_4_DIV ((uint32_t)0x00000004) /*!< CG T0 fc/4 division value */ +#define CG_PRCK_8_DIV ((uint32_t)0x00000008) /*!< CG T0 fc/8 division value */ +#define CG_PRCK_16_DIV ((uint32_t)0x00000010) /*!< CG T0 fc/16 division value */ +#define CG_PRCK_32_DIV ((uint32_t)0x00000020) /*!< CG T0 fc/32 division value */ +#define CG_PRCK_64_DIV ((uint32_t)0x00000040) /*!< CG T0 fc/64 division value */ +#define CG_PRCK_128_DIV ((uint32_t)0x00000080) /*!< CG T0 fc/128 division value */ +#define CG_PRCK_256_DIV ((uint32_t)0x00000100) /*!< CG T0 fc/256 division value */ +#define CG_PRCK_512_DIV ((uint32_t)0x00000200) /*!< CG T0 fc/512 division value */ #define CG_MCKSELPST_MASK ((uint32_t)0xC0000000) /*!< CG MCKSEL mask */ -#define CG_MCKSELPST_1 ((uint32_t)0x00000000) /*!< CG ƒÓT0 fc/PRCK value */ -#define CG_MCKSELPST_2 ((uint32_t)0x40000000) /*!< CG ƒÓT0 fc/PRCK/2 value */ -#define CG_MCKSELPST_4 ((uint32_t)0x80000000) /*!< CG ƒÓT0 fc/PRCK/4 value */ +#define CG_MCKSELPST_1 ((uint32_t)0x00000000) /*!< CG T0 fc/PRCK value */ +#define CG_MCKSELPST_2 ((uint32_t)0x40000000) /*!< CG T0 fc/PRCK/2 value */ +#define CG_MCKSELPST_4 ((uint32_t)0x80000000) /*!< CG T0 fc/PRCK/4 value */ -#define CG_FSYSM_1_DIV ((uint32_t)0x00000001) /*!< CG fsysm ƒÓT0 division value */ -#define CG_FSYSM_2_DIV ((uint32_t)0x00000002) /*!< CG fsysm ƒÓT0/2 division value */ -#define CG_FSYSM_4_DIV ((uint32_t)0x00000004) /*!< CG fsysm ƒÓT0/4 division value */ +#define CG_FSYSM_1_DIV ((uint32_t)0x00000001) /*!< CG fsysm T0 division value */ +#define CG_FSYSM_2_DIV ((uint32_t)0x00000002) /*!< CG fsysm T0/2 division value */ +#define CG_FSYSM_4_DIV ((uint32_t)0x00000004) /*!< CG fsysm T0/4 division value */ /** * @} @@ -202,34 +215,34 @@ uint32_t cg_get_mphyt0(cg_t *p_obj) break; } switch (p_obj->p_instance->SYSCR & CG_PRCKST_MASK) { - case CG_PRCKST_1: /* ƒÓT0 -> fc */ + case CG_PRCKST_1: /* T0 -> fc */ result /= CG_PRCK_1_DIV; break; - case CG_PRCKST_2: /* ƒÓT0 -> fc/2 */ + case CG_PRCKST_2: /* T0 -> fc/2 */ result /= CG_PRCK_2_DIV; break; - case CG_PRCKST_4: /* ƒÓT0 -> fc/4 */ + case CG_PRCKST_4: /* T0 -> fc/4 */ result /= CG_PRCK_4_DIV; break; - case CG_PRCKST_8: /* ƒÓT0 -> fc/8 */ + case CG_PRCKST_8: /* T0 -> fc/8 */ result /= CG_PRCK_8_DIV; break; - case CG_PRCKST_16: /* ƒÓT0 -> fc/16 */ + case CG_PRCKST_16: /* T0 -> fc/16 */ result /= CG_PRCK_16_DIV; break; - case CG_PRCKST_32: /* ƒÓT0 -> fc/32 */ + case CG_PRCKST_32: /* T0 -> fc/32 */ result /= CG_PRCK_32_DIV; break; - case CG_PRCKST_64: /* ƒÓT0 -> fc/64 */ + case CG_PRCKST_64: /* T0 -> fc/64 */ result /= CG_PRCK_64_DIV; break; - case CG_PRCKST_128: /* ƒÓT0 -> fc/128 */ + case CG_PRCKST_128: /* T0 -> fc/128 */ result /= CG_PRCK_128_DIV; break; - case CG_PRCKST_256: /* ƒÓT0 -> fc/256 */ + case CG_PRCKST_256: /* T0 -> fc/256 */ result /= CG_PRCK_256_DIV; break; - case CG_PRCKST_512: /* ƒÓT0 -> fc/512 */ + case CG_PRCKST_512: /* T0 -> fc/512 */ result /= CG_PRCK_512_DIV; break; default: @@ -238,13 +251,13 @@ uint32_t cg_get_mphyt0(cg_t *p_obj) } switch (p_obj->p_instance->SYSCR & CG_MCKSELPST_MASK) { - case CG_MCKSELPST_1: /* ƒÓT0 -> fc/PRCK */ + case CG_MCKSELPST_1: /* T0 -> fc/PRCK */ result /= CG_FSYSM_1_DIV; break; - case CG_MCKSELPST_2: /* ƒÓT0 -> fc/PRCK/2 */ + case CG_MCKSELPST_2: /* T0 -> fc/PRCK/2 */ result /= CG_FSYSM_2_DIV; break; - case CG_MCKSELPST_4: /* ƒÓT0 -> fc/PRCK/4 */ + case CG_MCKSELPST_4: /* T0 -> fc/PRCK/4 */ result /= CG_FSYSM_4_DIV; break; default: diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_gpio.c b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_gpio.c index 3c4e6fd305..8c385e9e03 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_gpio.c +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_gpio.c @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_i2c.c b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_i2c.c index 2a902c253b..1874ede598 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_i2c.c +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_i2c.c @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_i2c_api.c b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_i2c_api.c index facc0b0603..2e3c4b35f9 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_i2c_api.c +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_i2c_api.c @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ #ifdef __cplusplus diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_t32a.c b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_t32a.c index 133456f90d..2cd5fd8c0f 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_t32a.c +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_t32a.c @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_tspi.c b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_tspi.c index 26df835569..63deabf523 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_tspi.c +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_tspi.c @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_uart.c b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_uart.c index 87ba001f63..a468887038 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_uart.c +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/Periph_Driver/src/txzp_uart.c @@ -7,6 +7,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/PinNames.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/PinNames.h index 311d6517b1..b332f7ddda 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/PinNames.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/PinNames.h @@ -55,14 +55,6 @@ typedef enum { PU0 = 13 << 3, PU1, PU2, PU3, PU4, PU5, PU6, PU7, PV0 = 14 << 3, PV1, - // Other mbed Pin Names - LED1 = PB0, - LED2 = PB2, - LED3 = PB4, - LED4 = PV0, - LED5 = PV1, - LED6 = PB6, - // External data bus Pin Names D0 = PF7, D1 = PF6, @@ -100,11 +92,6 @@ typedef enum { SW3 = PG5, SW4 = PG6, - // Standardized button names - BUTTON1 = SW1, - BUTTON2 = SW2, - BUTTON3 = SW3, - BUTTON4 = SW4, // TSPI2 MOSI = D11, @@ -121,13 +108,29 @@ typedef enum { // I2C pins SDA = D14, SCL = D15, - I2C_SDA = SDA, - I2C_SCL = SCL, // Not connected NC = (int)0xFFFFFFFF, } PinName; +// LED definitions +#define LED1 PB0 +#define LED2 PB2 +#define LED3 PB4 +#define LED4 PV0 +#define LED5 PV1 +#define LED6 PB6 + +// Standardized button names +#define BUTTON1 SW1 +#define BUTTON2 SW2 +#define BUTTON3 SW3 +#define BUTTON4 SW4 + +//I2C +#define I2C_SDA SDA +#define I2C_SCL SCL + typedef enum { PullUp = 0, PullDown, diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/TMPM4KNA.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/TMPM4KNA.h index 06e2de7fa3..69e34cc37e 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/TMPM4KNA.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/TMPM4KNA.h @@ -7,8 +7,21 @@ * $Date:: #$ * * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. - * + * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/cmsis.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/cmsis.h index fd3fd1c401..f31080ae6b 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/cmsis.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/cmsis.h @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed 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 diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/cmsis_nvic.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/cmsis_nvic.h index 18760822df..0c48bbd105 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/cmsis_nvic.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/cmsis_nvic.h @@ -1,6 +1,8 @@ /* mbed Microcontroller Library * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed 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 diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/system_TMPM4KyA.c b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/system_TMPM4KyA.c index 8dd726fdc9..dc1993538b 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/system_TMPM4KyA.c +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/system_TMPM4KyA.c @@ -9,6 +9,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ******************************************************************************* */ diff --git a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/system_TMPM4KyA.h b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/system_TMPM4KyA.h index d79a554888..56987ea329 100644 --- a/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/system_TMPM4KyA.h +++ b/targets/TARGET_TOSHIBA/TARGET_TMPM4KN/device/system_TMPM4KyA.h @@ -9,6 +9,19 @@ * DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT. * * Copyright(C) Toshiba Electronic Device Solutions Corporation 2021 + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed 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. ***************************************************************************** */ diff --git a/tools/arm_pack_manager/index.json b/tools/arm_pack_manager/index.json index 1a37a0aee9..24be21c537 100644 --- a/tools/arm_pack_manager/index.json +++ b/tools/arm_pack_manager/index.json @@ -504913,7 +504913,83 @@ ], "sub_family": "M4K(1)", "vendor": "Toshiba:92" - }, + }, + "TMPM4KNFYAFG": { + "name": "TMPM4KNFYAFG", + "memories": { + "IROM1": { + "access": { + "read": true, + "write": false, + "execute": true, + "peripheral": false, + "secure": false, + "non_secure": false, + "non_secure_callable": false + }, + "start": 0, + "size": 262144, + "startup": true, + "default": true + }, + "IRAM1": { + "access": { + "read": true, + "write": true, + "execute": false, + "peripheral": false, + "secure": false, + "non_secure": false, + "non_secure_callable": false + }, + "start": 536870912, + "size": 24576, + "startup": false, + "default": true + } + }, + "algorithms": [ + { + "file_name": "Flash/TMPM4Kx_code_256.FLM", + "start": 0, + "size": 262144, + "default": true, + "ram_start": 536870912, + "ram_size": 8192 + }, + { + "file_name": "Flash/TMPM4Kx_data_32.FLM", + "start": 805306368, + "size": 32768, + "default": true, + "ram_start": 536870912, + "ram_size": 8192 + } + ], + "processor": { + "Symmetric": { + "units": 1, + "core": "CortexM4", + "fpu": "SinglePrecision", + "mpu": "Present" + } + }, + "from_pack": { + "vendor": "Toshiba", + "pack": "TXZ4Aplus-M4K2_DFP", + "version": "1.0.0", + "url": "https://toshiba.semicon-storage.com/content/dam/toshiba-ss/shared/docs/product/micro/device-family-Pack/" + }, + "sectors": [ + [ + 0, + 32768 + ] + ], + "vendor": "Toshiba:92", + "family": "TXZ4A+ Series", + "sub_family": "M4K(2)" + }, "XMC1100-Q024x0008": { "algorithms": [ {