Add settings module
This commit is contained in:
		@@ -34,26 +34,16 @@ DEFINES += -DSHELLMATTA_HELP_ALIAS=\"?\"
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# RCC Manager
 | 
					# RCC Manager
 | 
				
			||||||
CFILES += stm-periph/clock-enable-manager.c
 | 
					CFILES += stm-periph/clock-enable-manager.c
 | 
				
			||||||
 | 
					 | 
				
			||||||
CFILES += stm-periph/uart.c stm-periph/dma-ring-buffer.c
 | 
					CFILES += stm-periph/uart.c stm-periph/dma-ring-buffer.c
 | 
				
			||||||
 | 
					 | 
				
			||||||
CFILES += digio.c
 | 
					CFILES += digio.c
 | 
				
			||||||
 | 
					 | 
				
			||||||
CFILES += stm-periph/unique-id.c
 | 
					CFILES += stm-periph/unique-id.c
 | 
				
			||||||
 | 
					 | 
				
			||||||
CFILES += calibration.c
 | 
					CFILES += calibration.c
 | 
				
			||||||
 | 
					 | 
				
			||||||
CFILES += temp-converter.c
 | 
					CFILES += temp-converter.c
 | 
				
			||||||
 | 
					 | 
				
			||||||
CFILES += rotary-encoder.c
 | 
					CFILES += rotary-encoder.c
 | 
				
			||||||
 | 
					 | 
				
			||||||
CFILES += stack-check.c
 | 
					CFILES += stack-check.c
 | 
				
			||||||
 | 
					 | 
				
			||||||
#CFILES += onewire-temp-sensors.c
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
CFILES += fatfs/diskio.c fatfs/ff.c fatfs/ffsystem.c fatfs/ffunicode.c fatfs/shimatta_sdio_driver/shimatta_sdio.c
 | 
					CFILES += fatfs/diskio.c fatfs/ff.c fatfs/ffsystem.c fatfs/ffunicode.c fatfs/shimatta_sdio_driver/shimatta_sdio.c
 | 
				
			||||||
 | 
					 | 
				
			||||||
CFILES += pid-controller.c oven-driver.c
 | 
					CFILES += pid-controller.c oven-driver.c
 | 
				
			||||||
 | 
					CFILES += settings/settings.c settings-sd-card.c
 | 
				
			||||||
 | 
					
 | 
				
			||||||
DEFINES += -DDEBUGBUILD
 | 
					DEFINES += -DDEBUGBUILD
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -0,0 +1,24 @@
 | 
				
			|||||||
 | 
					/* Reflow Oven Controller
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* Copyright (C) 2020  Mario Hüttel <mario.huettel@gmx.net>
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* This file is part of the Reflow Oven Controller Project.
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* The reflow oven controller is free software: you can redistribute it and/or modify
 | 
				
			||||||
 | 
					* it under the terms of the GNU General Public License version 2 as
 | 
				
			||||||
 | 
					* published by the Free Software Foundation.
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* The Reflow Oven Control Firmware 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 General Public License for more details.
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* You should have received a copy of the GNU General Public License
 | 
				
			||||||
 | 
					* along with the reflow oven controller project.
 | 
				
			||||||
 | 
					* If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef __SETTINGS_SETTINGS_SD_CARD_H__
 | 
				
			||||||
 | 
					#define __SETTINGS_SETTINGS_SD_CARD_H__
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif /* __SETTINGS_SETTINGS_SD_CARD_H__ */
 | 
				
			||||||
							
								
								
									
										25
									
								
								stm-firmware/include/reflow-controller/settings/settings.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								stm-firmware/include/reflow-controller/settings/settings.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
				
			|||||||
 | 
					/* Reflow Oven Controller
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* Copyright (C) 2020  Mario Hüttel <mario.huettel@gmx.net>
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* This file is part of the Reflow Oven Controller Project.
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* The reflow oven controller is free software: you can redistribute it and/or modify
 | 
				
			||||||
 | 
					* it under the terms of the GNU General Public License version 2 as
 | 
				
			||||||
 | 
					* published by the Free Software Foundation.
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* The Reflow Oven Control Firmware 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 General Public License for more details.
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* You should have received a copy of the GNU General Public License
 | 
				
			||||||
 | 
					* along with the reflow oven controller project.
 | 
				
			||||||
 | 
					* If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef __SETTINGS_SETTINGS_H__
 | 
				
			||||||
 | 
					#define __SETTINGS_SETTINGS_H__
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif /* __SETTINGS_SETTINGS_H__ */
 | 
				
			||||||
							
								
								
									
										21
									
								
								stm-firmware/settings/settings-sd-card.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								stm-firmware/settings/settings-sd-card.c
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
				
			|||||||
 | 
					/* Reflow Oven Controller
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* Copyright (C) 2020  Mario Hüttel <mario.huettel@gmx.net>
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* This file is part of the Reflow Oven Controller Project.
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* The reflow oven controller is free software: you can redistribute it and/or modify
 | 
				
			||||||
 | 
					* it under the terms of the GNU General Public License version 2 as
 | 
				
			||||||
 | 
					* published by the Free Software Foundation.
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* The Reflow Oven Control Firmware 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 General Public License for more details.
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* You should have received a copy of the GNU General Public License
 | 
				
			||||||
 | 
					* along with the reflow oven controller project.
 | 
				
			||||||
 | 
					* If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <reflow-controller/settings/settings-sd-card.h>
 | 
				
			||||||
							
								
								
									
										21
									
								
								stm-firmware/settings/settings.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								stm-firmware/settings/settings.c
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
				
			|||||||
 | 
					/* Reflow Oven Controller
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* Copyright (C) 2020  Mario Hüttel <mario.huettel@gmx.net>
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* This file is part of the Reflow Oven Controller Project.
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* The reflow oven controller is free software: you can redistribute it and/or modify
 | 
				
			||||||
 | 
					* it under the terms of the GNU General Public License version 2 as
 | 
				
			||||||
 | 
					* published by the Free Software Foundation.
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* The Reflow Oven Control Firmware 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 General Public License for more details.
 | 
				
			||||||
 | 
					*
 | 
				
			||||||
 | 
					* You should have received a copy of the GNU General Public License
 | 
				
			||||||
 | 
					* along with the reflow oven controller project.
 | 
				
			||||||
 | 
					* If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <reflow-controller/settings/settings.h>
 | 
				
			||||||
		Reference in New Issue
	
	Block a user