rfid working

This commit is contained in:
2024-06-12 22:57:35 -05:00
parent 2e9120f117
commit 0b0d0f4875
24 changed files with 14363 additions and 12915 deletions
+15
View File
@@ -0,0 +1,15 @@
../Core/Src/RFID.c:26:6:spi_cs_rfid_write 1
../Core/Src/RFID.c:31:9:rc522_regRead8 1
../Core/Src/RFID.c:48:6:rc522_regWrite8 1
../Core/Src/RFID.c:60:6:rc522_setBit 1
../Core/Src/RFID.c:68:6:rc522_clearBit 1
../Core/Src/RFID.c:76:6:rc522_reset 1
../Core/Src/RFID.c:84:6:rc522_antennaON 2
../Core/Src/RFID.c:97:6:rc522_checkCard 2
../Core/Src/RFID.c:115:6:rc522_request 3
../Core/Src/RFID.c:131:6:rc522_toCard 18
../Core/Src/RFID.c:232:6:rc522_antiColl 4
../Core/Src/RFID.c:263:6:rc522_halt 1
../Core/Src/RFID.c:275:6:rc522_calculateCRC 4
../Core/Src/RFID.c:304:6:rc522_compareIds 3
../Core/Src/RFID.c:317:6:rc522_init 1
+69
View File
@@ -0,0 +1,69 @@
Core/Src/RFID.o: ../Core/Src/RFID.c ../Core/Inc/RFID.h ../Core/Inc/main.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
../Core/Inc/stm32g0xx_hal_conf.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g070xx.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/Include/mpu_armv7.h \
../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_i2c.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_i2c_ex.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_spi.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_spi_ex.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
../Core/Inc/RFID.h:
../Core/Inc/main.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
../Core/Inc/stm32g0xx_hal_conf.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g070xx.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/Include/mpu_armv7.h:
../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_i2c.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_i2c_ex.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_spi.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_spi_ex.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
Binary file not shown.
+15
View File
@@ -0,0 +1,15 @@
../Core/Src/RFID.c:26:6:spi_cs_rfid_write 16 static
../Core/Src/RFID.c:31:9:rc522_regRead8 32 static
../Core/Src/RFID.c:48:6:rc522_regWrite8 24 static
../Core/Src/RFID.c:60:6:rc522_setBit 16 static
../Core/Src/RFID.c:68:6:rc522_clearBit 16 static
../Core/Src/RFID.c:76:6:rc522_reset 8 static
../Core/Src/RFID.c:84:6:rc522_antennaON 24 static
../Core/Src/RFID.c:97:6:rc522_checkCard 32 static
../Core/Src/RFID.c:115:6:rc522_request 48 static
../Core/Src/RFID.c:131:6:rc522_toCard 48 static
../Core/Src/RFID.c:232:6:rc522_antiColl 40 static
../Core/Src/RFID.c:263:6:rc522_halt 24 static
../Core/Src/RFID.c:275:6:rc522_calculateCRC 40 static
../Core/Src/RFID.c:304:6:rc522_compareIds 24 static
../Core/Src/RFID.c:317:6:rc522_init 8 static
+15 -15
View File
@@ -1,15 +1,15 @@
../Core/Src/main.c:81:6:printBinary 2
../Core/Src/main.c:100:5:main 1
../Core/Src/main.c:159:6:SystemClock_Config 3
../Core/Src/main.c:198:13:MX_I2C1_Init 4
../Core/Src/main.c:246:13:MX_SPI1_Init 2
../Core/Src/main.c:286:13:MX_USART2_UART_Init 5
../Core/Src/main.c:334:13:MX_GPIO_Init 1
../Core/Src/main.c:436:1:__io_putchar 1
../Core/Src/main.c:446:6:HAL_I2C_SlaveRxCpltCallback 1
../Core/Src/main.c:451:6:init_keypad 1
../Core/Src/main.c:459:6:init_buttons 1
../Core/Src/main.c:466:6:scan_keypad 16
../Core/Src/main.c:500:6:scan_buttons 12
../Core/Src/main.c:527:6:send_iterupt 1
../Core/Src/main.c:537:6:Error_Handler 1
../Core/Src/main.c:82:6:printBinary 2
../Core/Src/main.c:101:5:main 2
../Core/Src/main.c:165:6:SystemClock_Config 3
../Core/Src/main.c:204:13:MX_I2C1_Init 4
../Core/Src/main.c:252:13:MX_SPI1_Init 2
../Core/Src/main.c:292:13:MX_USART2_UART_Init 5
../Core/Src/main.c:340:13:MX_GPIO_Init 1
../Core/Src/main.c:452:1:__io_putchar 1
../Core/Src/main.c:462:6:HAL_I2C_SlaveRxCpltCallback 1
../Core/Src/main.c:467:6:init_keypad 1
../Core/Src/main.c:475:6:init_buttons 1
../Core/Src/main.c:482:6:scan_keypad 16
../Core/Src/main.c:516:6:scan_buttons 12
../Core/Src/main.c:543:6:send_iterupt 1
../Core/Src/main.c:553:6:Error_Handler 1
+3 -1
View File
@@ -31,7 +31,8 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_spi.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_spi_ex.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h \
../Core/Inc/RFID.h
../Core/Inc/main.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
../Core/Inc/stm32g0xx_hal_conf.h:
@@ -66,3 +67,4 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_spi_ex.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
../Core/Inc/RFID.h:
Binary file not shown.
+15 -15
View File
@@ -1,15 +1,15 @@
../Core/Src/main.c:81:6:printBinary 24 static
../Core/Src/main.c:100:5:main 48 static
../Core/Src/main.c:159:6:SystemClock_Config 88 static
../Core/Src/main.c:198:13:MX_I2C1_Init 8 static
../Core/Src/main.c:246:13:MX_SPI1_Init 8 static
../Core/Src/main.c:286:13:MX_USART2_UART_Init 8 static
../Core/Src/main.c:334:13:MX_GPIO_Init 56 static
../Core/Src/main.c:436:1:__io_putchar 16 static
../Core/Src/main.c:446:6:HAL_I2C_SlaveRxCpltCallback 16 static
../Core/Src/main.c:451:6:init_keypad 8 static
../Core/Src/main.c:459:6:init_buttons 8 static
../Core/Src/main.c:466:6:scan_keypad 8 static
../Core/Src/main.c:500:6:scan_buttons 8 static
../Core/Src/main.c:527:6:send_iterupt 8 static
../Core/Src/main.c:537:6:Error_Handler 8 static,ignoring_inline_asm
../Core/Src/main.c:82:6:printBinary 24 static
../Core/Src/main.c:101:5:main 32 static
../Core/Src/main.c:165:6:SystemClock_Config 88 static
../Core/Src/main.c:204:13:MX_I2C1_Init 8 static
../Core/Src/main.c:252:13:MX_SPI1_Init 8 static
../Core/Src/main.c:292:13:MX_USART2_UART_Init 8 static
../Core/Src/main.c:340:13:MX_GPIO_Init 56 static
../Core/Src/main.c:452:1:__io_putchar 16 static
../Core/Src/main.c:462:6:HAL_I2C_SlaveRxCpltCallback 16 static
../Core/Src/main.c:467:6:init_keypad 8 static
../Core/Src/main.c:475:6:init_buttons 8 static
../Core/Src/main.c:482:6:scan_keypad 8 static
../Core/Src/main.c:516:6:scan_buttons 8 static
../Core/Src/main.c:543:6:send_iterupt 8 static
../Core/Src/main.c:553:6:Error_Handler 8 static,ignoring_inline_asm
+3 -3
View File
@@ -2,6 +2,6 @@
../Core/Src/stm32g0xx_hal_msp.c:90:6:HAL_I2C_MspInit 3
../Core/Src/stm32g0xx_hal_msp.c:139:6:HAL_I2C_MspDeInit 2
../Core/Src/stm32g0xx_hal_msp.c:172:6:HAL_SPI_MspInit 2
../Core/Src/stm32g0xx_hal_msp.c:210:6:HAL_SPI_MspDeInit 2
../Core/Src/stm32g0xx_hal_msp.c:241:6:HAL_UART_MspInit 3
../Core/Src/stm32g0xx_hal_msp.c:288:6:HAL_UART_MspDeInit 2
../Core/Src/stm32g0xx_hal_msp.c:209:6:HAL_SPI_MspDeInit 2
../Core/Src/stm32g0xx_hal_msp.c:239:6:HAL_UART_MspInit 3
../Core/Src/stm32g0xx_hal_msp.c:286:6:HAL_UART_MspDeInit 2
Binary file not shown.
+3 -3
View File
@@ -2,6 +2,6 @@
../Core/Src/stm32g0xx_hal_msp.c:90:6:HAL_I2C_MspInit 80 static
../Core/Src/stm32g0xx_hal_msp.c:139:6:HAL_I2C_MspDeInit 16 static
../Core/Src/stm32g0xx_hal_msp.c:172:6:HAL_SPI_MspInit 56 static
../Core/Src/stm32g0xx_hal_msp.c:210:6:HAL_SPI_MspDeInit 16 static
../Core/Src/stm32g0xx_hal_msp.c:241:6:HAL_UART_MspInit 80 static
../Core/Src/stm32g0xx_hal_msp.c:288:6:HAL_UART_MspDeInit 16 static
../Core/Src/stm32g0xx_hal_msp.c:209:6:HAL_SPI_MspDeInit 16 static
../Core/Src/stm32g0xx_hal_msp.c:239:6:HAL_UART_MspInit 80 static
../Core/Src/stm32g0xx_hal_msp.c:286:6:HAL_UART_MspDeInit 16 static
Binary file not shown.
+4 -1
View File
@@ -5,6 +5,7 @@
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Core/Src/RFID.c \
../Core/Src/main.c \
../Core/Src/stm32g0xx_hal_msp.c \
../Core/Src/stm32g0xx_it.c \
@@ -13,6 +14,7 @@ C_SRCS += \
../Core/Src/system_stm32g0xx.c
C_DEPS += \
./Core/Src/RFID.d \
./Core/Src/main.d \
./Core/Src/stm32g0xx_hal_msp.d \
./Core/Src/stm32g0xx_it.d \
@@ -21,6 +23,7 @@ C_DEPS += \
./Core/Src/system_stm32g0xx.d
OBJS += \
./Core/Src/RFID.o \
./Core/Src/main.o \
./Core/Src/stm32g0xx_hal_msp.o \
./Core/Src/stm32g0xx_it.o \
@@ -36,7 +39,7 @@ Core/Src/%.o Core/Src/%.su Core/Src/%.cyclo: ../Core/Src/%.c Core/Src/subdir.mk
clean: clean-Core-2f-Src
clean-Core-2f-Src:
-$(RM) ./Core/Src/main.cyclo ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/stm32g0xx_hal_msp.cyclo ./Core/Src/stm32g0xx_hal_msp.d ./Core/Src/stm32g0xx_hal_msp.o ./Core/Src/stm32g0xx_hal_msp.su ./Core/Src/stm32g0xx_it.cyclo ./Core/Src/stm32g0xx_it.d ./Core/Src/stm32g0xx_it.o ./Core/Src/stm32g0xx_it.su ./Core/Src/syscalls.cyclo ./Core/Src/syscalls.d ./Core/Src/syscalls.o ./Core/Src/syscalls.su ./Core/Src/sysmem.cyclo ./Core/Src/sysmem.d ./Core/Src/sysmem.o ./Core/Src/sysmem.su ./Core/Src/system_stm32g0xx.cyclo ./Core/Src/system_stm32g0xx.d ./Core/Src/system_stm32g0xx.o ./Core/Src/system_stm32g0xx.su
-$(RM) ./Core/Src/RFID.cyclo ./Core/Src/RFID.d ./Core/Src/RFID.o ./Core/Src/RFID.su ./Core/Src/main.cyclo ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/stm32g0xx_hal_msp.cyclo ./Core/Src/stm32g0xx_hal_msp.d ./Core/Src/stm32g0xx_hal_msp.o ./Core/Src/stm32g0xx_hal_msp.su ./Core/Src/stm32g0xx_it.cyclo ./Core/Src/stm32g0xx_it.d ./Core/Src/stm32g0xx_it.o ./Core/Src/stm32g0xx_it.su ./Core/Src/syscalls.cyclo ./Core/Src/syscalls.d ./Core/Src/syscalls.o ./Core/Src/syscalls.su ./Core/Src/sysmem.cyclo ./Core/Src/sysmem.d ./Core/Src/sysmem.o ./Core/Src/sysmem.su ./Core/Src/system_stm32g0xx.cyclo ./Core/Src/system_stm32g0xx.d ./Core/Src/system_stm32g0xx.o ./Core/Src/system_stm32g0xx.su
.PHONY: clean-Core-2f-Src
Binary file not shown.
+12672 -12079
View File
File diff suppressed because it is too large Load Diff
+975 -781
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -1,3 +1,4 @@
"./Core/Src/RFID.o"
"./Core/Src/main.o"
"./Core/Src/stm32g0xx_hal_msp.o"
"./Core/Src/stm32g0xx_it.o"