From bf0831b3e877ec53f223b73c1de5f6028f24a885 Mon Sep 17 00:00:00 2001 From: Sophia Papagiannaki Date: Tue, 19 May 2020 18:30:53 +0200 Subject: Version 2.1.0 Implemented firmware update. --- o3000_upgrade.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 o3000_upgrade.h (limited to 'o3000_upgrade.h') diff --git a/o3000_upgrade.h b/o3000_upgrade.h new file mode 100644 index 0000000..aa898fa --- /dev/null +++ b/o3000_upgrade.h @@ -0,0 +1,33 @@ +/** +* @file o3000_upgrade.c +* @brief O-3000 firmware upgrade +* @author Sophia Papagiannaki - papagiannaki@stettbacher.ch +* @version 0.1 +* @date 2020-05-12 +* @copyright 2020 Stettbacher Signal Processing AG +* +* @remarks +* +*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU Lesser General Public
+* License as published by the Free Software Foundation; either
+* version 2.1 of the License, or (at your option) any later version.
+*
+* This library is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this library; if not, write to the Free Software
+* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+* 
+* +*/ +#ifndef __O3000_UPGRADE_H +#define __O3000_UPGRADE_H + +int firmware_update(unsigned char *data, int data_len); + +#endif -- cgit v1.2.1 From 6e04d6e2cc094aae7122627a96b35fb76038a17e Mon Sep 17 00:00:00 2001 From: Patrick Roth Date: Fri, 9 Oct 2020 13:24:58 +0200 Subject: update --> upgrade , more checks added Use firmware upgrade instead of update. The firmware update function does more sanity checks. --- o3000_upgrade.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'o3000_upgrade.h') diff --git a/o3000_upgrade.h b/o3000_upgrade.h index aa898fa..b88d38c 100644 --- a/o3000_upgrade.h +++ b/o3000_upgrade.h @@ -28,6 +28,6 @@ #ifndef __O3000_UPGRADE_H #define __O3000_UPGRADE_H -int firmware_update(unsigned char *data, int data_len); +int firmware_upgrade(unsigned char *data, int data_len); #endif -- cgit v1.2.1