diff --git a/Libraries/MiscDrivers/SRAM/N01S830HA.c b/Libraries/MiscDrivers/SRAM/N01S830HA.c index 0add61baa4d..c26373278ab 100644 --- a/Libraries/MiscDrivers/SRAM/N01S830HA.c +++ b/Libraries/MiscDrivers/SRAM/N01S830HA.c @@ -1,33 +1,18 @@ /****************************************************************************** - * Copyright (C) 2023 Maxim Integrated Products, Inc., All Rights Reserved. * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: + * Copyright 2023 Analog Devices, Inc. * - * The above copyright notice and this permission notice shall be included - * in all copies or substantial portions of the Software. + * 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 * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES - * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, - * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - * OTHER DEALINGS IN THE SOFTWARE. + * http://www.apache.org/licenses/LICENSE-2.0 * - * Except as contained in this notice, the name of Maxim Integrated - * Products, Inc. shall not be used except as stated in the Maxim Integrated - * Products, Inc. Branding Policy. - * - * The mere transfer of this software does not imply any licenses - * of trade secrets, proprietary technology, copyrights, patents, - * trademarks, maskwork rights, or any other form of intellectual - * property whatsoever. Maxim Integrated Products, Inc. retains all - * ownership rights. + * 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. * ******************************************************************************/ #include diff --git a/Libraries/MiscDrivers/SRAM/N01S830HA.h b/Libraries/MiscDrivers/SRAM/N01S830HA.h index 99b6ae5509d..21ba42d54bf 100644 --- a/Libraries/MiscDrivers/SRAM/N01S830HA.h +++ b/Libraries/MiscDrivers/SRAM/N01S830HA.h @@ -1,37 +1,23 @@ /****************************************************************************** - * Copyright (C) 2023 Maxim Integrated Products, Inc., All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included - * in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES - * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, - * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - * OTHER DEALINGS IN THE SOFTWARE. - * - * Except as contained in this notice, the name of Maxim Integrated - * Products, Inc. shall not be used except as stated in the Maxim Integrated - * Products, Inc. Branding Policy. - * - * The mere transfer of this software does not imply any licenses - * of trade secrets, proprietary technology, copyrights, patents, - * trademarks, maskwork rights, or any other form of intellectual - * property whatsoever. Maxim Integrated Products, Inc. retains all - * ownership rights. + * + * Copyright 2023 Analog Devices, Inc. + * + * 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. * ******************************************************************************/ -#ifndef EXAMPLES_MAX78000_QSPI_N01S830HA_H_ -#define EXAMPLES_MAX78000_QSPI_N01S830HA_H_ + +#ifndef LIBRARIES_MISCDRIVERS_SRAM_N01S830HA_H_ +#define LIBRARIES_MISCDRIVERS_SRAM_N01S830HA_H_ #include #include @@ -188,4 +174,4 @@ int N01S830HA_write_mode_reg(uint8_t val); */ int N01S830HA_read_mode_reg(uint8_t *out); -#endif // EXAMPLES_MAX78000_QSPI_N01S830HA_H_ +#endif // LIBRARIES_MISCDRIVERS_SRAM_N01S830HA_H_ diff --git a/Libraries/MiscDrivers/SRAM/N01S830HA_config.h b/Libraries/MiscDrivers/SRAM/N01S830HA_config.h index 31a70a2bfec..bf7e798af00 100644 --- a/Libraries/MiscDrivers/SRAM/N01S830HA_config.h +++ b/Libraries/MiscDrivers/SRAM/N01S830HA_config.h @@ -1,5 +1,22 @@ -#ifndef N01S830HA_CONFIG_H -#define N01S830HA_CONFIG_H +/****************************************************************************** + * + * Copyright 2023 Analog Devices, Inc. + * + * 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. + * + ******************************************************************************/ +#ifndef LIBRARIES_MISCDRIVERS_SRAM_N01S830HA_CONFIG_H_ +#define LIBRARIES_MISCDRIVERS_SRAM_N01S830HA_CONFIG_H_ #include "N01S830HA.h" #include "gpio.h" @@ -31,4 +48,4 @@ static const mxc_gpio_cfg_t N01S830HA_hold_pin = { .port = N01S830HA_HOLD_PIN_PO .vssel = N01S830HA_VSSEL }; #endif -#endif // N01S830HA_CONFIG_H \ No newline at end of file +#endif // LIBRARIES_MISCDRIVERS_SRAM_N01S830HA_CONFIG_H_ diff --git a/Libraries/MiscDrivers/SRAM/fastspi.c b/Libraries/MiscDrivers/SRAM/fastspi.c index 0fd1d87d968..d4ad1f045eb 100644 --- a/Libraries/MiscDrivers/SRAM/fastspi.c +++ b/Libraries/MiscDrivers/SRAM/fastspi.c @@ -1,33 +1,18 @@ /****************************************************************************** - * Copyright (C) 2023 Maxim Integrated Products, Inc., All Rights Reserved. * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: + * Copyright 2023 Analog Devices, Inc. * - * The above copyright notice and this permission notice shall be included - * in all copies or substantial portions of the Software. + * 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 * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES - * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, - * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - * OTHER DEALINGS IN THE SOFTWARE. + * http://www.apache.org/licenses/LICENSE-2.0 * - * Except as contained in this notice, the name of Maxim Integrated - * Products, Inc. shall not be used except as stated in the Maxim Integrated - * Products, Inc. Branding Policy. - * - * The mere transfer of this software does not imply any licenses - * of trade secrets, proprietary technology, copyrights, patents, - * trademarks, maskwork rights, or any other form of intellectual - * property whatsoever. Maxim Integrated Products, Inc. retains all - * ownership rights. + * 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/Libraries/MiscDrivers/SRAM/fastspi.h b/Libraries/MiscDrivers/SRAM/fastspi.h index 3dfd83d1ee0..e03d4835ab3 100644 --- a/Libraries/MiscDrivers/SRAM/fastspi.h +++ b/Libraries/MiscDrivers/SRAM/fastspi.h @@ -1,37 +1,22 @@ /****************************************************************************** - * Copyright (C) 2023 Maxim Integrated Products, Inc., All Rights Reserved. * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: + * Copyright 2023 Analog Devices, Inc. * - * The above copyright notice and this permission notice shall be included - * in all copies or substantial portions of the Software. + * 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 * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES - * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, - * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - * OTHER DEALINGS IN THE SOFTWARE. + * http://www.apache.org/licenses/LICENSE-2.0 * - * Except as contained in this notice, the name of Maxim Integrated - * Products, Inc. shall not be used except as stated in the Maxim Integrated - * Products, Inc. Branding Policy. - * - * The mere transfer of this software does not imply any licenses - * of trade secrets, proprietary technology, copyrights, patents, - * trademarks, maskwork rights, or any other form of intellectual - * property whatsoever. Maxim Integrated Products, Inc. retains all - * ownership rights. + * 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 EXAMPLES_MAX78002_QSPI_FASTSPI_H_ -#define EXAMPLES_MAX78002_QSPI_FASTSPI_H_ +#ifndef LIBRARIES_MISCDRIVERS_SRAM_FASTSPI_H_ +#define LIBRARIES_MISCDRIVERS_SRAM_FASTSPI_H_ /** * @file fastspi.h @@ -109,4 +94,4 @@ extern int spi_exit_quadmode(); */ extern int spi_enter_quadmode(); -#endif // EXAMPLES_MAX78002_QSPI_FASTSPI_H_ +#endif // LIBRARIES_MISCDRIVERS_SRAM_FASTSPI_H_