Compare commits
5 Commits
ee15efcf1b
...
938bca1918
| Author | SHA1 | Date | |
|---|---|---|---|
| 938bca1918 | |||
| d2e2a54175 | |||
| ec42834fa3 | |||
| 08f38c1d0b | |||
| a6f9f52555 |
32
.mxproject
32
.mxproject
File diff suppressed because one or more lines are too long
@ -45,12 +45,13 @@ target_link_directories(${CMAKE_PROJECT_NAME} PRIVATE
|
||||
# Add sources to executable
|
||||
target_sources(${CMAKE_PROJECT_NAME} PRIVATE
|
||||
# Add user sources here
|
||||
sx1281-driver-c/hw-gpio.c
|
||||
sx1281-driver-c/hw-spi.c
|
||||
sx1281-driver-c/hw-uart.c
|
||||
sx1281-driver-c/hw.c
|
||||
sx1281-driver-c/sx1281_driver_gpio.c
|
||||
sx1281-driver-c/sx1281_driver_spi.c
|
||||
sx1281-driver-c/sx1281_driver_uart.c
|
||||
sx1281-driver-c/sx1281_header.c
|
||||
sx1281-driver-c/radio.h
|
||||
sx1281-driver-c/sx1281-hal.c
|
||||
sx1281-driver-c/sx1281_driver.c
|
||||
sx1281-driver-c/sx1281_driver_hal.c
|
||||
sx1281-driver-c/sx1281.c
|
||||
sx1281-driver-c/sx1281.h
|
||||
# User/bsp sources
|
||||
|
||||
52
Core/Inc/dma.h
Normal file
52
Core/Inc/dma.h
Normal file
@ -0,0 +1,52 @@
|
||||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file dma.h
|
||||
* @brief This file contains all the function prototypes for
|
||||
* the dma.c file
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2025 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef __DMA_H__
|
||||
#define __DMA_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "main.h"
|
||||
|
||||
/* DMA memory to memory transfer handles -------------------------------------*/
|
||||
|
||||
/* USER CODE BEGIN Includes */
|
||||
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* USER CODE BEGIN Private defines */
|
||||
|
||||
/* USER CODE END Private defines */
|
||||
|
||||
void MX_DMA_Init(void);
|
||||
|
||||
/* USER CODE BEGIN Prototypes */
|
||||
|
||||
/* USER CODE END Prototypes */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __DMA_H__ */
|
||||
|
||||
@ -57,8 +57,20 @@ void Error_Handler(void);
|
||||
/* USER CODE END EFP */
|
||||
|
||||
/* Private defines -----------------------------------------------------------*/
|
||||
#define SPI1_NSS_Pin GPIO_PIN_4
|
||||
#define SPI1_NSS_GPIO_Port GPIOA
|
||||
#define RADIO_RST_Pin GPIO_PIN_0
|
||||
#define RADIO_RST_GPIO_Port GPIOB
|
||||
#define LCD_CS_Pin GPIO_PIN_12
|
||||
#define LCD_CS_GPIO_Port GPIOB
|
||||
#define LCD_CLK_Pin GPIO_PIN_13
|
||||
#define LCD_CLK_GPIO_Port GPIOB
|
||||
#define LCD_RES_Pin GPIO_PIN_14
|
||||
#define LCD_RES_GPIO_Port GPIOB
|
||||
#define LCD_MOSI_Pin GPIO_PIN_15
|
||||
#define LCD_MOSI_GPIO_Port GPIOB
|
||||
#define LCD_RS_Pin GPIO_PIN_8
|
||||
#define LCD_RS_GPIO_Port GPIOA
|
||||
#define WS2812_Pin GPIO_PIN_11
|
||||
#define WS2812_GPIO_Port GPIOA
|
||||
#define KEY_Pin GPIO_PIN_12
|
||||
@ -79,6 +91,8 @@ void Error_Handler(void);
|
||||
#define RADIO_DIO1_EXTI_IRQn EXTI9_5_IRQn
|
||||
#define RADIO_BUSY_Pin GPIO_PIN_8
|
||||
#define RADIO_BUSY_GPIO_Port GPIOB
|
||||
#define LCD_BLK_Pin GPIO_PIN_9
|
||||
#define LCD_BLK_GPIO_Port GPIOB
|
||||
|
||||
/* USER CODE BEGIN Private defines */
|
||||
|
||||
|
||||
@ -42,7 +42,7 @@
|
||||
/*#define HAL_CORTEX_MODULE_ENABLED */
|
||||
/*#define HAL_CRC_MODULE_ENABLED */
|
||||
/*#define HAL_DAC_MODULE_ENABLED */
|
||||
/*#define HAL_DMA_MODULE_ENABLED */
|
||||
#define HAL_DMA_MODULE_ENABLED
|
||||
/*#define HAL_ETH_MODULE_ENABLED */
|
||||
/*#define HAL_FLASH_MODULE_ENABLED */
|
||||
#define HAL_GPIO_MODULE_ENABLED
|
||||
|
||||
@ -55,6 +55,9 @@ void SVC_Handler(void);
|
||||
void DebugMon_Handler(void);
|
||||
void PendSV_Handler(void);
|
||||
void SysTick_Handler(void);
|
||||
void DMA1_Channel2_IRQHandler(void);
|
||||
void DMA1_Channel3_IRQHandler(void);
|
||||
void DMA1_Channel5_IRQHandler(void);
|
||||
void EXTI9_5_IRQHandler(void);
|
||||
void EXTI15_10_IRQHandler(void);
|
||||
/* USER CODE BEGIN EFP */
|
||||
|
||||
61
Core/Src/dma.c
Normal file
61
Core/Src/dma.c
Normal file
@ -0,0 +1,61 @@
|
||||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file dma.c
|
||||
* @brief This file provides code for the configuration
|
||||
* of all the requested memory to memory DMA transfers.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2025 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "dma.h"
|
||||
|
||||
/* USER CODE BEGIN 0 */
|
||||
|
||||
/* USER CODE END 0 */
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Configure DMA */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
/* USER CODE BEGIN 1 */
|
||||
|
||||
/* USER CODE END 1 */
|
||||
|
||||
/**
|
||||
* Enable DMA controller clock
|
||||
*/
|
||||
void MX_DMA_Init(void)
|
||||
{
|
||||
|
||||
/* DMA controller clock enable */
|
||||
__HAL_RCC_DMA1_CLK_ENABLE();
|
||||
|
||||
/* DMA interrupt init */
|
||||
/* DMA1_Channel2_IRQn interrupt configuration */
|
||||
HAL_NVIC_SetPriority(DMA1_Channel2_IRQn, 0, 0);
|
||||
HAL_NVIC_EnableIRQ(DMA1_Channel2_IRQn);
|
||||
/* DMA1_Channel3_IRQn interrupt configuration */
|
||||
HAL_NVIC_SetPriority(DMA1_Channel3_IRQn, 0, 0);
|
||||
HAL_NVIC_EnableIRQ(DMA1_Channel3_IRQn);
|
||||
/* DMA1_Channel5_IRQn interrupt configuration */
|
||||
HAL_NVIC_SetPriority(DMA1_Channel5_IRQn, 0, 0);
|
||||
HAL_NVIC_EnableIRQ(DMA1_Channel5_IRQn);
|
||||
|
||||
}
|
||||
|
||||
/* USER CODE BEGIN 2 */
|
||||
|
||||
/* USER CODE END 2 */
|
||||
|
||||
@ -50,15 +50,16 @@ void MX_GPIO_Init(void)
|
||||
__HAL_RCC_GPIOB_CLK_ENABLE();
|
||||
|
||||
/*Configure GPIO pin Output Level */
|
||||
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_4, GPIO_PIN_RESET);
|
||||
HAL_GPIO_WritePin(GPIOA, SPI1_NSS_Pin|LCD_RS_Pin, GPIO_PIN_RESET);
|
||||
|
||||
/*Configure GPIO pin Output Level */
|
||||
HAL_GPIO_WritePin(GPIOB, RADIO_RST_Pin|RADIO_RXEN_Pin|RADIO_TXEN_Pin, GPIO_PIN_RESET);
|
||||
HAL_GPIO_WritePin(GPIOB, RADIO_RST_Pin|LCD_CS_Pin|LCD_RES_Pin|RADIO_RXEN_Pin
|
||||
|RADIO_TXEN_Pin|LCD_BLK_Pin, GPIO_PIN_RESET);
|
||||
|
||||
/*Configure GPIO pin : PA4 */
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_4;
|
||||
/*Configure GPIO pins : SPI1_NSS_Pin LCD_RS_Pin */
|
||||
GPIO_InitStruct.Pin = SPI1_NSS_Pin|LCD_RS_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_PULLUP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||
|
||||
@ -69,6 +70,20 @@ void MX_GPIO_Init(void)
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||
HAL_GPIO_Init(RADIO_RST_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
/*Configure GPIO pin : LCD_CS_Pin */
|
||||
GPIO_InitStruct.Pin = LCD_CS_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
|
||||
HAL_GPIO_Init(LCD_CS_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
/*Configure GPIO pins : LCD_RES_Pin LCD_BLK_Pin */
|
||||
GPIO_InitStruct.Pin = LCD_RES_Pin|LCD_BLK_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
||||
|
||||
/*Configure GPIO pin : KEY_Pin */
|
||||
GPIO_InitStruct.Pin = KEY_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_IT_FALLING;
|
||||
|
||||
635
Core/Src/main.c
635
Core/Src/main.c
@ -18,6 +18,7 @@
|
||||
/* USER CODE END Header */
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "main.h"
|
||||
#include "dma.h"
|
||||
#include "spi.h"
|
||||
#include "tim.h"
|
||||
#include "usart.h"
|
||||
@ -27,10 +28,8 @@
|
||||
/* USER CODE BEGIN Includes */
|
||||
#include <string.h>
|
||||
#include "stdio.h"
|
||||
#include "hw.h"
|
||||
#include "radio.h"
|
||||
#include "sx1281.h"
|
||||
|
||||
#include "device/lcd_driver/lcd.h"
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* Private typedef -----------------------------------------------------------*/
|
||||
@ -62,175 +61,8 @@ void SystemClock_Config(void);
|
||||
|
||||
/* Private user code ---------------------------------------------------------*/
|
||||
/* USER CODE BEGIN 0 */
|
||||
int fputc(int ch,FILE *f)
|
||||
{
|
||||
//采用轮询方式发送1字节数据,超时时间设置为无限等待
|
||||
HAL_UART_Transmit(&huart2,(uint8_t *)&ch,1,HAL_MAX_DELAY);
|
||||
return ch;
|
||||
}
|
||||
/*!
|
||||
* \brief Used to display firmware version UART flow
|
||||
*/
|
||||
#define FIRMWARE_VERSION ( ( char* )"Firmware Version: 170919A" )
|
||||
|
||||
/*!
|
||||
* Select mode of operation for the Ping Ping application
|
||||
*/
|
||||
// #define MODE_BLE /* Bluetooth Low Energy */
|
||||
#define MODE_LORA /* Long Range */
|
||||
// #define MODE_GFSK /* Gaussian Frequency Shift Keying */
|
||||
// #define MODE_FLRC /* Fast Long Range Codec */
|
||||
|
||||
|
||||
#define RF_BL_ADV_CHANNEL_38 2426000000 // Hz
|
||||
|
||||
/*!
|
||||
* \brief Defines the nominal frequency
|
||||
*/
|
||||
#define RF_FREQUENCY RF_BL_ADV_CHANNEL_38 // Hz
|
||||
|
||||
/*!
|
||||
* \brief Defines the output power in dBm
|
||||
*
|
||||
* \remark The range of the output power is [-18..+13] dBm
|
||||
*/
|
||||
#define TX_OUTPUT_POWER 13
|
||||
|
||||
/*!
|
||||
* \brief Defines the buffer size, i.e. the payload size
|
||||
*/
|
||||
#define BUFFER_SIZE 5
|
||||
|
||||
/*!
|
||||
* \brief Number of tick size steps for tx timeout
|
||||
*/
|
||||
#define TX_TIMEOUT_VALUE 10000 // ms
|
||||
|
||||
/*!
|
||||
* \brief Number of tick size steps for rx timeout
|
||||
*/
|
||||
#define RX_TIMEOUT_VALUE 1000 // ms
|
||||
|
||||
/*!
|
||||
* \brief Size of ticks (used for Tx and Rx timeout)
|
||||
*/
|
||||
#define RX_TIMEOUT_TICK_SIZE RADIO_TICK_SIZE_1000_US
|
||||
|
||||
/*!
|
||||
* \brief Defines the size of the token defining message type in the payload
|
||||
*/
|
||||
#define PINGPONGSIZE 4
|
||||
|
||||
|
||||
/*!
|
||||
* \brief Defines the states of the application
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
APP_LOWPOWER,
|
||||
APP_RX,
|
||||
APP_RX_TIMEOUT,
|
||||
APP_RX_ERROR,
|
||||
APP_TX,
|
||||
APP_TX_TIMEOUT,
|
||||
}AppStates_t;
|
||||
|
||||
|
||||
/*!
|
||||
* \brief Function to be executed on Radio Tx Done event
|
||||
*/
|
||||
void OnTxDone( void );
|
||||
|
||||
/*!
|
||||
* \brief Function to be executed on Radio Rx Done event
|
||||
*/
|
||||
void OnRxDone( void );
|
||||
|
||||
/*!
|
||||
* \brief Function executed on Radio Tx Timeout event
|
||||
*/
|
||||
void OnTxTimeout( void );
|
||||
|
||||
/*!
|
||||
* \brief Function executed on Radio Rx Timeout event
|
||||
*/
|
||||
void OnRxTimeout( void );
|
||||
|
||||
/*!
|
||||
* \brief Function executed on Radio Rx Error event
|
||||
*/
|
||||
void OnRxError( IrqErrorCode_t );
|
||||
|
||||
|
||||
/*!
|
||||
* \brief Define the possible message type for this application
|
||||
*/
|
||||
const uint8_t PingMsg[] = "PING";
|
||||
const uint8_t PongMsg[] = "PONG";
|
||||
|
||||
/*!
|
||||
* \brief All the callbacks are stored in a structure
|
||||
*/
|
||||
RadioCallbacks_t Callbacks =
|
||||
{
|
||||
&OnTxDone, // txDone
|
||||
&OnRxDone, // rxDone
|
||||
NULL, // syncWordDone
|
||||
NULL, // headerDone
|
||||
&OnTxTimeout, // txTimeout
|
||||
&OnRxTimeout, // rxTimeout
|
||||
&OnRxError, // rxError
|
||||
NULL, // cadDone
|
||||
};
|
||||
|
||||
/*!
|
||||
* \brief The size of the buffer
|
||||
*/
|
||||
uint8_t BufferSize = BUFFER_SIZE;
|
||||
|
||||
/*!
|
||||
* \brief The buffer
|
||||
*/
|
||||
int8_t Buffer[BUFFER_SIZE];
|
||||
|
||||
/*!
|
||||
* \brief Mask of IRQs to listen to in rx mode
|
||||
*/
|
||||
uint16_t RxIrqMask = IRQ_RX_DONE | IRQ_RX_TX_TIMEOUT;
|
||||
|
||||
/*!
|
||||
* \brief Mask of IRQs to listen to in tx mode
|
||||
*/
|
||||
uint16_t TxIrqMask = IRQ_TX_DONE | IRQ_RX_TX_TIMEOUT;
|
||||
|
||||
/*!
|
||||
* \brief The State of the application
|
||||
*/
|
||||
AppStates_t AppState = APP_LOWPOWER;
|
||||
|
||||
#if defined( MODE_BLE )
|
||||
/*!
|
||||
* \brief In case of BLE, the payload must contain the header
|
||||
*/
|
||||
typedef union
|
||||
{
|
||||
struct BleAdvHeaderField_s
|
||||
{
|
||||
uint8_t pduType: 4;
|
||||
uint8_t rfu1:2;
|
||||
uint8_t txAddr:1;
|
||||
uint8_t rxAddr:1;
|
||||
uint8_t length:6;
|
||||
uint8_t rfu2:2;
|
||||
} Fields;
|
||||
uint8_t Serial[ 2 ];
|
||||
}BleAdvHeaders_t;
|
||||
BleAdvHeaders_t ble_header_adv;
|
||||
#endif // MODE_BLE
|
||||
|
||||
PacketParams_t packetParams;
|
||||
|
||||
PacketStatus_t packetStatus;
|
||||
SX1281_t radio;
|
||||
extern const unsigned char logo_M[];
|
||||
|
||||
/* USER CODE END 0 */
|
||||
|
||||
@ -263,175 +95,46 @@ int main(void)
|
||||
|
||||
/* Initialize all configured peripherals */
|
||||
MX_GPIO_Init();
|
||||
MX_DMA_Init();
|
||||
MX_SPI1_Init();
|
||||
MX_SPI2_Init();
|
||||
MX_TIM1_Init();
|
||||
MX_USART1_UART_Init();
|
||||
MX_USART2_UART_Init();
|
||||
/* USER CODE BEGIN 2 */
|
||||
printf("CLK: SYS=%ld APB1=%ld APB2=%ld\r\n",
|
||||
HAL_RCC_GetSysClockFreq(),
|
||||
HAL_RCC_GetPCLK1Freq(),
|
||||
HAL_RCC_GetPCLK2Freq());
|
||||
|
||||
bool isMaster = true;
|
||||
ModulationParams_t modulationParams;
|
||||
|
||||
HwInit( );
|
||||
HAL_Delay( 500 ); // let DC/DC power ramp up
|
||||
|
||||
Radio.Init( &Callbacks );
|
||||
// Radio.SetRegulatorMode( USE_DCDC ); // Can also be set in LDO mode but consume more power
|
||||
memset( &Buffer, 0x00, BufferSize );
|
||||
|
||||
/* 1. 确保芯片已复位且 BUSY=0 */
|
||||
SX1281HalReset(); // 已在 HwInit() 里调过,这里再调一次更保险
|
||||
while (HAL_GPIO_ReadPin(RADIO_BUSY_PORT, RADIO_BUSY_PIN) != GPIO_PIN_RESET)
|
||||
; // 等 BUSY 低
|
||||
|
||||
/* 2. 单包 SPI 双向测试 */
|
||||
uint8_t tx[3] = {0x48, 0x00, 0x00}; // 读 Reg00
|
||||
uint8_t rx[3] = {0};
|
||||
HAL_GPIO_WritePin(RADIO_NSS_PORT, RADIO_NSS_PIN, GPIO_PIN_RESET);
|
||||
HAL_SPI_TransmitReceive(&hspi1, tx, rx, 3, 100);
|
||||
HAL_GPIO_WritePin(RADIO_NSS_PORT, RADIO_NSS_PIN, GPIO_PIN_SET);
|
||||
|
||||
printf("tx: %02X %02X %02X\n", tx[0], tx[1], tx[2]);
|
||||
printf("rx: %02X %02X %02X\n", rx[0], rx[1], rx[2]);
|
||||
|
||||
uint8_t id=1;
|
||||
Radio.ReadRegisters(0x00, &id, 1); // 读 Chip Mode 寄存器
|
||||
printf("Reg00=%d (expect 0x40 or 0xFF)\r\n", id);
|
||||
|
||||
|
||||
printf( "\n\n\r SX1281 Ping Pong Demo Application. %s\n\n\r", FIRMWARE_VERSION );
|
||||
printf( "\n\n\r Radio firmware version 0x%x\n\n\r", Radio.GetFirmwareVersion( ) );
|
||||
|
||||
#if defined( MODE_BLE )
|
||||
|
||||
printf( "\nPing Pong running in BLE mode\n\r" );
|
||||
modulationParams.PacketType = PACKET_TYPE_BLE;
|
||||
modulationParams.Params.Ble.BitrateBandwidth = GFS_BLE_BR_1_000_BW_1_2;
|
||||
modulationParams.Params.Ble.ModulationIndex = GFS_BLE_MOD_IND_0_50;
|
||||
modulationParams.Params.Ble.ModulationShaping = RADIO_MOD_SHAPING_BT_0_5;
|
||||
|
||||
packetParams.PacketType = PACKET_TYPE_BLE;
|
||||
packetParams.Params.Ble.BlePacketType = BLE_EYELONG_1_0;
|
||||
packetParams.Params.Ble.ConnectionState = BLE_ADVERTISER;
|
||||
packetParams.Params.Ble.CrcField = BLE_CRC_3B;
|
||||
packetParams.Params.Ble.Whitening = RADIO_WHITENING_ON;
|
||||
|
||||
#elif defined( MODE_GFSK )
|
||||
|
||||
printf( "\nPing Pong running in GFSK mode\n\r" );
|
||||
modulationParams.PacketType = PACKET_TYPE_GFSK;
|
||||
modulationParams.Params.Gfsk.BitrateBandwidth = GFS_BLE_BR_0_125_BW_0_3;
|
||||
modulationParams.Params.Gfsk.ModulationIndex = GFS_BLE_MOD_IND_1_00;
|
||||
modulationParams.Params.Gfsk.ModulationShaping = RADIO_MOD_SHAPING_BT_1_0;
|
||||
|
||||
packetParams.PacketType = PACKET_TYPE_GFSK;
|
||||
packetParams.Params.Gfsk.PreambleLength = PREAMBLE_LENGTH_32_BITS;
|
||||
packetParams.Params.Gfsk.SyncWordLength = GFS_SYNCWORD_LENGTH_5_BYTE;
|
||||
packetParams.Params.Gfsk.SyncWordMatch = RADIO_RX_MATCH_SYNCWORD_1;
|
||||
packetParams.Params.Gfsk.HeaderType = RADIO_PACKET_VARIABLE_LENGTH;
|
||||
packetParams.Params.Gfsk.PayloadLength = BUFFER_SIZE;
|
||||
packetParams.Params.Gfsk.CrcLength = RADIO_CRC_3_BYTES;
|
||||
packetParams.Params.Gfsk.Whitening = RADIO_WHITENING_ON;
|
||||
|
||||
#elif defined( MODE_LORA )
|
||||
|
||||
printf( "\nPing Pong running in LORA mode\n\r" );
|
||||
modulationParams.PacketType = PACKET_TYPE_LORA;
|
||||
modulationParams.Params.LoRa.SpreadingFactor = LORA_SF12;
|
||||
modulationParams.Params.LoRa.Bandwidth = LORA_BW_1600;
|
||||
modulationParams.Params.LoRa.CodingRate = LORA_CR_LI_4_7;
|
||||
|
||||
packetParams.PacketType = PACKET_TYPE_LORA;
|
||||
packetParams.Params.LoRa.PreambleLength = 12;
|
||||
packetParams.Params.LoRa.HeaderType = LORA_PACKET_VARIABLE_LENGTH;
|
||||
packetParams.Params.LoRa.PayloadLength = BUFFER_SIZE;
|
||||
packetParams.Params.LoRa.CrcMode = LORA_CRC_ON;
|
||||
packetParams.Params.LoRa.InvertIQ = LORA_IQ_NORMAL;
|
||||
|
||||
#elif defined( MODE_FLRC )
|
||||
|
||||
printf( "\nPing Pong running in FLRC mode\n\r" );
|
||||
modulationParams.PacketType = PACKET_TYPE_FLRC;
|
||||
modulationParams.Params.Flrc.BitrateBandwidth = FLRC_BR_0_260_BW_0_3;
|
||||
modulationParams.Params.Flrc.CodingRate = FLRC_CR_1_2;
|
||||
modulationParams.Params.Flrc.ModulationShaping = RADIO_MOD_SHAPING_BT_1_0;
|
||||
|
||||
packetParams.PacketType = PACKET_TYPE_FLRC;
|
||||
packetParams.Params.Flrc.PreambleLength = PREAMBLE_LENGTH_32_BITS;
|
||||
packetParams.Params.Flrc.SyncWordLength = FLRC_SYNCWORD_LENGTH_4_BYTE;
|
||||
packetParams.Params.Flrc.SyncWordMatch = RADIO_RX_MATCH_SYNCWORD_1;
|
||||
packetParams.Params.Flrc.HeaderType = RADIO_PACKET_VARIABLE_LENGTH;
|
||||
packetParams.Params.Flrc.PayloadLength = BUFFER_SIZE;
|
||||
packetParams.Params.Flrc.CrcLength = RADIO_CRC_3_BYTES;
|
||||
packetParams.Params.Flrc.Whitening = RADIO_WHITENING_OFF;
|
||||
|
||||
#else
|
||||
#error "Please select the mode of operation for the Ping Ping demo"
|
||||
#endif
|
||||
|
||||
Radio.SetStandby( STDBY_RC );
|
||||
Radio.SetPacketType( modulationParams.PacketType );
|
||||
Radio.SetModulationParams( &modulationParams );
|
||||
Radio.SetPacketParams( &packetParams );
|
||||
Radio.SetRfFrequency( RF_FREQUENCY );
|
||||
Radio.SetBufferBaseAddresses( 0x00, 0x00 );
|
||||
Radio.SetTxParams( TX_OUTPUT_POWER, RADIO_RAMP_02_US );
|
||||
|
||||
Radio.SetStandby( STDBY_RC );
|
||||
switch(modulationParams.Params.LoRa.SpreadingFactor){
|
||||
case LORA_SF5:
|
||||
case LORA_SF6:
|
||||
Radio.WriteRegister(0x0925,0x1E);
|
||||
break;
|
||||
case LORA_SF7:
|
||||
case LORA_SF8:
|
||||
Radio.WriteRegister(0x0925,0x37);
|
||||
break;
|
||||
case LORA_SF9:
|
||||
case LORA_SF10:
|
||||
case LORA_SF11:
|
||||
case LORA_SF12:
|
||||
Radio.WriteRegister(0x0925,0x32);
|
||||
break;
|
||||
}
|
||||
// SX1281SetPollingMode( );
|
||||
SX1281SetInterruptMode();
|
||||
#if defined( MODE_BLE )
|
||||
// only used in GENERIC and BLE mode
|
||||
Radio.SetSyncWord( 1, ( uint8_t[] ){ 0xDD, 0xA0, 0x96, 0x69, 0xDD } );
|
||||
Radio.WriteRegister(0x9c7, 0x55 );
|
||||
Radio.WriteRegister(0x9c8, 0x55 );
|
||||
Radio.WriteRegister(0x9c9, 0x55 );
|
||||
//Radio.WriteRegister( 0x9c5, 0x33 );
|
||||
Radio.SetBleAdvertizerAccessAddress( );
|
||||
Radio.SetWhiteningSeed( 0x33 );
|
||||
ble_header_adv.Fields.length = PINGPONGSIZE + 2;
|
||||
ble_header_adv.Fields.pduType = 2;
|
||||
#endif // MODE_BLE
|
||||
|
||||
//可以修改成ws2812做发射/接收指示灯
|
||||
// GpioWrite( LED_TX_PORT, LED_TX_PIN, 0 );
|
||||
// GpioWrite( LED_RX_PORT, LED_RX_PIN, 0 );
|
||||
|
||||
// 初始化SX1281为BLE模式
|
||||
SX1281_Init(&radio, MODE_BLE);
|
||||
|
||||
AppState = APP_LOWPOWER;
|
||||
|
||||
|
||||
Radio.SetDioIrqParams( RxIrqMask, RxIrqMask, IRQ_RADIO_NONE, IRQ_RADIO_NONE );
|
||||
//Radio.SetRx( ( TickTime_t ) { RX_TIMEOUT_TICK_SIZE, RX_TIMEOUT_VALUE } );
|
||||
Radio.SetRx( ( TickTime_t ) { RX_TIMEOUT_TICK_SIZE, 0xFFFF } );
|
||||
|
||||
// Radio.SetDioIrqParams( TxIrqMask, TxIrqMask, IRQ_RADIO_NONE, IRQ_RADIO_NONE );
|
||||
// Radio.SendPayload((uint8_t*)"12345",5, ( TickTime_t ){ RX_TIMEOUT_TICK_SIZE, TX_TIMEOUT_VALUE });
|
||||
|
||||
uint8_t status;
|
||||
Radio.ReadRegisters(0x01, &status, 1); // 读取状态寄存器
|
||||
printf("Status=%d\n", status);
|
||||
LCD_Init(1);
|
||||
LCD_Clear(BLACK);
|
||||
|
||||
// 构造标准的BLE广告数据(有效载荷部分)
|
||||
// 注意:这是PDU的有效载荷,不包括2字节的PDU报头
|
||||
// BLE广告数据最大长度为37字节
|
||||
uint8_t advData[] = {
|
||||
// 标志位
|
||||
0x02, 0x01, 0x06,
|
||||
|
||||
// 完整设备名称
|
||||
0x08, 0x09, 'S','X','1','2','8','1','_','1',
|
||||
|
||||
// 服务UUID
|
||||
0x03, 0x03, 0x0A, 0x18,
|
||||
|
||||
// 制造商特定数据 - 包含自定义设备ID
|
||||
0x07, 0xFF, 0x4D, 0x52, 0x31, 0x36, 0x01, 0x02,
|
||||
// 解释:
|
||||
// 0x07 - 长度 (7 bytes)
|
||||
// 0xFF - 制造商特定数据类型
|
||||
// 0x4D,0x52,0x31,0x36 - "MR16" (您的设备标识)
|
||||
// 0x01,0x02 - 版本或设备编号
|
||||
};
|
||||
|
||||
printf("Starting BLE Advertising...\n");
|
||||
printf("Advertising data length: %d bytes\n", sizeof(advData));
|
||||
|
||||
// 设置并发送BLE广告包
|
||||
SetBLEAdvertisingPacket(&radio,advData, sizeof(advData));
|
||||
/* USER CODE END 2 */
|
||||
|
||||
/* Infinite loop */
|
||||
@ -441,196 +144,25 @@ printf("Status=%d\n", status);
|
||||
/* USER CODE END WHILE */
|
||||
|
||||
/* USER CODE BEGIN 3 */
|
||||
// static uint8_t once = 1;
|
||||
//if (once) {
|
||||
// once = 0;
|
||||
// uint8_t ping[] = "PING";
|
||||
// Radio.SetDioIrqParams(TxIrqMask, TxIrqMask, IRQ_RADIO_NONE, IRQ_RADIO_NONE);
|
||||
// Radio.SendPayload(ping, 4, (TickTime_t){RADIO_TICK_SIZE_1000_US, 100});
|
||||
// printf("Force TX -> should RX myself\r\n");
|
||||
//}
|
||||
|
||||
SX1281ProcessIrqs( );
|
||||
HAL_Delay(100);
|
||||
|
||||
|
||||
uint16_t irq = Radio.GetIrqStatus();
|
||||
if (irq) printf("IRQ=0x%04X\r\n", irq);
|
||||
|
||||
uint8_t tx[3] = {0x48, 0x00, 0x00}; // 读 Reg00
|
||||
uint8_t rx[3] = {0};
|
||||
HAL_GPIO_WritePin(RADIO_NSS_PORT, RADIO_NSS_PIN, GPIO_PIN_RESET);
|
||||
HAL_SPI_TransmitReceive(&hspi1, tx, rx, 3, 100);
|
||||
HAL_GPIO_WritePin(RADIO_NSS_PORT, RADIO_NSS_PIN, GPIO_PIN_SET);
|
||||
printf("tx: %02X %02X %02X\n", tx[0], tx[1], tx[2]);
|
||||
printf("rx: %02X %02X %02X\n", rx[0], rx[1], rx[2]);
|
||||
|
||||
|
||||
// switch( AppState )
|
||||
// {
|
||||
// case APP_RX:
|
||||
// AppState = APP_LOWPOWER;
|
||||
// // GpioWrite( LED_RX_PORT, LED_RX_PIN, GpioRead( LED_RX_PORT, LED_RX_PIN ) ^ 1 );
|
||||
// Radio.GetPayload( Buffer, &BufferSize, BUFFER_SIZE );
|
||||
// #if defined( MODE_BLE )
|
||||
// // Remove the 2st bytes that are BLE header from Buffer
|
||||
// memcpy( Buffer, Buffer+2, PINGPONGSIZE );
|
||||
// #endif // MODE_BLE
|
||||
// if( isMaster == true )
|
||||
// {
|
||||
// if( BufferSize > 0 )
|
||||
// {
|
||||
// if( strncmp( ( const char* )Buffer, ( const char* )PongMsg, PINGPONGSIZE ) == 0 )
|
||||
// {
|
||||
// printf( "...Pong\r\n" );
|
||||
// #if defined( MODE_BLE )
|
||||
// memcpy( Buffer, ble_header_adv.Serial, 2 );
|
||||
// memcpy( Buffer+2, PingMsg, PINGPONGSIZE );
|
||||
// #else
|
||||
// memcpy( Buffer, PingMsg, PINGPONGSIZE );
|
||||
// #endif
|
||||
// Radio.SetDioIrqParams( TxIrqMask, TxIrqMask, IRQ_RADIO_NONE, IRQ_RADIO_NONE );
|
||||
// Radio.SendPayload( Buffer, BufferSize, ( TickTime_t ){ RX_TIMEOUT_TICK_SIZE, TX_TIMEOUT_VALUE } );
|
||||
// }
|
||||
// else if( strncmp( ( const char* )Buffer, ( const char* )PingMsg, PINGPONGSIZE ) == 0 )
|
||||
// {
|
||||
// // A master already exists then become a slave
|
||||
// printf( "...Ping - switch to Slave\r\n" );
|
||||
// isMaster = false;
|
||||
// #if defined( MODE_BLE )
|
||||
// memcpy( Buffer, ble_header_adv.Serial, 2 );
|
||||
// memcpy( Buffer+2, PongMsg, PINGPONGSIZE );
|
||||
// #else
|
||||
// memcpy( Buffer, PongMsg, PINGPONGSIZE );
|
||||
// #endif
|
||||
// Radio.SetDioIrqParams( TxIrqMask, TxIrqMask, IRQ_RADIO_NONE, IRQ_RADIO_NONE );
|
||||
// Radio.SendPayload( Buffer, BufferSize, ( TickTime_t ){ RX_TIMEOUT_TICK_SIZE, TX_TIMEOUT_VALUE } );
|
||||
// }
|
||||
// else // valid reception but neither a PING or a PONG message
|
||||
// { // Set device as master ans start again
|
||||
// isMaster = true;
|
||||
// #if defined( MODE_BLE )
|
||||
// memcpy( Buffer, ble_header_adv.Serial, 2 );
|
||||
// memcpy( Buffer+2, PongMsg, PINGPONGSIZE );
|
||||
// Radio.SetDioIrqParams( TxIrqMask, TxIrqMask, IRQ_RADIO_NONE, IRQ_RADIO_NONE );
|
||||
// Radio.SendPayload( Buffer, BufferSize, ( TickTime_t ){ RX_TIMEOUT_TICK_SIZE, TX_TIMEOUT_VALUE } );
|
||||
// #else
|
||||
// Radio.SetDioIrqParams( RxIrqMask, RxIrqMask, IRQ_RADIO_NONE, IRQ_RADIO_NONE );
|
||||
// Radio.SetRx( ( TickTime_t ) { RX_TIMEOUT_TICK_SIZE, RX_TIMEOUT_VALUE } );
|
||||
// #endif
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// if( BufferSize > 0 )
|
||||
// {
|
||||
// if( strncmp( ( const char* )Buffer, ( const char* )PingMsg, PINGPONGSIZE ) == 0 )
|
||||
// {
|
||||
// printf( "...Ping\r\n" );
|
||||
// #if defined( MODE_BLE )
|
||||
// ble_header_adv.Fields.length = PINGPONGSIZE + 2;
|
||||
// memcpy( Buffer, ble_header_adv.Serial, 2 );
|
||||
// memcpy( Buffer+2, PongMsg, PINGPONGSIZE );
|
||||
// #else
|
||||
// memcpy( Buffer, PongMsg, PINGPONGSIZE );
|
||||
// #endif
|
||||
// Radio.SetDioIrqParams( TxIrqMask, TxIrqMask, IRQ_RADIO_NONE, IRQ_RADIO_NONE );
|
||||
// Radio.SendPayload( Buffer, BufferSize, ( TickTime_t ){ RX_TIMEOUT_TICK_SIZE, TX_TIMEOUT_VALUE } );
|
||||
// }
|
||||
// else // valid reception but not a PING as expected
|
||||
// {
|
||||
// printf( "...Unexpected packet - switch to master\r\n" );
|
||||
// isMaster = true;
|
||||
// Radio.SetDioIrqParams( RxIrqMask, RxIrqMask, IRQ_RADIO_NONE, IRQ_RADIO_NONE );
|
||||
// Radio.SetRx( ( TickTime_t ) { RX_TIMEOUT_TICK_SIZE, RX_TIMEOUT_VALUE } );
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// break;
|
||||
|
||||
// case APP_TX:
|
||||
// AppState = APP_LOWPOWER;
|
||||
// // GpioWrite( LED_TX_PORT, LED_TX_PIN, GpioRead( LED_TX_PORT, LED_TX_PIN ) ^ 1 );
|
||||
// if( isMaster == true )
|
||||
// {
|
||||
// printf( "Ping...\r\n" );
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// printf( "Pong...\r\n" );
|
||||
// }
|
||||
// Radio.SetDioIrqParams( RxIrqMask, RxIrqMask, IRQ_RADIO_NONE, IRQ_RADIO_NONE );
|
||||
// Radio.SetRx( ( TickTime_t ) { RX_TIMEOUT_TICK_SIZE, RX_TIMEOUT_VALUE } );
|
||||
// break;
|
||||
|
||||
// case APP_RX_TIMEOUT:
|
||||
// AppState = APP_LOWPOWER;
|
||||
// if( isMaster == true )
|
||||
// {
|
||||
// // Send the next PING frame
|
||||
// #if defined( MODE_BLE )
|
||||
// ble_header_adv.Fields.length = PINGPONGSIZE + 2;
|
||||
// memcpy( Buffer, ble_header_adv.Serial, 2 );
|
||||
// memcpy( Buffer+2, PingMsg, PINGPONGSIZE );
|
||||
// #else
|
||||
// memcpy( Buffer, PingMsg, PINGPONGSIZE );
|
||||
// #endif
|
||||
// Radio.SetDioIrqParams( TxIrqMask, TxIrqMask, IRQ_RADIO_NONE, IRQ_RADIO_NONE );
|
||||
// Radio.SendPayload( Buffer, BufferSize, ( TickTime_t ){ RX_TIMEOUT_TICK_SIZE, TX_TIMEOUT_VALUE } );
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// Radio.SetDioIrqParams( RxIrqMask, RxIrqMask, IRQ_RADIO_NONE, IRQ_RADIO_NONE );
|
||||
// Radio.SetRx( ( TickTime_t ) { RX_TIMEOUT_TICK_SIZE, RX_TIMEOUT_VALUE } );
|
||||
// }
|
||||
// break;
|
||||
|
||||
// case APP_RX_ERROR:
|
||||
// AppState = APP_LOWPOWER;
|
||||
// // We have received a Packet with a CRC error, send reply as if packet was correct
|
||||
// if( isMaster == true )
|
||||
// {
|
||||
// // Send the next PING frame
|
||||
// #if defined( MODE_BLE )
|
||||
// ble_header_adv.Fields.length = PINGPONGSIZE + 2;
|
||||
// memcpy( Buffer, ble_header_adv.Serial, 2 );
|
||||
// memcpy( Buffer+2, PingMsg, PINGPONGSIZE );
|
||||
// #else
|
||||
// memcpy( Buffer, PingMsg, PINGPONGSIZE );
|
||||
// #endif
|
||||
// Radio.SetDioIrqParams( TxIrqMask, TxIrqMask, IRQ_RADIO_NONE, IRQ_RADIO_NONE );
|
||||
// Radio.SendPayload( Buffer, BufferSize, ( TickTime_t ){ RX_TIMEOUT_TICK_SIZE, TX_TIMEOUT_VALUE } );
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// // Send the next PONG frame
|
||||
// #if defined( MODE_BLE )
|
||||
// ble_header_adv.Fields.length = PINGPONGSIZE + 2;
|
||||
// memcpy( Buffer, ble_header_adv.Serial, 2 );
|
||||
// memcpy( Buffer+2, PongMsg, PINGPONGSIZE );
|
||||
// #else
|
||||
// memcpy( Buffer, PongMsg, PINGPONGSIZE );
|
||||
// #endif
|
||||
// Radio.SetDioIrqParams( TxIrqMask, TxIrqMask, IRQ_RADIO_NONE, IRQ_RADIO_NONE );
|
||||
// Radio.SendPayload( Buffer, BufferSize, ( TickTime_t ){ RX_TIMEOUT_TICK_SIZE, TX_TIMEOUT_VALUE } );
|
||||
// }
|
||||
// break;
|
||||
|
||||
// case APP_TX_TIMEOUT:
|
||||
// AppState = APP_LOWPOWER;
|
||||
// Radio.SetDioIrqParams( RxIrqMask, RxIrqMask, IRQ_RADIO_NONE, IRQ_RADIO_NONE );
|
||||
// Radio.SetRx( ( TickTime_t ) { RX_TIMEOUT_TICK_SIZE, RX_TIMEOUT_VALUE } );
|
||||
// break;
|
||||
|
||||
// case APP_LOWPOWER:
|
||||
// break;
|
||||
|
||||
// default:
|
||||
// // Set low power
|
||||
// break;
|
||||
// }
|
||||
|
||||
// 处理射频中断
|
||||
SX1281_Running();
|
||||
|
||||
// 每2秒重新发送一次广告包
|
||||
static uint32_t lastAdvTime = 0;
|
||||
if (HAL_GetTick() - lastAdvTime > 2000) {
|
||||
SetBLEAdvertisingPacket(&radio,advData, sizeof(advData));
|
||||
lastAdvTime = HAL_GetTick();
|
||||
printf("Resending BLE Advertisement...\n");
|
||||
}
|
||||
|
||||
// LCD显示
|
||||
LCD_DrawString(200,0,"BLE",AQUA,12,LSB);
|
||||
LCD_DrawString(150,0,"ADV",VIOLET,16,LSB);
|
||||
LCD_DrawString(80,0,"SX1281",VIOLET_SOFT,24,LSB);
|
||||
LCD_DrawString(0,0,"SX12811",MEDIUMORCHID,32,LSB);
|
||||
LCD_DrawBitmap(logo_M,70,70,64,64,MEDIUMORCHID,MSB);
|
||||
|
||||
HAL_Delay(100);
|
||||
}
|
||||
/* USER CODE END 3 */
|
||||
}
|
||||
@ -676,61 +208,6 @@ void SystemClock_Config(void)
|
||||
|
||||
/* USER CODE BEGIN 4 */
|
||||
|
||||
void HAL_GPIO_EXTI_Falling_Callback(uint16_t GPIO_Pin)
|
||||
{
|
||||
HAL_Delay(10);
|
||||
}
|
||||
void OnTxDone( void )
|
||||
{
|
||||
AppState = APP_TX;
|
||||
printf( "<>>>>>>>>OnTxDone\n\r" );
|
||||
Radio.SetDioIrqParams( TxIrqMask, TxIrqMask, IRQ_RADIO_NONE, IRQ_RADIO_NONE );
|
||||
Radio.SendPayload((uint8_t*)"12345",5, ( TickTime_t ){ RX_TIMEOUT_TICK_SIZE, TX_TIMEOUT_VALUE });
|
||||
}
|
||||
|
||||
void OnRxDone( void )
|
||||
{
|
||||
AppState = APP_RX;
|
||||
//printf( "<>>>>>>>>OnRxDone\n\r" );
|
||||
BufferSize = 0;
|
||||
Radio.GetPayload( Buffer, &BufferSize, BUFFER_SIZE );
|
||||
Buffer[BufferSize+1] = 0;
|
||||
//printf("size = %d ,%s",BufferSize,Buffer);
|
||||
printf("OnRxDone\r\n");
|
||||
printf("%d",Buffer);
|
||||
//Radio.SetRx( ( TickTime_t ) { RX_TIMEOUT_TICK_SIZE, RX_TIMEOUT_VALUE } );
|
||||
}
|
||||
|
||||
void OnTxTimeout( void )
|
||||
{
|
||||
AppState = APP_TX_TIMEOUT;
|
||||
printf( "<>>>>>>>>TXE\n\r" );
|
||||
Radio.SetDioIrqParams( TxIrqMask, TxIrqMask, IRQ_RADIO_NONE, IRQ_RADIO_NONE );
|
||||
Radio.SendPayload((uint8_t*)"12345",5, ( TickTime_t ){ RX_TIMEOUT_TICK_SIZE, TX_TIMEOUT_VALUE });
|
||||
|
||||
}
|
||||
|
||||
void OnRxTimeout( void )
|
||||
{
|
||||
AppState = APP_RX_TIMEOUT;
|
||||
printf( "<>>>>>>>>OnRxTimeout\n\r" );
|
||||
//Radio.SetRx( ( TickTime_t ) { RX_TIMEOUT_TICK_SIZE, RX_TIMEOUT_VALUE } );
|
||||
Radio.SetRx( ( TickTime_t ) { RX_TIMEOUT_TICK_SIZE, 0xFFFF } );
|
||||
|
||||
}
|
||||
|
||||
void OnRxError( IrqErrorCode_t errorCode )
|
||||
{
|
||||
AppState = APP_RX_ERROR;
|
||||
printf( "RXE<>>>>>>>>\n\r" );
|
||||
Radio.SetRx( ( TickTime_t ) { RX_TIMEOUT_TICK_SIZE, RX_TIMEOUT_VALUE } );
|
||||
|
||||
}
|
||||
|
||||
void OnCadDone( bool channelActivityDetected )
|
||||
{
|
||||
printf( "<>>>>>>>>OnCadDone\n\r" );
|
||||
}
|
||||
/* USER CODE END 4 */
|
||||
|
||||
/**
|
||||
|
||||
@ -26,6 +26,9 @@
|
||||
|
||||
SPI_HandleTypeDef hspi1;
|
||||
SPI_HandleTypeDef hspi2;
|
||||
DMA_HandleTypeDef hdma_spi1_tx;
|
||||
DMA_HandleTypeDef hdma_spi1_rx;
|
||||
DMA_HandleTypeDef hdma_spi2_tx;
|
||||
|
||||
/* SPI1 init function */
|
||||
void MX_SPI1_Init(void)
|
||||
@ -45,7 +48,7 @@ void MX_SPI1_Init(void)
|
||||
hspi1.Init.CLKPolarity = SPI_POLARITY_LOW;
|
||||
hspi1.Init.CLKPhase = SPI_PHASE_1EDGE;
|
||||
hspi1.Init.NSS = SPI_NSS_SOFT;
|
||||
hspi1.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_16;
|
||||
hspi1.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_8;
|
||||
hspi1.Init.FirstBit = SPI_FIRSTBIT_MSB;
|
||||
hspi1.Init.TIMode = SPI_TIMODE_DISABLE;
|
||||
hspi1.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;
|
||||
@ -77,7 +80,7 @@ void MX_SPI2_Init(void)
|
||||
hspi2.Init.CLKPolarity = SPI_POLARITY_LOW;
|
||||
hspi2.Init.CLKPhase = SPI_PHASE_1EDGE;
|
||||
hspi2.Init.NSS = SPI_NSS_SOFT;
|
||||
hspi2.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_2;
|
||||
hspi2.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_4;
|
||||
hspi2.Init.FirstBit = SPI_FIRSTBIT_MSB;
|
||||
hspi2.Init.TIMode = SPI_TIMODE_DISABLE;
|
||||
hspi2.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;
|
||||
@ -120,6 +123,39 @@ void HAL_SPI_MspInit(SPI_HandleTypeDef* spiHandle)
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||
|
||||
/* SPI1 DMA Init */
|
||||
/* SPI1_TX Init */
|
||||
hdma_spi1_tx.Instance = DMA1_Channel3;
|
||||
hdma_spi1_tx.Init.Direction = DMA_MEMORY_TO_PERIPH;
|
||||
hdma_spi1_tx.Init.PeriphInc = DMA_PINC_DISABLE;
|
||||
hdma_spi1_tx.Init.MemInc = DMA_MINC_ENABLE;
|
||||
hdma_spi1_tx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
|
||||
hdma_spi1_tx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
|
||||
hdma_spi1_tx.Init.Mode = DMA_NORMAL;
|
||||
hdma_spi1_tx.Init.Priority = DMA_PRIORITY_LOW;
|
||||
if (HAL_DMA_Init(&hdma_spi1_tx) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
|
||||
__HAL_LINKDMA(spiHandle,hdmatx,hdma_spi1_tx);
|
||||
|
||||
/* SPI1_RX Init */
|
||||
hdma_spi1_rx.Instance = DMA1_Channel2;
|
||||
hdma_spi1_rx.Init.Direction = DMA_PERIPH_TO_MEMORY;
|
||||
hdma_spi1_rx.Init.PeriphInc = DMA_PINC_DISABLE;
|
||||
hdma_spi1_rx.Init.MemInc = DMA_MINC_ENABLE;
|
||||
hdma_spi1_rx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
|
||||
hdma_spi1_rx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
|
||||
hdma_spi1_rx.Init.Mode = DMA_NORMAL;
|
||||
hdma_spi1_rx.Init.Priority = DMA_PRIORITY_LOW;
|
||||
if (HAL_DMA_Init(&hdma_spi1_rx) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
|
||||
__HAL_LINKDMA(spiHandle,hdmarx,hdma_spi1_rx);
|
||||
|
||||
/* USER CODE BEGIN SPI1_MspInit 1 */
|
||||
|
||||
/* USER CODE END SPI1_MspInit 1 */
|
||||
@ -134,20 +170,30 @@ void HAL_SPI_MspInit(SPI_HandleTypeDef* spiHandle)
|
||||
|
||||
__HAL_RCC_GPIOB_CLK_ENABLE();
|
||||
/**SPI2 GPIO Configuration
|
||||
PB12 ------> SPI2_NSS
|
||||
PB13 ------> SPI2_SCK
|
||||
PB14 ------> SPI2_MISO
|
||||
PB15 ------> SPI2_MOSI
|
||||
*/
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_12|GPIO_PIN_13|GPIO_PIN_15;
|
||||
GPIO_InitStruct.Pin = LCD_CLK_Pin|LCD_MOSI_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
|
||||
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
||||
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_14;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
||||
/* SPI2 DMA Init */
|
||||
/* SPI2_TX Init */
|
||||
hdma_spi2_tx.Instance = DMA1_Channel5;
|
||||
hdma_spi2_tx.Init.Direction = DMA_MEMORY_TO_PERIPH;
|
||||
hdma_spi2_tx.Init.PeriphInc = DMA_PINC_DISABLE;
|
||||
hdma_spi2_tx.Init.MemInc = DMA_MINC_ENABLE;
|
||||
hdma_spi2_tx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
|
||||
hdma_spi2_tx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
|
||||
hdma_spi2_tx.Init.Mode = DMA_NORMAL;
|
||||
hdma_spi2_tx.Init.Priority = DMA_PRIORITY_LOW;
|
||||
if (HAL_DMA_Init(&hdma_spi2_tx) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
|
||||
__HAL_LINKDMA(spiHandle,hdmatx,hdma_spi2_tx);
|
||||
|
||||
/* USER CODE BEGIN SPI2_MspInit 1 */
|
||||
|
||||
@ -173,6 +219,9 @@ void HAL_SPI_MspDeInit(SPI_HandleTypeDef* spiHandle)
|
||||
*/
|
||||
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_5|GPIO_PIN_6|GPIO_PIN_7);
|
||||
|
||||
/* SPI1 DMA DeInit */
|
||||
HAL_DMA_DeInit(spiHandle->hdmatx);
|
||||
HAL_DMA_DeInit(spiHandle->hdmarx);
|
||||
/* USER CODE BEGIN SPI1_MspDeInit 1 */
|
||||
|
||||
/* USER CODE END SPI1_MspDeInit 1 */
|
||||
@ -186,13 +235,13 @@ void HAL_SPI_MspDeInit(SPI_HandleTypeDef* spiHandle)
|
||||
__HAL_RCC_SPI2_CLK_DISABLE();
|
||||
|
||||
/**SPI2 GPIO Configuration
|
||||
PB12 ------> SPI2_NSS
|
||||
PB13 ------> SPI2_SCK
|
||||
PB14 ------> SPI2_MISO
|
||||
PB15 ------> SPI2_MOSI
|
||||
*/
|
||||
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_12|GPIO_PIN_13|GPIO_PIN_14|GPIO_PIN_15);
|
||||
HAL_GPIO_DeInit(GPIOB, LCD_CLK_Pin|LCD_MOSI_Pin);
|
||||
|
||||
/* SPI2 DMA DeInit */
|
||||
HAL_DMA_DeInit(spiHandle->hdmatx);
|
||||
/* USER CODE BEGIN SPI2_MspDeInit 1 */
|
||||
|
||||
/* USER CODE END SPI2_MspDeInit 1 */
|
||||
|
||||
@ -55,7 +55,9 @@
|
||||
/* USER CODE END 0 */
|
||||
|
||||
/* External variables --------------------------------------------------------*/
|
||||
|
||||
extern DMA_HandleTypeDef hdma_spi1_tx;
|
||||
extern DMA_HandleTypeDef hdma_spi1_rx;
|
||||
extern DMA_HandleTypeDef hdma_spi2_tx;
|
||||
/* USER CODE BEGIN EV */
|
||||
|
||||
/* USER CODE END EV */
|
||||
@ -198,6 +200,48 @@ void SysTick_Handler(void)
|
||||
/* please refer to the startup file (startup_stm32f1xx.s). */
|
||||
/******************************************************************************/
|
||||
|
||||
/**
|
||||
* @brief This function handles DMA1 channel2 global interrupt.
|
||||
*/
|
||||
void DMA1_Channel2_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN DMA1_Channel2_IRQn 0 */
|
||||
|
||||
/* USER CODE END DMA1_Channel2_IRQn 0 */
|
||||
HAL_DMA_IRQHandler(&hdma_spi1_rx);
|
||||
/* USER CODE BEGIN DMA1_Channel2_IRQn 1 */
|
||||
|
||||
/* USER CODE END DMA1_Channel2_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles DMA1 channel3 global interrupt.
|
||||
*/
|
||||
void DMA1_Channel3_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN DMA1_Channel3_IRQn 0 */
|
||||
|
||||
/* USER CODE END DMA1_Channel3_IRQn 0 */
|
||||
HAL_DMA_IRQHandler(&hdma_spi1_tx);
|
||||
/* USER CODE BEGIN DMA1_Channel3_IRQn 1 */
|
||||
|
||||
/* USER CODE END DMA1_Channel3_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles DMA1 channel5 global interrupt.
|
||||
*/
|
||||
void DMA1_Channel5_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN DMA1_Channel5_IRQn 0 */
|
||||
|
||||
/* USER CODE END DMA1_Channel5_IRQn 0 */
|
||||
HAL_DMA_IRQHandler(&hdma_spi2_tx);
|
||||
/* USER CODE BEGIN DMA1_Channel5_IRQn 1 */
|
||||
|
||||
/* USER CODE END DMA1_Channel5_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles EXTI line[9:5] interrupts.
|
||||
*/
|
||||
@ -224,7 +268,7 @@ void EXTI15_10_IRQHandler(void)
|
||||
/* USER CODE END EXTI15_10_IRQn 0 */
|
||||
HAL_GPIO_EXTI_IRQHandler(KEY_Pin);
|
||||
/* USER CODE BEGIN EXTI15_10_IRQn 1 */
|
||||
HAL_GPIO_EXTI_Falling_Callback(KEY_Pin);
|
||||
|
||||
/* USER CODE END EXTI15_10_IRQn 1 */
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -125,7 +125,7 @@
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>DLGTARM</Key>
|
||||
<Name>(1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)</Name>
|
||||
<Name>(1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=604,287,862,875,0)</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
@ -165,6 +165,11 @@
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>Buffer</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>3</count>
|
||||
<WinNumber>1</WinNumber>
|
||||
<ItemText>radio</ItemText>
|
||||
</Ww>
|
||||
</WatchWindow1>
|
||||
<Tracepoint>
|
||||
<THDelay>0</THDelay>
|
||||
@ -268,6 +273,18 @@
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>../Core/Src/dma.c</PathWithFileName>
|
||||
<FilenameWithoutPath>dma.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>5</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>../Core/Src/spi.c</PathWithFileName>
|
||||
<FilenameWithoutPath>spi.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
@ -275,7 +292,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>5</FileNumber>
|
||||
<FileNumber>6</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -287,7 +304,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>6</FileNumber>
|
||||
<FileNumber>7</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -299,7 +316,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>7</FileNumber>
|
||||
<FileNumber>8</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -311,7 +328,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>8</FileNumber>
|
||||
<FileNumber>9</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -331,7 +348,7 @@
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>9</FileNumber>
|
||||
<FileNumber>10</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -343,7 +360,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>10</FileNumber>
|
||||
<FileNumber>11</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -355,7 +372,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>11</FileNumber>
|
||||
<FileNumber>12</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -367,7 +384,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>12</FileNumber>
|
||||
<FileNumber>13</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -379,7 +396,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>13</FileNumber>
|
||||
<FileNumber>14</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -391,7 +408,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>14</FileNumber>
|
||||
<FileNumber>15</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -403,7 +420,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>15</FileNumber>
|
||||
<FileNumber>16</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -415,7 +432,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>16</FileNumber>
|
||||
<FileNumber>17</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -427,7 +444,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>17</FileNumber>
|
||||
<FileNumber>18</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -439,7 +456,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>18</FileNumber>
|
||||
<FileNumber>19</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -451,7 +468,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>19</FileNumber>
|
||||
<FileNumber>20</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -463,7 +480,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>20</FileNumber>
|
||||
<FileNumber>21</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -475,7 +492,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>21</FileNumber>
|
||||
<FileNumber>22</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -487,7 +504,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>22</FileNumber>
|
||||
<FileNumber>23</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -499,7 +516,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>23</FileNumber>
|
||||
<FileNumber>24</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -519,9 +536,9 @@
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>24</FileNumber>
|
||||
<FileNumber>25</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>../Core/Src/system_stm32f1xx.c</PathWithFileName>
|
||||
@ -539,7 +556,7 @@
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>25</FileNumber>
|
||||
<FileNumber>26</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -551,7 +568,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>26</FileNumber>
|
||||
<FileNumber>27</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -563,7 +580,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>27</FileNumber>
|
||||
<FileNumber>28</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -573,18 +590,6 @@
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>28</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\sx1281-driver-c\sx1281-hal.c</PathWithFileName>
|
||||
<FilenameWithoutPath>sx1281-hal.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>29</FileNumber>
|
||||
@ -592,116 +597,116 @@
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\sx1281-driver-c\sx1281-hal.h</PathWithFileName>
|
||||
<FilenameWithoutPath>sx1281-hal.h</FilenameWithoutPath>
|
||||
<PathWithFileName>..\sx1281-driver-c\sx1281_boards.h</PathWithFileName>
|
||||
<FilenameWithoutPath>sx1281_boards.h</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>30</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\sx1281-driver-c\boards.h</PathWithFileName>
|
||||
<FilenameWithoutPath>boards.h</FilenameWithoutPath>
|
||||
<PathWithFileName>..\sx1281-driver-c\sx1281_driver.c</PathWithFileName>
|
||||
<FilenameWithoutPath>sx1281_driver.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>31</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\sx1281-driver-c\hw.c</PathWithFileName>
|
||||
<FilenameWithoutPath>hw.c</FilenameWithoutPath>
|
||||
<PathWithFileName>..\sx1281-driver-c\sx1281_driver.h</PathWithFileName>
|
||||
<FilenameWithoutPath>sx1281_driver.h</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>32</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\sx1281-driver-c\hw.h</PathWithFileName>
|
||||
<FilenameWithoutPath>hw.h</FilenameWithoutPath>
|
||||
<PathWithFileName>..\sx1281-driver-c\sx1281_driver_gpio.c</PathWithFileName>
|
||||
<FilenameWithoutPath>sx1281_driver_gpio.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>33</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\sx1281-driver-c\hw-gpio.c</PathWithFileName>
|
||||
<FilenameWithoutPath>hw-gpio.c</FilenameWithoutPath>
|
||||
<PathWithFileName>..\sx1281-driver-c\sx1281_driver_gpio.h</PathWithFileName>
|
||||
<FilenameWithoutPath>sx1281_driver_gpio.h</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>34</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\sx1281-driver-c\hw-gpio.h</PathWithFileName>
|
||||
<FilenameWithoutPath>hw-gpio.h</FilenameWithoutPath>
|
||||
<PathWithFileName>..\sx1281-driver-c\sx1281_driver_hal.c</PathWithFileName>
|
||||
<FilenameWithoutPath>sx1281_driver_hal.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>35</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\sx1281-driver-c\hw-spi.c</PathWithFileName>
|
||||
<FilenameWithoutPath>hw-spi.c</FilenameWithoutPath>
|
||||
<PathWithFileName>..\sx1281-driver-c\sx1281_driver_hal.h</PathWithFileName>
|
||||
<FilenameWithoutPath>sx1281_driver_hal.h</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>36</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\sx1281-driver-c\hw-spi.h</PathWithFileName>
|
||||
<FilenameWithoutPath>hw-spi.h</FilenameWithoutPath>
|
||||
<PathWithFileName>..\sx1281-driver-c\sx1281_driver_spi.c</PathWithFileName>
|
||||
<FilenameWithoutPath>sx1281_driver_spi.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>37</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\sx1281-driver-c\hw-uart.c</PathWithFileName>
|
||||
<FilenameWithoutPath>hw-uart.c</FilenameWithoutPath>
|
||||
<PathWithFileName>..\sx1281-driver-c\sx1281_driver_spi.h</PathWithFileName>
|
||||
<FilenameWithoutPath>sx1281_driver_spi.h</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>38</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\sx1281-driver-c\hw-uart.h</PathWithFileName>
|
||||
<FilenameWithoutPath>hw-uart.h</FilenameWithoutPath>
|
||||
<PathWithFileName>..\sx1281-driver-c\sx1281_driver_uart.c</PathWithFileName>
|
||||
<FilenameWithoutPath>sx1281_driver_uart.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
@ -712,8 +717,32 @@
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\sx1281-driver-c\nucleo-l476rg.h</PathWithFileName>
|
||||
<FilenameWithoutPath>nucleo-l476rg.h</FilenameWithoutPath>
|
||||
<PathWithFileName>..\sx1281-driver-c\sx1281_driver_uart.h</PathWithFileName>
|
||||
<FilenameWithoutPath>sx1281_driver_uart.h</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>40</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\sx1281-driver-c\sx1281_header.c</PathWithFileName>
|
||||
<FilenameWithoutPath>sx1281_header.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>41</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\sx1281-driver-c\sx1281_header.h</PathWithFileName>
|
||||
<FilenameWithoutPath>sx1281_header.h</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
@ -727,7 +756,7 @@
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>40</FileNumber>
|
||||
<FileNumber>42</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -739,7 +768,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>41</FileNumber>
|
||||
<FileNumber>43</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -751,7 +780,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>42</FileNumber>
|
||||
<FileNumber>44</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -763,7 +792,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>43</FileNumber>
|
||||
<FileNumber>45</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -775,7 +804,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>44</FileNumber>
|
||||
<FileNumber>46</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -785,14 +814,86 @@
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>47</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\User\bsp\uart.c</PathWithFileName>
|
||||
<FilenameWithoutPath>uart.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>48</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\User\bsp\uart.h</PathWithFileName>
|
||||
<FilenameWithoutPath>uart.h</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>User/device</GroupName>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>49</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\User\device\device.h</PathWithFileName>
|
||||
<FilenameWithoutPath>device.h</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>50</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\User\device\lcd_driver\lcd.c</PathWithFileName>
|
||||
<FilenameWithoutPath>lcd.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>51</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\User\device\lcd_driver\lcd.h</PathWithFileName>
|
||||
<FilenameWithoutPath>lcd.h</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>52</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\User\device\lcd_driver\lcd_lib.h</PathWithFileName>
|
||||
<FilenameWithoutPath>lcd_lib.h</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
@ -803,7 +904,7 @@
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>45</FileNumber>
|
||||
<FileNumber>53</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -815,7 +916,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>46</FileNumber>
|
||||
<FileNumber>54</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -827,7 +928,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>47</FileNumber>
|
||||
<FileNumber>55</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -839,7 +940,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>48</FileNumber>
|
||||
<FileNumber>56</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -851,7 +952,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>49</FileNumber>
|
||||
<FileNumber>57</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@ -863,7 +964,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>50</FileNumber>
|
||||
<FileNumber>58</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
||||
@ -189,7 +189,7 @@
|
||||
<hadIRAM2>0</hadIRAM2>
|
||||
<hadIROM2>0</hadIROM2>
|
||||
<StupSel>8</StupSel>
|
||||
<useUlib>0</useUlib>
|
||||
<useUlib>1</useUlib>
|
||||
<EndSel>0</EndSel>
|
||||
<uLtcg>0</uLtcg>
|
||||
<nSecure>0</nSecure>
|
||||
@ -403,6 +403,62 @@
|
||||
<FileType>1</FileType>
|
||||
<FilePath>../Core/Src/gpio.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>dma.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>../Core/Src/dma.c</FilePath>
|
||||
<FileOption>
|
||||
<CommonProperty>
|
||||
<UseCPPCompiler>2</UseCPPCompiler>
|
||||
<RVCTCodeConst>0</RVCTCodeConst>
|
||||
<RVCTZI>0</RVCTZI>
|
||||
<RVCTOtherData>0</RVCTOtherData>
|
||||
<ModuleSelection>0</ModuleSelection>
|
||||
<IncludeInBuild>1</IncludeInBuild>
|
||||
<AlwaysBuild>2</AlwaysBuild>
|
||||
<GenerateAssemblyFile>2</GenerateAssemblyFile>
|
||||
<AssembleAssemblyFile>2</AssembleAssemblyFile>
|
||||
<PublicsOnly>2</PublicsOnly>
|
||||
<StopOnExitCode>11</StopOnExitCode>
|
||||
<CustomArgument></CustomArgument>
|
||||
<IncludeLibraryModules></IncludeLibraryModules>
|
||||
<ComprImg>1</ComprImg>
|
||||
</CommonProperty>
|
||||
<FileArmAds>
|
||||
<Cads>
|
||||
<interw>2</interw>
|
||||
<Optim>0</Optim>
|
||||
<oTime>2</oTime>
|
||||
<SplitLS>2</SplitLS>
|
||||
<OneElfS>2</OneElfS>
|
||||
<Strict>2</Strict>
|
||||
<EnumInt>2</EnumInt>
|
||||
<PlainCh>2</PlainCh>
|
||||
<Ropi>2</Ropi>
|
||||
<Rwpi>2</Rwpi>
|
||||
<wLevel>0</wLevel>
|
||||
<uThumb>2</uThumb>
|
||||
<uSurpInc>2</uSurpInc>
|
||||
<uC99>2</uC99>
|
||||
<uGnu>2</uGnu>
|
||||
<useXO>2</useXO>
|
||||
<v6Lang>0</v6Lang>
|
||||
<v6LangP>0</v6LangP>
|
||||
<vShortEn>2</vShortEn>
|
||||
<vShortWch>2</vShortWch>
|
||||
<v6Lto>2</v6Lto>
|
||||
<v6WtE>2</v6WtE>
|
||||
<v6Rtti>2</v6Rtti>
|
||||
<VariousControls>
|
||||
<MiscControls></MiscControls>
|
||||
<Define></Define>
|
||||
<Undefine></Undefine>
|
||||
<IncludePath></IncludePath>
|
||||
</VariousControls>
|
||||
</Cads>
|
||||
</FileArmAds>
|
||||
</FileOption>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>spi.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
@ -539,64 +595,69 @@
|
||||
<FilePath>..\sx1281-driver-c\sx1281.h</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>sx1281-hal.c</FileName>
|
||||
<FileName>sx1281_boards.h</FileName>
|
||||
<FileType>5</FileType>
|
||||
<FilePath>..\sx1281-driver-c\sx1281_boards.h</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>sx1281_driver.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\sx1281-driver-c\sx1281-hal.c</FilePath>
|
||||
<FilePath>..\sx1281-driver-c\sx1281_driver.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>sx1281-hal.h</FileName>
|
||||
<FileName>sx1281_driver.h</FileName>
|
||||
<FileType>5</FileType>
|
||||
<FilePath>..\sx1281-driver-c\sx1281-hal.h</FilePath>
|
||||
<FilePath>..\sx1281-driver-c\sx1281_driver.h</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>boards.h</FileName>
|
||||
<FileType>5</FileType>
|
||||
<FilePath>..\sx1281-driver-c\boards.h</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>hw.c</FileName>
|
||||
<FileName>sx1281_driver_gpio.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\sx1281-driver-c\hw.c</FilePath>
|
||||
<FilePath>..\sx1281-driver-c\sx1281_driver_gpio.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>hw.h</FileName>
|
||||
<FileName>sx1281_driver_gpio.h</FileName>
|
||||
<FileType>5</FileType>
|
||||
<FilePath>..\sx1281-driver-c\hw.h</FilePath>
|
||||
<FilePath>..\sx1281-driver-c\sx1281_driver_gpio.h</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>hw-gpio.c</FileName>
|
||||
<FileName>sx1281_driver_hal.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\sx1281-driver-c\hw-gpio.c</FilePath>
|
||||
<FilePath>..\sx1281-driver-c\sx1281_driver_hal.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>hw-gpio.h</FileName>
|
||||
<FileName>sx1281_driver_hal.h</FileName>
|
||||
<FileType>5</FileType>
|
||||
<FilePath>..\sx1281-driver-c\hw-gpio.h</FilePath>
|
||||
<FilePath>..\sx1281-driver-c\sx1281_driver_hal.h</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>hw-spi.c</FileName>
|
||||
<FileName>sx1281_driver_spi.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\sx1281-driver-c\hw-spi.c</FilePath>
|
||||
<FilePath>..\sx1281-driver-c\sx1281_driver_spi.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>hw-spi.h</FileName>
|
||||
<FileName>sx1281_driver_spi.h</FileName>
|
||||
<FileType>5</FileType>
|
||||
<FilePath>..\sx1281-driver-c\hw-spi.h</FilePath>
|
||||
<FilePath>..\sx1281-driver-c\sx1281_driver_spi.h</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>hw-uart.c</FileName>
|
||||
<FileName>sx1281_driver_uart.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\sx1281-driver-c\hw-uart.c</FilePath>
|
||||
<FilePath>..\sx1281-driver-c\sx1281_driver_uart.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>hw-uart.h</FileName>
|
||||
<FileName>sx1281_driver_uart.h</FileName>
|
||||
<FileType>5</FileType>
|
||||
<FilePath>..\sx1281-driver-c\hw-uart.h</FilePath>
|
||||
<FilePath>..\sx1281-driver-c\sx1281_driver_uart.h</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>nucleo-l476rg.h</FileName>
|
||||
<FileName>sx1281_header.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\sx1281-driver-c\sx1281_header.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>sx1281_header.h</FileName>
|
||||
<FileType>5</FileType>
|
||||
<FilePath>..\sx1281-driver-c\nucleo-l476rg.h</FilePath>
|
||||
<FilePath>..\sx1281-driver-c\sx1281_header.h</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
@ -628,10 +689,42 @@
|
||||
<FileType>5</FileType>
|
||||
<FilePath>..\User\bsp\spi.h</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>uart.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\User\bsp\uart.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>uart.h</FileName>
|
||||
<FileType>5</FileType>
|
||||
<FilePath>..\User\bsp\uart.h</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>User/device</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>device.h</FileName>
|
||||
<FileType>5</FileType>
|
||||
<FilePath>..\User\device\device.h</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>lcd.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\User\device\lcd_driver\lcd.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>lcd.h</FileName>
|
||||
<FileType>5</FileType>
|
||||
<FilePath>..\User\device\lcd_driver\lcd.h</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>lcd_lib.h</FileName>
|
||||
<FileType>5</FileType>
|
||||
<FilePath>..\User\device\lcd_driver\lcd_lib.h</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>User/component</GroupName>
|
||||
|
||||
Binary file not shown.
@ -22,23 +22,14 @@ Dialog DLL: TCM.DLL V1.48.0.0
|
||||
|
||||
<h2>Project:</h2>
|
||||
D:\CUBEMX\MR16\MDK-ARM\MR16.uvprojx
|
||||
Project File Date: 11/22/2025
|
||||
Project File Date: 11/29/2025
|
||||
|
||||
<h2>Output:</h2>
|
||||
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'D:\cangming\ARM\ARMCC\Bin'
|
||||
Build target 'MR16'
|
||||
Note: source file '..\User\bsp\gpio.c' - object file renamed from 'MR16\gpio.o' to 'MR16\gpio_1.o'.
|
||||
Note: source file '..\User\bsp\spi.c' - object file renamed from 'MR16\spi.o' to 'MR16\spi_1.o'.
|
||||
compiling main.c...
|
||||
../Core/Src/main.c(277): warning: #177-D: variable "isMaster" was declared but never referenced
|
||||
bool isMaster = true;
|
||||
../Core/Src/main.c(696): warning: #167-D: argument of type "int8_t *" is incompatible with parameter of type "uint8_t *"
|
||||
Radio.GetPayload( Buffer, &BufferSize, BUFFER_SIZE );
|
||||
../Core/Src/main.c: 2 warnings, 0 errors
|
||||
linking...
|
||||
Program Size: Code=19016 RO-data=636 RW-data=92 ZI-data=10652
|
||||
FromELF: creating hex file...
|
||||
"MR16\MR16.axf" - 0 Error(s), 2 Warning(s).
|
||||
"MR16\MR16.axf" - 0 Error(s), 0 Warning(s).
|
||||
|
||||
<h2>Software Packages used:</h2>
|
||||
|
||||
@ -62,7 +53,7 @@ Package Vendor: Keil
|
||||
|
||||
* Component: ARM::CMSIS:CORE:5.4.0
|
||||
Include file: CMSIS\Core\Include\tz_context.h
|
||||
Build Time Elapsed: 00:00:03
|
||||
Build Time Elapsed: 00:00:01
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -2,6 +2,7 @@
|
||||
"mr16\startup_stm32f103xb.o"
|
||||
"mr16\main.o"
|
||||
"mr16\gpio.o"
|
||||
"mr16\dma.o"
|
||||
"mr16\spi.o"
|
||||
"mr16\tim.o"
|
||||
"mr16\usart.o"
|
||||
@ -24,17 +25,20 @@
|
||||
"mr16\stm32f1xx_hal_uart.o"
|
||||
"mr16\system_stm32f1xx.o"
|
||||
"mr16\sx1281.o"
|
||||
"mr16\sx1281-hal.o"
|
||||
"mr16\hw.o"
|
||||
"mr16\hw-gpio.o"
|
||||
"mr16\hw-spi.o"
|
||||
"mr16\hw-uart.o"
|
||||
"mr16\sx1281_driver.o"
|
||||
"mr16\sx1281_driver_gpio.o"
|
||||
"mr16\sx1281_driver_hal.o"
|
||||
"mr16\sx1281_driver_spi.o"
|
||||
"mr16\sx1281_driver_uart.o"
|
||||
"mr16\sx1281_header.o"
|
||||
"mr16\gpio_1.o"
|
||||
"mr16\spi_1.o"
|
||||
"mr16\uart.o"
|
||||
"mr16\lcd.o"
|
||||
"mr16\crc8.o"
|
||||
"mr16\crc16.o"
|
||||
"mr16\user_math.o"
|
||||
--strict --scatter "MR16\MR16.sct"
|
||||
--library_type=microlib --strict --scatter "MR16\MR16.sct"
|
||||
--summary_stderr --info summarysizes --map --load_addr_map_info --xref --callgraph --symbols
|
||||
--info sizes --info totals --info unused --info veneers
|
||||
--list "MR16.map" -o MR16\MR16.axf
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
BIN
MDK-ARM/MR16/dma.crf
Normal file
BIN
MDK-ARM/MR16/dma.crf
Normal file
Binary file not shown.
32
MDK-ARM/MR16/dma.d
Normal file
32
MDK-ARM/MR16/dma.d
Normal file
@ -0,0 +1,32 @@
|
||||
mr16\dma.o: ../Core/Src/dma.c
|
||||
mr16\dma.o: ../Core/Inc/dma.h
|
||||
mr16\dma.o: ../Core/Inc/main.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\dma.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
||||
mr16\dma.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
||||
mr16\dma.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
||||
mr16\dma.o: ../Drivers/CMSIS/Include/core_cm3.h
|
||||
mr16\dma.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdint.h
|
||||
mr16\dma.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
||||
mr16\dma.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
||||
mr16\dma.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
||||
mr16\dma.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
||||
mr16\dma.o: D:\cangming\ARM\ARMCC\Bin\..\include\stddef.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||
mr16\dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||
BIN
MDK-ARM/MR16/dma.o
Normal file
BIN
MDK-ARM/MR16/dma.o
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
MDK-ARM/MR16/lcd.crf
Normal file
BIN
MDK-ARM/MR16/lcd.crf
Normal file
Binary file not shown.
41
MDK-ARM/MR16/lcd.d
Normal file
41
MDK-ARM/MR16/lcd.d
Normal file
@ -0,0 +1,41 @@
|
||||
mr16\lcd.o: ..\User\device\lcd_driver\lcd.c
|
||||
mr16\lcd.o: ../User/device/lcd_driver/lcd.h
|
||||
mr16\lcd.o: ../User/device/device.h
|
||||
mr16\lcd.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdbool.h
|
||||
mr16\lcd.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdint.h
|
||||
mr16\lcd.o: ../User/bsp/spi.h
|
||||
mr16\lcd.o: ../Core/Inc/spi.h
|
||||
mr16\lcd.o: ../Core/Inc/main.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\lcd.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
||||
mr16\lcd.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
||||
mr16\lcd.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
||||
mr16\lcd.o: ../Drivers/CMSIS/Include/core_cm3.h
|
||||
mr16\lcd.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
||||
mr16\lcd.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
||||
mr16\lcd.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
||||
mr16\lcd.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
||||
mr16\lcd.o: D:\cangming\ARM\ARMCC\Bin\..\include\stddef.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||
mr16\lcd.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||
mr16\lcd.o: ../User/bsp/bsp.h
|
||||
mr16\lcd.o: ../User/bsp/gpio.h
|
||||
mr16\lcd.o: ../User/device/lcd_driver/lcd_lib.h
|
||||
mr16\lcd.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdlib.h
|
||||
mr16\lcd.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdio.h
|
||||
BIN
MDK-ARM/MR16/lcd.o
Normal file
BIN
MDK-ARM/MR16/lcd.o
Normal file
Binary file not shown.
BIN
MDK-ARM/MR16/lcd_init.crf
Normal file
BIN
MDK-ARM/MR16/lcd_init.crf
Normal file
Binary file not shown.
35
MDK-ARM/MR16/lcd_init.d
Normal file
35
MDK-ARM/MR16/lcd_init.d
Normal file
@ -0,0 +1,35 @@
|
||||
mr16\lcd_init.o: ..\User\device\lcd_init.c
|
||||
mr16\lcd_init.o: ..\User\device\lcd_init.h
|
||||
mr16\lcd_init.o: ..\User\device\device.h
|
||||
mr16\lcd_init.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdbool.h
|
||||
mr16\lcd_init.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdint.h
|
||||
mr16\lcd_init.o: ../Core/Inc/main.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\lcd_init.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
||||
mr16\lcd_init.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
||||
mr16\lcd_init.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
||||
mr16\lcd_init.o: ../Drivers/CMSIS/Include/core_cm3.h
|
||||
mr16\lcd_init.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
||||
mr16\lcd_init.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
||||
mr16\lcd_init.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
||||
mr16\lcd_init.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
||||
mr16\lcd_init.o: D:\cangming\ARM\ARMCC\Bin\..\include\stddef.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||
mr16\lcd_init.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||
mr16\lcd_init.o: ../Core/Inc/gpio.h
|
||||
BIN
MDK-ARM/MR16/lcd_init.o
Normal file
BIN
MDK-ARM/MR16/lcd_init.o
Normal file
Binary file not shown.
Binary file not shown.
@ -29,20 +29,19 @@ mr16\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||
mr16\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||
mr16\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||
mr16\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||
mr16\main.o: ../Core/Inc/dma.h
|
||||
mr16\main.o: ../Core/Inc/spi.h
|
||||
mr16\main.o: ../Core/Inc/tim.h
|
||||
mr16\main.o: ../Core/Inc/usart.h
|
||||
mr16\main.o: ../Core/Inc/gpio.h
|
||||
mr16\main.o: D:\cangming\ARM\ARMCC\Bin\..\include\string.h
|
||||
mr16\main.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdio.h
|
||||
mr16\main.o: ../sx1281-driver-c/hw.h
|
||||
mr16\main.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdbool.h
|
||||
mr16\main.o: ../Core/Inc/stm32f1xx_it.h
|
||||
mr16\main.o: ../sx1281-driver-c/hw-spi.h
|
||||
mr16\main.o: ../sx1281-driver-c/hw-uart.h
|
||||
mr16\main.o: ../sx1281-driver-c/hw-gpio.h
|
||||
mr16\main.o: ../sx1281-driver-c/sx1281.h
|
||||
mr16\main.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdbool.h
|
||||
mr16\main.o: ../sx1281-driver-c/sx1281_driver.h
|
||||
mr16\main.o: D:\cangming\ARM\ARMCC\Bin\..\include\math.h
|
||||
mr16\main.o: ../sx1281-driver-c/sx1281-hal.h
|
||||
mr16\main.o: ../sx1281-driver-c/boards.h
|
||||
mr16\main.o: ../sx1281-driver-c/radio.h
|
||||
mr16\main.o: ../User/device/device.h
|
||||
mr16\main.o: ../User/device/lcd_driver/lcd.h
|
||||
mr16\main.o: ../User/bsp/spi.h
|
||||
mr16\main.o: ../User/bsp/bsp.h
|
||||
mr16\main.o: ../User/bsp/gpio.h
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,9 +1,13 @@
|
||||
mr16\sx1281.o: ..\sx1281-driver-c\sx1281.c
|
||||
mr16\sx1281.o: D:\cangming\ARM\ARMCC\Bin\..\include\string.h
|
||||
mr16\sx1281.o: ..\sx1281-driver-c\sx1281.h
|
||||
mr16\sx1281.o: ..\sx1281-driver-c\sx1281_driver.h
|
||||
mr16\sx1281.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdint.h
|
||||
mr16\sx1281.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdbool.h
|
||||
mr16\sx1281.o: D:\cangming\ARM\ARMCC\Bin\..\include\math.h
|
||||
mr16\sx1281.o: D:\cangming\ARM\ARMCC\Bin\..\include\string.h
|
||||
mr16\sx1281.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdio.h
|
||||
mr16\sx1281.o: ..\sx1281-driver-c\radio.h
|
||||
mr16\sx1281.o: ../Core/Inc/usart.h
|
||||
mr16\sx1281.o: ../Core/Inc/main.h
|
||||
mr16\sx1281.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\sx1281.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
||||
mr16\sx1281.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
||||
@ -32,5 +36,13 @@ mr16\sx1281.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||
mr16\sx1281.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||
mr16\sx1281.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||
mr16\sx1281.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||
mr16\sx1281.o: ..\sx1281-driver-c\sx1281-hal.h
|
||||
mr16\sx1281.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdio.h
|
||||
mr16\sx1281.o: ../User/bsp/uart.h
|
||||
mr16\sx1281.o: ../User/bsp/bsp.h
|
||||
mr16\sx1281.o: ..\sx1281-driver-c\sx1281_header.h
|
||||
mr16\sx1281.o: ../Core/Inc/stm32f1xx_it.h
|
||||
mr16\sx1281.o: ..\sx1281-driver-c\sx1281_boards.h
|
||||
mr16\sx1281.o: ..\sx1281-driver-c\sx1281_driver_gpio.h
|
||||
mr16\sx1281.o: ..\sx1281-driver-c\sx1281_driver_spi.h
|
||||
mr16\sx1281.o: ..\sx1281-driver-c\sx1281_driver_uart.h
|
||||
mr16\sx1281.o: ..\sx1281-driver-c\sx1281.h
|
||||
mr16\sx1281.o: ../User/device/device.h
|
||||
|
||||
Binary file not shown.
BIN
MDK-ARM/MR16/sx1281_driver.crf
Normal file
BIN
MDK-ARM/MR16/sx1281_driver.crf
Normal file
Binary file not shown.
43
MDK-ARM/MR16/sx1281_driver.d
Normal file
43
MDK-ARM/MR16/sx1281_driver.d
Normal file
@ -0,0 +1,43 @@
|
||||
mr16\sx1281_driver.o: ..\sx1281-driver-c\sx1281_driver.c
|
||||
mr16\sx1281_driver.o: D:\cangming\ARM\ARMCC\Bin\..\include\string.h
|
||||
mr16\sx1281_driver.o: ..\sx1281-driver-c\sx1281_driver.h
|
||||
mr16\sx1281_driver.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdint.h
|
||||
mr16\sx1281_driver.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdbool.h
|
||||
mr16\sx1281_driver.o: D:\cangming\ARM\ARMCC\Bin\..\include\math.h
|
||||
mr16\sx1281_driver.o: ..\sx1281-driver-c\sx1281_driver_hal.h
|
||||
mr16\sx1281_driver.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdio.h
|
||||
mr16\sx1281_driver.o: ..\sx1281-driver-c\sx1281_header.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\sx1281_driver.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
||||
mr16\sx1281_driver.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
||||
mr16\sx1281_driver.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
||||
mr16\sx1281_driver.o: ../Drivers/CMSIS/Include/core_cm3.h
|
||||
mr16\sx1281_driver.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
||||
mr16\sx1281_driver.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
||||
mr16\sx1281_driver.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
||||
mr16\sx1281_driver.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
||||
mr16\sx1281_driver.o: D:\cangming\ARM\ARMCC\Bin\..\include\stddef.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||
mr16\sx1281_driver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||
mr16\sx1281_driver.o: ../Core/Inc/stm32f1xx_it.h
|
||||
mr16\sx1281_driver.o: ..\sx1281-driver-c\sx1281_boards.h
|
||||
mr16\sx1281_driver.o: ..\sx1281-driver-c\sx1281_driver_gpio.h
|
||||
mr16\sx1281_driver.o: ../Core/Inc/main.h
|
||||
mr16\sx1281_driver.o: ..\sx1281-driver-c\sx1281_driver_spi.h
|
||||
mr16\sx1281_driver.o: ..\sx1281-driver-c\sx1281_driver_uart.h
|
||||
BIN
MDK-ARM/MR16/sx1281_driver.o
Normal file
BIN
MDK-ARM/MR16/sx1281_driver.o
Normal file
Binary file not shown.
BIN
MDK-ARM/MR16/sx1281_driver_gpio.crf
Normal file
BIN
MDK-ARM/MR16/sx1281_driver_gpio.crf
Normal file
Binary file not shown.
39
MDK-ARM/MR16/sx1281_driver_gpio.d
Normal file
39
MDK-ARM/MR16/sx1281_driver_gpio.d
Normal file
@ -0,0 +1,39 @@
|
||||
mr16\sx1281_driver_gpio.o: ..\sx1281-driver-c\sx1281_driver_gpio.c
|
||||
mr16\sx1281_driver_gpio.o: ..\sx1281-driver-c\sx1281_header.h
|
||||
mr16\sx1281_driver_gpio.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdio.h
|
||||
mr16\sx1281_driver_gpio.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdint.h
|
||||
mr16\sx1281_driver_gpio.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdbool.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\sx1281_driver_gpio.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/CMSIS/Include/core_cm3.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
||||
mr16\sx1281_driver_gpio.o: D:\cangming\ARM\ARMCC\Bin\..\include\stddef.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||
mr16\sx1281_driver_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||
mr16\sx1281_driver_gpio.o: ../Core/Inc/stm32f1xx_it.h
|
||||
mr16\sx1281_driver_gpio.o: ..\sx1281-driver-c\sx1281_boards.h
|
||||
mr16\sx1281_driver_gpio.o: ..\sx1281-driver-c\sx1281_driver_gpio.h
|
||||
mr16\sx1281_driver_gpio.o: ../Core/Inc/main.h
|
||||
mr16\sx1281_driver_gpio.o: ..\sx1281-driver-c\sx1281_driver_spi.h
|
||||
mr16\sx1281_driver_gpio.o: ..\sx1281-driver-c\sx1281_driver_uart.h
|
||||
BIN
MDK-ARM/MR16/sx1281_driver_gpio.o
Normal file
BIN
MDK-ARM/MR16/sx1281_driver_gpio.o
Normal file
Binary file not shown.
BIN
MDK-ARM/MR16/sx1281_driver_hal.crf
Normal file
BIN
MDK-ARM/MR16/sx1281_driver_hal.crf
Normal file
Binary file not shown.
44
MDK-ARM/MR16/sx1281_driver_hal.d
Normal file
44
MDK-ARM/MR16/sx1281_driver_hal.d
Normal file
@ -0,0 +1,44 @@
|
||||
mr16\sx1281_driver_hal.o: ..\sx1281-driver-c\sx1281_driver_hal.c
|
||||
mr16\sx1281_driver_hal.o: ..\sx1281-driver-c\sx1281_header.h
|
||||
mr16\sx1281_driver_hal.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdio.h
|
||||
mr16\sx1281_driver_hal.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdint.h
|
||||
mr16\sx1281_driver_hal.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdbool.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\sx1281_driver_hal.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/CMSIS/Include/core_cm3.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
||||
mr16\sx1281_driver_hal.o: D:\cangming\ARM\ARMCC\Bin\..\include\stddef.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||
mr16\sx1281_driver_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||
mr16\sx1281_driver_hal.o: ../Core/Inc/stm32f1xx_it.h
|
||||
mr16\sx1281_driver_hal.o: ..\sx1281-driver-c\sx1281_boards.h
|
||||
mr16\sx1281_driver_hal.o: ..\sx1281-driver-c\sx1281_driver_gpio.h
|
||||
mr16\sx1281_driver_hal.o: ../Core/Inc/main.h
|
||||
mr16\sx1281_driver_hal.o: ..\sx1281-driver-c\sx1281_driver_spi.h
|
||||
mr16\sx1281_driver_hal.o: ..\sx1281-driver-c\sx1281_driver_uart.h
|
||||
mr16\sx1281_driver_hal.o: ..\sx1281-driver-c\sx1281_driver_hal.h
|
||||
mr16\sx1281_driver_hal.o: ..\sx1281-driver-c\sx1281_driver.h
|
||||
mr16\sx1281_driver_hal.o: D:\cangming\ARM\ARMCC\Bin\..\include\math.h
|
||||
mr16\sx1281_driver_hal.o: ..\sx1281-driver-c\radio.h
|
||||
mr16\sx1281_driver_hal.o: D:\cangming\ARM\ARMCC\Bin\..\include\string.h
|
||||
BIN
MDK-ARM/MR16/sx1281_driver_hal.o
Normal file
BIN
MDK-ARM/MR16/sx1281_driver_hal.o
Normal file
Binary file not shown.
BIN
MDK-ARM/MR16/sx1281_driver_spi.crf
Normal file
BIN
MDK-ARM/MR16/sx1281_driver_spi.crf
Normal file
Binary file not shown.
35
MDK-ARM/MR16/sx1281_driver_spi.d
Normal file
35
MDK-ARM/MR16/sx1281_driver_spi.d
Normal file
@ -0,0 +1,35 @@
|
||||
mr16\sx1281_driver_spi.o: ..\sx1281-driver-c\sx1281_driver_spi.c
|
||||
mr16\sx1281_driver_spi.o: ../User/bsp/spi.h
|
||||
mr16\sx1281_driver_spi.o: ../Core/Inc/spi.h
|
||||
mr16\sx1281_driver_spi.o: ../Core/Inc/main.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\sx1281_driver_spi.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/CMSIS/Include/core_cm3.h
|
||||
mr16\sx1281_driver_spi.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdint.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
||||
mr16\sx1281_driver_spi.o: D:\cangming\ARM\ARMCC\Bin\..\include\stddef.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||
mr16\sx1281_driver_spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||
mr16\sx1281_driver_spi.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdbool.h
|
||||
mr16\sx1281_driver_spi.o: ../User/bsp/bsp.h
|
||||
BIN
MDK-ARM/MR16/sx1281_driver_spi.o
Normal file
BIN
MDK-ARM/MR16/sx1281_driver_spi.o
Normal file
Binary file not shown.
BIN
MDK-ARM/MR16/sx1281_driver_uart.crf
Normal file
BIN
MDK-ARM/MR16/sx1281_driver_uart.crf
Normal file
Binary file not shown.
35
MDK-ARM/MR16/sx1281_driver_uart.d
Normal file
35
MDK-ARM/MR16/sx1281_driver_uart.d
Normal file
@ -0,0 +1,35 @@
|
||||
mr16\sx1281_driver_uart.o: ..\sx1281-driver-c\sx1281_driver_uart.c
|
||||
mr16\sx1281_driver_uart.o: ../Core/Inc/usart.h
|
||||
mr16\sx1281_driver_uart.o: ../Core/Inc/main.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\sx1281_driver_uart.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/CMSIS/Include/core_cm3.h
|
||||
mr16\sx1281_driver_uart.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdint.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
||||
mr16\sx1281_driver_uart.o: D:\cangming\ARM\ARMCC\Bin\..\include\stddef.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||
mr16\sx1281_driver_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||
mr16\sx1281_driver_uart.o: ../User/bsp/uart.h
|
||||
mr16\sx1281_driver_uart.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdbool.h
|
||||
mr16\sx1281_driver_uart.o: ../User/bsp/bsp.h
|
||||
BIN
MDK-ARM/MR16/sx1281_driver_uart.o
Normal file
BIN
MDK-ARM/MR16/sx1281_driver_uart.o
Normal file
Binary file not shown.
BIN
MDK-ARM/MR16/sx1281_header.crf
Normal file
BIN
MDK-ARM/MR16/sx1281_header.crf
Normal file
Binary file not shown.
39
MDK-ARM/MR16/sx1281_header.d
Normal file
39
MDK-ARM/MR16/sx1281_header.d
Normal file
@ -0,0 +1,39 @@
|
||||
mr16\sx1281_header.o: ..\sx1281-driver-c\sx1281_header.c
|
||||
mr16\sx1281_header.o: ..\sx1281-driver-c\sx1281_header.h
|
||||
mr16\sx1281_header.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdio.h
|
||||
mr16\sx1281_header.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdint.h
|
||||
mr16\sx1281_header.o: D:\cangming\ARM\ARMCC\Bin\..\include\stdbool.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\sx1281_header.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
||||
mr16\sx1281_header.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
||||
mr16\sx1281_header.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
||||
mr16\sx1281_header.o: ../Drivers/CMSIS/Include/core_cm3.h
|
||||
mr16\sx1281_header.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
||||
mr16\sx1281_header.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
||||
mr16\sx1281_header.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
||||
mr16\sx1281_header.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
||||
mr16\sx1281_header.o: D:\cangming\ARM\ARMCC\Bin\..\include\stddef.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||
mr16\sx1281_header.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||
mr16\sx1281_header.o: ../Core/Inc/stm32f1xx_it.h
|
||||
mr16\sx1281_header.o: ..\sx1281-driver-c\sx1281_boards.h
|
||||
mr16\sx1281_header.o: ..\sx1281-driver-c\sx1281_driver_gpio.h
|
||||
mr16\sx1281_header.o: ../Core/Inc/main.h
|
||||
mr16\sx1281_header.o: ..\sx1281-driver-c\sx1281_driver_spi.h
|
||||
mr16\sx1281_header.o: ..\sx1281-driver-c\sx1281_driver_uart.h
|
||||
BIN
MDK-ARM/MR16/sx1281_header.o
Normal file
BIN
MDK-ARM/MR16/sx1281_header.o
Normal file
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user