ADD: 'lf t55xx deviceconfig' - command that allows for setting t55xx timings via the client. If run on a RDV40, it also saves the config to flashmemory. This gives you option to have custom timings for your custom antenna in order for your RDV40 to work optimal against a t55xx tag and with your custom antenna. (@iceman)

This commit is contained in:
Chris 2018-09-11 18:35:07 +02:00
parent 5959cdf62c
commit ba2543b627
10 changed files with 185 additions and 26 deletions

View file

@ -55,7 +55,7 @@ extern uint32_t FLASHMEM_SPIBAUDRATE;
#endif
#ifndef FLASH_MEM_MAX_SIZE
# define FLASH_MEM_MAX_SIZE 0x3FFFF
# define FLASH_MEM_MAX_SIZE 0x3FFFF // (262143)
#endif
#ifndef FLASH_MEM_ID_LEN
@ -70,6 +70,15 @@ extern uint32_t FLASHMEM_SPIBAUDRATE;
# define FLASH_MEM_SIGNATURE_OFFSET (FLASH_MEM_MAX_SIZE - FLASH_MEM_SIGNATURE_LEN)
#endif
#if WITH_FLASH
#ifndef T55XX_CONFIG_LEN
# define T55XX_CONFIG_LEN sizeof( t55xx_config )
#endif
#ifndef T55XX_CONFIG_OFFSET
#define T55XX_CONFIG_OFFSET (FLASH_MEM_MAX_SIZE - FLASH_MEM_SIGNATURE_LEN - T55XX_CONFIG_LEN)
#endif
#endif
// RDV40, validation structure to help identifying that client/firmware is talking with RDV40
typedef struct {