Added modbus registers and stuff.
This commit is contained in:
		
							
								
								
									
										3
									
								
								fw/Debug/Libs/crc8/crc8.d
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								fw/Debug/Libs/crc8/crc8.d
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| Libs/crc8/crc8.o: ../Libs/crc8/crc8.c ../Libs/crc8/crc8.h | ||||
|  | ||||
| ../Libs/crc8/crc8.h: | ||||
							
								
								
									
										
											BIN
										
									
								
								fw/Debug/Libs/crc8/crc8.o
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								fw/Debug/Libs/crc8/crc8.o
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										1
									
								
								fw/Debug/Libs/crc8/crc8.su
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								fw/Debug/Libs/crc8/crc8.su
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| crc8.c:14:9:crc8_calculate	24	static | ||||
							
								
								
									
										27
									
								
								fw/Debug/Libs/crc8/subdir.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								fw/Debug/Libs/crc8/subdir.mk
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| ################################################################################ | ||||
| # Automatically-generated file. Do not edit! | ||||
| # Toolchain: GNU Tools for STM32 (9-2020-q2-update) | ||||
| ################################################################################ | ||||
|  | ||||
| # Add inputs and outputs from these tool invocations to the build variables  | ||||
| C_SRCS += \ | ||||
| ../Libs/crc8/crc8.c  | ||||
|  | ||||
| OBJS += \ | ||||
| ./Libs/crc8/crc8.o  | ||||
|  | ||||
| C_DEPS += \ | ||||
| ./Libs/crc8/crc8.d  | ||||
|  | ||||
|  | ||||
| # Each subdirectory must supply rules for building sources it contributes | ||||
| Libs/crc8/%.o: ../Libs/crc8/%.c Libs/crc8/subdir.mk | ||||
| 	arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG -DSTM32L031xx -DUSE_FULL_LL_DRIVER -DHSE_VALUE=8000000 -DHSE_STARTUP_TIMEOUT=100 -DLSE_STARTUP_TIMEOUT=5000 -DLSE_VALUE=32768 -DMSI_VALUE=2097000 -DHSI_VALUE=16000000 -DLSI_VALUE=37000 -DVDD_VALUE=3300 -DPREFETCH_ENABLE=0 -DINSTRUCTION_CACHE_ENABLE=1 -DDATA_CACHE_ENABLE=1 -c -I../Core/Inc -I"/home/david/VelesLabs/Smart Household/wired_sensors/RHT_Wired_Sensor/fw/Libs/crc8" -I"/home/david/VelesLabs/Smart Household/wired_sensors/RHT_Wired_Sensor/fw/Libs/ltr329" -I"/home/david/VelesLabs/Smart Household/wired_sensors/RHT_Wired_Sensor/fw/Libs/modbus" -I"/home/david/VelesLabs/Smart Household/wired_sensors/RHT_Wired_Sensor/fw/Libs/sht4x" -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" | ||||
|  | ||||
| clean: clean-Libs-2f-crc8 | ||||
|  | ||||
| clean-Libs-2f-crc8: | ||||
| 	-$(RM) ./Libs/crc8/crc8.d ./Libs/crc8/crc8.o | ||||
|  | ||||
| .PHONY: clean-Libs-2f-crc8 | ||||
|  | ||||
							
								
								
									
										33
									
								
								fw/Debug/Libs/ltr329/ltr329.d
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								fw/Debug/Libs/ltr329/ltr329.d
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,33 @@ | ||||
| Libs/ltr329/ltr329.o: ../Libs/ltr329/ltr329.c ../Libs/ltr329/ltr329.h \ | ||||
|  ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h \ | ||||
|  ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \ | ||||
|  ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \ | ||||
|  ../Drivers/CMSIS/Include/core_cm0plus.h \ | ||||
|  ../Drivers/CMSIS/Include/cmsis_version.h \ | ||||
|  ../Drivers/CMSIS/Include/cmsis_compiler.h \ | ||||
|  ../Drivers/CMSIS/Include/cmsis_gcc.h \ | ||||
|  ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \ | ||||
|  ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h \ | ||||
|  ../Core/Inc/i2c.h | ||||
|  | ||||
| ../Libs/ltr329/ltr329.h: | ||||
|  | ||||
| ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h: | ||||
|  | ||||
| ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h: | ||||
|  | ||||
| ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h: | ||||
|  | ||||
| ../Drivers/CMSIS/Include/core_cm0plus.h: | ||||
|  | ||||
| ../Drivers/CMSIS/Include/cmsis_version.h: | ||||
|  | ||||
| ../Drivers/CMSIS/Include/cmsis_compiler.h: | ||||
|  | ||||
| ../Drivers/CMSIS/Include/cmsis_gcc.h: | ||||
|  | ||||
| ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h: | ||||
|  | ||||
| ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h: | ||||
|  | ||||
| ../Core/Inc/i2c.h: | ||||
							
								
								
									
										
											BIN
										
									
								
								fw/Debug/Libs/ltr329/ltr329.o
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								fw/Debug/Libs/ltr329/ltr329.o
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										8
									
								
								fw/Debug/Libs/ltr329/ltr329.su
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								fw/Debug/Libs/ltr329/ltr329.su
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| ltr329.c:22:15:ltr329_read_register	40	static | ||||
| ltr329.c:50:15:ltr329_write_register	32	static | ||||
| ltr329.c:68:8:ltr329_write_settings	32	static | ||||
| ltr329.c:87:8:ltr329_read_settings	48	static | ||||
| ltr329.c:120:8:ltr329_sw_reset	24	static | ||||
| ltr329.c:132:8:ltr329_measure	24	static | ||||
| ltr329.c:162:8:ltr329_read_status_register	40	static | ||||
| ltr329.c:200:8:ltr329_read_device_info	32	static | ||||
							
								
								
									
										27
									
								
								fw/Debug/Libs/ltr329/subdir.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								fw/Debug/Libs/ltr329/subdir.mk
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| ################################################################################ | ||||
| # Automatically-generated file. Do not edit! | ||||
| # Toolchain: GNU Tools for STM32 (9-2020-q2-update) | ||||
| ################################################################################ | ||||
|  | ||||
| # Add inputs and outputs from these tool invocations to the build variables  | ||||
| C_SRCS += \ | ||||
| ../Libs/ltr329/ltr329.c  | ||||
|  | ||||
| OBJS += \ | ||||
| ./Libs/ltr329/ltr329.o  | ||||
|  | ||||
| C_DEPS += \ | ||||
| ./Libs/ltr329/ltr329.d  | ||||
|  | ||||
|  | ||||
| # Each subdirectory must supply rules for building sources it contributes | ||||
| Libs/ltr329/%.o: ../Libs/ltr329/%.c Libs/ltr329/subdir.mk | ||||
| 	arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG -DSTM32L031xx -DUSE_FULL_LL_DRIVER -DHSE_VALUE=8000000 -DHSE_STARTUP_TIMEOUT=100 -DLSE_STARTUP_TIMEOUT=5000 -DLSE_VALUE=32768 -DMSI_VALUE=2097000 -DHSI_VALUE=16000000 -DLSI_VALUE=37000 -DVDD_VALUE=3300 -DPREFETCH_ENABLE=0 -DINSTRUCTION_CACHE_ENABLE=1 -DDATA_CACHE_ENABLE=1 -c -I../Core/Inc -I"/home/david/VelesLabs/Smart Household/wired_sensors/RHT_Wired_Sensor/fw/Libs/crc8" -I"/home/david/VelesLabs/Smart Household/wired_sensors/RHT_Wired_Sensor/fw/Libs/ltr329" -I"/home/david/VelesLabs/Smart Household/wired_sensors/RHT_Wired_Sensor/fw/Libs/modbus" -I"/home/david/VelesLabs/Smart Household/wired_sensors/RHT_Wired_Sensor/fw/Libs/sht4x" -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" | ||||
|  | ||||
| clean: clean-Libs-2f-ltr329 | ||||
|  | ||||
| clean-Libs-2f-ltr329: | ||||
| 	-$(RM) ./Libs/ltr329/ltr329.d ./Libs/ltr329/ltr329.o | ||||
|  | ||||
| .PHONY: clean-Libs-2f-ltr329 | ||||
|  | ||||
							
								
								
									
										3
									
								
								fw/Debug/Libs/modbus/modbus.d
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								fw/Debug/Libs/modbus/modbus.d
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| Libs/modbus/modbus.o: ../Libs/modbus/modbus.c ../Libs/modbus/modbus.h | ||||
|  | ||||
| ../Libs/modbus/modbus.h: | ||||
							
								
								
									
										
											BIN
										
									
								
								fw/Debug/Libs/modbus/modbus.o
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								fw/Debug/Libs/modbus/modbus.o
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										8
									
								
								fw/Debug/Libs/modbus/modbus.su
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								fw/Debug/Libs/modbus/modbus.su
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| modbus.c:33:10:modbus_CRC16	32	static | ||||
| modbus.c:57:16:modbus_fill_device_id_objects	40	static | ||||
| modbus.c:107:15:modbus_transaction_to_buffer	56	static | ||||
| modbus.c:170:15:modbus_process_device_id_request	32	static | ||||
| modbus.c:217:15:modbus_process_read_write_request	40	static | ||||
| modbus.c:341:8:modbus_slave_set_address	16	static | ||||
| modbus.c:352:8:modbus_slave_process_msg	312	static | ||||
| modbus.c:408:8:modbus_slave_init_device_id	16	static | ||||
							
								
								
									
										27
									
								
								fw/Debug/Libs/modbus/subdir.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								fw/Debug/Libs/modbus/subdir.mk
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| ################################################################################ | ||||
| # Automatically-generated file. Do not edit! | ||||
| # Toolchain: GNU Tools for STM32 (9-2020-q2-update) | ||||
| ################################################################################ | ||||
|  | ||||
| # Add inputs and outputs from these tool invocations to the build variables  | ||||
| C_SRCS += \ | ||||
| ../Libs/modbus/modbus.c  | ||||
|  | ||||
| OBJS += \ | ||||
| ./Libs/modbus/modbus.o  | ||||
|  | ||||
| C_DEPS += \ | ||||
| ./Libs/modbus/modbus.d  | ||||
|  | ||||
|  | ||||
| # Each subdirectory must supply rules for building sources it contributes | ||||
| Libs/modbus/%.o: ../Libs/modbus/%.c Libs/modbus/subdir.mk | ||||
| 	arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG -DSTM32L031xx -DUSE_FULL_LL_DRIVER -DHSE_VALUE=8000000 -DHSE_STARTUP_TIMEOUT=100 -DLSE_STARTUP_TIMEOUT=5000 -DLSE_VALUE=32768 -DMSI_VALUE=2097000 -DHSI_VALUE=16000000 -DLSI_VALUE=37000 -DVDD_VALUE=3300 -DPREFETCH_ENABLE=0 -DINSTRUCTION_CACHE_ENABLE=1 -DDATA_CACHE_ENABLE=1 -c -I../Core/Inc -I"/home/david/VelesLabs/Smart Household/wired_sensors/RHT_Wired_Sensor/fw/Libs/crc8" -I"/home/david/VelesLabs/Smart Household/wired_sensors/RHT_Wired_Sensor/fw/Libs/ltr329" -I"/home/david/VelesLabs/Smart Household/wired_sensors/RHT_Wired_Sensor/fw/Libs/modbus" -I"/home/david/VelesLabs/Smart Household/wired_sensors/RHT_Wired_Sensor/fw/Libs/sht4x" -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" | ||||
|  | ||||
| clean: clean-Libs-2f-modbus | ||||
|  | ||||
| clean-Libs-2f-modbus: | ||||
| 	-$(RM) ./Libs/modbus/modbus.d ./Libs/modbus/modbus.o | ||||
|  | ||||
| .PHONY: clean-Libs-2f-modbus | ||||
|  | ||||
							
								
								
									
										3
									
								
								fw/Debug/Libs/sht4x/sht4x.d
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								fw/Debug/Libs/sht4x/sht4x.d
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| Libs/sht4x/sht4x.o: ../Libs/sht4x/sht4x.c ../Libs/sht4x/sht4x.h | ||||
|  | ||||
| ../Libs/sht4x/sht4x.h: | ||||
							
								
								
									
										
											BIN
										
									
								
								fw/Debug/Libs/sht4x/sht4x.o
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								fw/Debug/Libs/sht4x/sht4x.o
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										3
									
								
								fw/Debug/Libs/sht4x/sht4x.su
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								fw/Debug/Libs/sht4x/sht4x.su
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| sht4x.c:29:8:sht4x_send_cmd	16	static | ||||
| sht4x.c:34:8:sht4x_read_data	16	static | ||||
| sht4x.c:39:8:sht4x_measure	96	static | ||||
							
								
								
									
										27
									
								
								fw/Debug/Libs/sht4x/subdir.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								fw/Debug/Libs/sht4x/subdir.mk
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| ################################################################################ | ||||
| # Automatically-generated file. Do not edit! | ||||
| # Toolchain: GNU Tools for STM32 (9-2020-q2-update) | ||||
| ################################################################################ | ||||
|  | ||||
| # Add inputs and outputs from these tool invocations to the build variables  | ||||
| C_SRCS += \ | ||||
| ../Libs/sht4x/sht4x.c  | ||||
|  | ||||
| OBJS += \ | ||||
| ./Libs/sht4x/sht4x.o  | ||||
|  | ||||
| C_DEPS += \ | ||||
| ./Libs/sht4x/sht4x.d  | ||||
|  | ||||
|  | ||||
| # Each subdirectory must supply rules for building sources it contributes | ||||
| Libs/sht4x/%.o: ../Libs/sht4x/%.c Libs/sht4x/subdir.mk | ||||
| 	arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG -DSTM32L031xx -DUSE_FULL_LL_DRIVER -DHSE_VALUE=8000000 -DHSE_STARTUP_TIMEOUT=100 -DLSE_STARTUP_TIMEOUT=5000 -DLSE_VALUE=32768 -DMSI_VALUE=2097000 -DHSI_VALUE=16000000 -DLSI_VALUE=37000 -DVDD_VALUE=3300 -DPREFETCH_ENABLE=0 -DINSTRUCTION_CACHE_ENABLE=1 -DDATA_CACHE_ENABLE=1 -c -I../Core/Inc -I"/home/david/VelesLabs/Smart Household/wired_sensors/RHT_Wired_Sensor/fw/Libs/crc8" -I"/home/david/VelesLabs/Smart Household/wired_sensors/RHT_Wired_Sensor/fw/Libs/ltr329" -I"/home/david/VelesLabs/Smart Household/wired_sensors/RHT_Wired_Sensor/fw/Libs/modbus" -I"/home/david/VelesLabs/Smart Household/wired_sensors/RHT_Wired_Sensor/fw/Libs/sht4x" -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" | ||||
|  | ||||
| clean: clean-Libs-2f-sht4x | ||||
|  | ||||
| clean-Libs-2f-sht4x: | ||||
| 	-$(RM) ./Libs/sht4x/sht4x.d ./Libs/sht4x/sht4x.o | ||||
|  | ||||
| .PHONY: clean-Libs-2f-sht4x | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 David Žaitlík
					David Žaitlík