commit
This commit is contained in:
parent
79bfa20ac7
commit
509b840b3f
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,146 @@
|
|||
/*
|
||||
* gc9a01.h
|
||||
*
|
||||
* Created on: Jul 24, 2025
|
||||
* Author: loren
|
||||
*/
|
||||
|
||||
#ifndef INC_GC9A01_H_
|
||||
#define INC_GC9A01_H_
|
||||
|
||||
|
||||
#include "main.h"
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
//==============================================================================
|
||||
// Configuration des pins (à adapter selon votre câblage)
|
||||
//==============================================================================
|
||||
#define GC9A01_CS_GPIO_Port GPIOB
|
||||
#define GC9A01_CS_Pin GPIO_PIN_0
|
||||
#define GC9A01_DC_GPIO_Port GPIOB
|
||||
#define GC9A01_DC_Pin GPIO_PIN_1
|
||||
#define GC9A01_RST_GPIO_Port GPIOB
|
||||
#define GC9A01_RST_Pin GPIO_PIN_2
|
||||
// SCK et MOSI sont sur SPI1 par défaut
|
||||
|
||||
//==============================================================================
|
||||
// Constantes de l'écran
|
||||
//==============================================================================
|
||||
#define GC9A01_WIDTH 240
|
||||
#define GC9A01_HEIGHT 240
|
||||
#define GC9A01_RADIUS 120
|
||||
|
||||
//==============================================================================
|
||||
// Couleurs 16-bit (RGB565)
|
||||
//==============================================================================
|
||||
#define GC9A01_BLACK 0x0000
|
||||
#define GC9A01_WHITE 0xFFFF
|
||||
#define GC9A01_RED 0xF800
|
||||
#define GC9A01_GREEN 0x07E0
|
||||
#define GC9A01_BLUE 0x001F
|
||||
#define GC9A01_CYAN 0x07FF
|
||||
#define GC9A01_MAGENTA 0xF81F
|
||||
#define GC9A01_YELLOW 0xFFE0
|
||||
#define GC9A01_ORANGE 0xFD20
|
||||
#define GC9A01_DARKGREEN 0x03E0
|
||||
#define GC9A01_DARKBLUE 0x0010
|
||||
#define GC9A01_GRAY 0x8410
|
||||
#define GC9A01_LIGHTGRAY 0xC618
|
||||
|
||||
//==============================================================================
|
||||
// Commandes du contrôleur GC9A01
|
||||
//==============================================================================
|
||||
#define GC9A01_SWRESET 0x01
|
||||
#define GC9A01_RDDID 0x04
|
||||
#define GC9A01_RDDST 0x09
|
||||
#define GC9A01_SLPIN 0x10
|
||||
#define GC9A01_SLPOUT 0x11
|
||||
#define GC9A01_PTLON 0x12
|
||||
#define GC9A01_NORON 0x13
|
||||
#define GC9A01_INVOFF 0x20
|
||||
#define GC9A01_INVON 0x21
|
||||
#define GC9A01_DISPOFF 0x28
|
||||
#define GC9A01_DISPON 0x29
|
||||
#define GC9A01_CASET 0x2A
|
||||
#define GC9A01_RASET 0x2B
|
||||
#define GC9A01_RAMWR 0x2C
|
||||
#define GC9A01_RAMRD 0x2E
|
||||
#define GC9A01_PTLAR 0x30
|
||||
#define GC9A01_COLMOD 0x3A
|
||||
#define GC9A01_MADCTL 0x36
|
||||
#define GC9A01_DFUNCTR 0xB6
|
||||
#define GC9A01_PWCTR1 0xC1
|
||||
#define GC9A01_PWCTR2 0xC3
|
||||
#define GC9A01_PWCTR3 0xC4
|
||||
#define GC9A01_PWCTR4 0xC9
|
||||
#define GC9A01_RDID1 0xDA
|
||||
#define GC9A01_RDID2 0xDB
|
||||
#define GC9A01_RDID3 0xDC
|
||||
#define GC9A01_FRAMERATE 0xE8
|
||||
#define GC9A01_SPI2DATA 0xE9
|
||||
#define GC9A01_INREGEN2 0xEF
|
||||
#define GC9A01_GAMMA1 0xF0
|
||||
#define GC9A01_GAMMA2 0xF1
|
||||
#define GC9A01_GAMMA3 0xF2
|
||||
#define GC9A01_GAMMA4 0xF3
|
||||
|
||||
//==============================================================================
|
||||
// Structures
|
||||
//==============================================================================
|
||||
|
||||
typedef struct {
|
||||
uint16_t x;
|
||||
uint16_t y;
|
||||
} GC9A01_Point_t;
|
||||
|
||||
typedef struct {
|
||||
uint16_t x;
|
||||
uint16_t y;
|
||||
uint16_t width;
|
||||
uint16_t height;
|
||||
} GC9A01_Rect_t;
|
||||
|
||||
typedef struct {
|
||||
uint16_t x;
|
||||
uint16_t y;
|
||||
uint8_t radius;
|
||||
uint16_t color;
|
||||
} GC9A01_Circle_t;
|
||||
|
||||
//==============================================================================
|
||||
// Fonctions publiques
|
||||
//==============================================================================
|
||||
|
||||
// Initialisation et contrôle de base
|
||||
bool GC9A01_Init(SPI_HandleTypeDef *hspi);
|
||||
void GC9A01_Reset(void);
|
||||
void GC9A01_DisplayOn(void);
|
||||
void GC9A01_DisplayOff(void);
|
||||
void GC9A01_SetRotation(uint8_t rotation);
|
||||
|
||||
// Fonctions de dessin de base
|
||||
void GC9A01_FillScreen(uint16_t color);
|
||||
void GC9A01_SetPixel(uint16_t x, uint16_t y, uint16_t color);
|
||||
void GC9A01_DrawLine(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t color);
|
||||
void GC9A01_DrawRect(uint16_t x, uint16_t y, uint16_t width, uint16_t height, uint16_t color);
|
||||
void GC9A01_FillRect(uint16_t x, uint16_t y, uint16_t width, uint16_t height, uint16_t color);
|
||||
void GC9A01_DrawCircle(uint16_t x, uint16_t y, uint8_t radius, uint16_t color);
|
||||
void GC9A01_FillCircle(uint16_t x, uint16_t y, uint8_t radius, uint16_t color);
|
||||
|
||||
// Fonctions de texte (simple)
|
||||
void GC9A01_DrawChar(uint16_t x, uint16_t y, char c, uint16_t color, uint16_t bg_color, uint8_t size);
|
||||
void GC9A01_DrawString(uint16_t x, uint16_t y, const char *str, uint16_t color, uint16_t bg_color, uint8_t size);
|
||||
|
||||
// Fonctions utilitaires
|
||||
uint16_t GC9A01_RGB565(uint8_t r, uint8_t g, uint8_t b);
|
||||
bool GC9A01_IsInCircle(uint16_t x, uint16_t y);
|
||||
|
||||
// Fonctions spécifiques pour interface moto
|
||||
void GC9A01_DrawGauge(uint16_t center_x, uint16_t center_y, uint8_t radius,
|
||||
float value, float min_val, float max_val,
|
||||
uint16_t color, const char* label);
|
||||
void GC9A01_DrawAngleIndicator(float roll, float pitch);
|
||||
void GC9A01_DrawStateIndicator(const char* state, uint16_t color);
|
||||
|
||||
#endif /* INC_GC9A01_H_ */
|
||||
|
|
@ -74,7 +74,7 @@
|
|||
/*#define HAL_SD_MODULE_ENABLED */
|
||||
/*#define HAL_SMBUS_MODULE_ENABLED */
|
||||
/*#define HAL_SMARTCARD_MODULE_ENABLED */
|
||||
/*#define HAL_SPI_MODULE_ENABLED */
|
||||
#define HAL_SPI_MODULE_ENABLED
|
||||
/*#define HAL_SRAM_MODULE_ENABLED */
|
||||
/*#define HAL_SWPMI_MODULE_ENABLED */
|
||||
/*#define HAL_TIM_MODULE_ENABLED */
|
||||
|
|
|
|||
|
|
@ -0,0 +1,632 @@
|
|||
/**
|
||||
* @file gc9a01.c
|
||||
* @brief Implémentation du driver pour écran TFT rond GC9A01 240x240
|
||||
*/
|
||||
|
||||
#include "gc9a01.h"
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
|
||||
//==============================================================================
|
||||
// Variables privées
|
||||
//==============================================================================
|
||||
static SPI_HandleTypeDef *hspi_gc9a01 = NULL;
|
||||
|
||||
// Police simple 8x8 (bitmap)
|
||||
static const uint8_t font8x8_basic[128][8] = {
|
||||
// A partir du caractère ' ' (32)
|
||||
[32] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // space
|
||||
[33] = { 0x18, 0x3C, 0x3C, 0x18, 0x18, 0x00, 0x18, 0x00}, // !
|
||||
[34] = { 0x36, 0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // "
|
||||
[35] = { 0x36, 0x36, 0x7F, 0x36, 0x7F, 0x36, 0x36, 0x00}, // #
|
||||
[36] = { 0x0C, 0x3E, 0x03, 0x1E, 0x30, 0x1F, 0x0C, 0x00}, // $
|
||||
[37] = { 0x00, 0x63, 0x33, 0x18, 0x0C, 0x66, 0x63, 0x00}, // %
|
||||
[38] = { 0x1C, 0x36, 0x1C, 0x6E, 0x3B, 0x33, 0x6E, 0x00}, // &
|
||||
[39] = { 0x06, 0x06, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00}, // '
|
||||
[40] = { 0x18, 0x0C, 0x06, 0x06, 0x06, 0x0C, 0x18, 0x00}, // (
|
||||
[41] = { 0x06, 0x0C, 0x18, 0x18, 0x18, 0x0C, 0x06, 0x00}, // )
|
||||
[42] = { 0x00, 0x66, 0x3C, 0xFF, 0x3C, 0x66, 0x00, 0x00}, // *
|
||||
[43] = { 0x00, 0x0C, 0x0C, 0x3F, 0x0C, 0x0C, 0x00, 0x00}, // +
|
||||
[44] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x0C, 0x06, 0x00}, // ,
|
||||
[45] = { 0x00, 0x00, 0x00, 0x3F, 0x00, 0x00, 0x00, 0x00}, // -
|
||||
[46] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x0C, 0x0C, 0x00}, // .
|
||||
[47] = { 0x60, 0x30, 0x18, 0x0C, 0x06, 0x03, 0x01, 0x00}, // /
|
||||
[48] = { 0x3E, 0x63, 0x73, 0x7B, 0x6F, 0x67, 0x3E, 0x00}, // 0
|
||||
[49] = { 0x0C, 0x0E, 0x0C, 0x0C, 0x0C, 0x0C, 0x3F, 0x00}, // 1
|
||||
[50] = { 0x1E, 0x33, 0x30, 0x1C, 0x06, 0x33, 0x3F, 0x00}, // 2
|
||||
[51] = { 0x1E, 0x33, 0x30, 0x1C, 0x30, 0x33, 0x1E, 0x00}, // 3
|
||||
[52] = { 0x38, 0x3C, 0x36, 0x33, 0x7F, 0x30, 0x78, 0x00}, // 4
|
||||
[53] = { 0x3F, 0x03, 0x1F, 0x30, 0x30, 0x33, 0x1E, 0x00}, // 5
|
||||
[54] = { 0x1C, 0x06, 0x03, 0x1F, 0x33, 0x33, 0x1E, 0x00}, // 6
|
||||
[55] = { 0x3F, 0x33, 0x30, 0x18, 0x0C, 0x0C, 0x0C, 0x00}, // 7
|
||||
[56] = { 0x1E, 0x33, 0x33, 0x1E, 0x33, 0x33, 0x1E, 0x00}, // 8
|
||||
[57] = { 0x1E, 0x33, 0x33, 0x3E, 0x30, 0x18, 0x0E, 0x00}, // 9
|
||||
[58] = { 0x00, 0x0C, 0x0C, 0x00, 0x00, 0x0C, 0x0C, 0x00}, // :
|
||||
[65] = { 0x0C, 0x1E, 0x33, 0x33, 0x3F, 0x33, 0x33, 0x00}, // A
|
||||
[66] = { 0x3F, 0x66, 0x66, 0x3E, 0x66, 0x66, 0x3F, 0x00}, // B
|
||||
[67] = { 0x3C, 0x66, 0x03, 0x03, 0x03, 0x66, 0x3C, 0x00}, // C
|
||||
[68] = { 0x1F, 0x36, 0x66, 0x66, 0x66, 0x36, 0x1F, 0x00}, // D
|
||||
[69] = { 0x7F, 0x46, 0x16, 0x1E, 0x16, 0x46, 0x7F, 0x00}, // E
|
||||
[70] = { 0x7F, 0x46, 0x16, 0x1E, 0x16, 0x06, 0x0F, 0x00}, // F
|
||||
[71] = { 0x3C, 0x66, 0x03, 0x03, 0x73, 0x66, 0x7C, 0x00}, // G
|
||||
[72] = { 0x33, 0x33, 0x33, 0x3F, 0x33, 0x33, 0x33, 0x00}, // H
|
||||
[73] = { 0x1E, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x1E, 0x00}, // I
|
||||
[74] = { 0x78, 0x30, 0x30, 0x30, 0x33, 0x33, 0x1E, 0x00}, // J
|
||||
[75] = { 0x67, 0x66, 0x36, 0x1E, 0x36, 0x66, 0x67, 0x00}, // K
|
||||
[76] = { 0x0F, 0x06, 0x06, 0x06, 0x46, 0x66, 0x7F, 0x00}, // L
|
||||
[77] = { 0x63, 0x77, 0x7F, 0x7F, 0x6B, 0x63, 0x63, 0x00}, // M
|
||||
[78] = { 0x63, 0x67, 0x6F, 0x7B, 0x73, 0x63, 0x63, 0x00}, // N
|
||||
[79] = { 0x1C, 0x36, 0x63, 0x63, 0x63, 0x36, 0x1C, 0x00}, // O
|
||||
[80] = { 0x3F, 0x66, 0x66, 0x3E, 0x06, 0x06, 0x0F, 0x00}, // P
|
||||
[81] = { 0x1E, 0x33, 0x33, 0x33, 0x3B, 0x1E, 0x38, 0x00}, // Q
|
||||
[82] = { 0x3F, 0x66, 0x66, 0x3E, 0x36, 0x66, 0x67, 0x00}, // R
|
||||
[83] = { 0x1E, 0x33, 0x07, 0x0E, 0x38, 0x33, 0x1E, 0x00}, // S
|
||||
[84] = { 0x3F, 0x2D, 0x0C, 0x0C, 0x0C, 0x0C, 0x1E, 0x00}, // T
|
||||
[85] = { 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x3F, 0x00}, // U
|
||||
[86] = { 0x33, 0x33, 0x33, 0x33, 0x33, 0x1E, 0x0C, 0x00}, // V
|
||||
[87] = { 0x63, 0x63, 0x63, 0x6B, 0x7F, 0x77, 0x63, 0x00}, // W
|
||||
[88] = { 0x63, 0x63, 0x36, 0x1C, 0x1C, 0x36, 0x63, 0x00}, // X
|
||||
[89] = { 0x33, 0x33, 0x33, 0x1E, 0x0C, 0x0C, 0x1E, 0x00}, // Y
|
||||
[90] = { 0x7F, 0x63, 0x31, 0x18, 0x4C, 0x66, 0x7F, 0x00}, // Z
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
// Fonctions privées
|
||||
//==============================================================================
|
||||
|
||||
static void GC9A01_WriteCommand(uint8_t cmd) {
|
||||
HAL_GPIO_WritePin(GC9A01_DC_GPIO_Port, GC9A01_DC_Pin, GPIO_PIN_RESET);
|
||||
HAL_GPIO_WritePin(GC9A01_CS_GPIO_Port, GC9A01_CS_Pin, GPIO_PIN_RESET);
|
||||
HAL_SPI_Transmit(hspi_gc9a01, &cmd, 1, HAL_MAX_DELAY);
|
||||
HAL_GPIO_WritePin(GC9A01_CS_GPIO_Port, GC9A01_CS_Pin, GPIO_PIN_SET);
|
||||
}
|
||||
|
||||
static void GC9A01_WriteData(uint8_t data) {
|
||||
HAL_GPIO_WritePin(GC9A01_DC_GPIO_Port, GC9A01_DC_Pin, GPIO_PIN_SET);
|
||||
HAL_GPIO_WritePin(GC9A01_CS_GPIO_Port, GC9A01_CS_Pin, GPIO_PIN_RESET);
|
||||
HAL_SPI_Transmit(hspi_gc9a01, &data, 1, HAL_MAX_DELAY);
|
||||
HAL_GPIO_WritePin(GC9A01_CS_GPIO_Port, GC9A01_CS_Pin, GPIO_PIN_SET);
|
||||
}
|
||||
|
||||
static void GC9A01_WriteDataBuffer(uint8_t *buffer, uint16_t len) {
|
||||
HAL_GPIO_WritePin(GC9A01_DC_GPIO_Port, GC9A01_DC_Pin, GPIO_PIN_SET);
|
||||
HAL_GPIO_WritePin(GC9A01_CS_GPIO_Port, GC9A01_CS_Pin, GPIO_PIN_RESET);
|
||||
HAL_SPI_Transmit(hspi_gc9a01, buffer, len, HAL_MAX_DELAY);
|
||||
HAL_GPIO_WritePin(GC9A01_CS_GPIO_Port, GC9A01_CS_Pin, GPIO_PIN_SET);
|
||||
}
|
||||
|
||||
static void GC9A01_SetAddressWindow(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1) {
|
||||
// Column address set
|
||||
GC9A01_WriteCommand(GC9A01_CASET);
|
||||
GC9A01_WriteData(x0 >> 8);
|
||||
GC9A01_WriteData(x0 & 0xFF);
|
||||
GC9A01_WriteData(x1 >> 8);
|
||||
GC9A01_WriteData(x1 & 0xFF);
|
||||
|
||||
// Row address set
|
||||
GC9A01_WriteCommand(GC9A01_RASET);
|
||||
GC9A01_WriteData(y0 >> 8);
|
||||
GC9A01_WriteData(y0 & 0xFF);
|
||||
GC9A01_WriteData(y1 >> 8);
|
||||
GC9A01_WriteData(y1 & 0xFF);
|
||||
|
||||
// Write to RAM
|
||||
GC9A01_WriteCommand(GC9A01_RAMWR);
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
// Fonctions publiques
|
||||
//==============================================================================
|
||||
|
||||
bool GC9A01_Init(SPI_HandleTypeDef *hspi) {
|
||||
hspi_gc9a01 = hspi;
|
||||
|
||||
// Reset de l'écran
|
||||
GC9A01_Reset();
|
||||
HAL_Delay(100);
|
||||
|
||||
// Séquence d'initialisation GC9A01
|
||||
GC9A01_WriteCommand(GC9A01_INREGEN2);
|
||||
|
||||
GC9A01_WriteCommand(GC9A01_SPI2DATA);
|
||||
|
||||
GC9A01_WriteCommand(0xEB);
|
||||
GC9A01_WriteData(0x14);
|
||||
|
||||
GC9A01_WriteCommand(GC9A01_INREGEN2);
|
||||
|
||||
GC9A01_WriteCommand(GC9A01_SPI2DATA);
|
||||
|
||||
GC9A01_WriteCommand(0x84);
|
||||
GC9A01_WriteData(0x40);
|
||||
|
||||
GC9A01_WriteCommand(0x85);
|
||||
GC9A01_WriteData(0xFF);
|
||||
|
||||
GC9A01_WriteCommand(0x86);
|
||||
GC9A01_WriteData(0xFF);
|
||||
|
||||
GC9A01_WriteCommand(0x87);
|
||||
GC9A01_WriteData(0xFF);
|
||||
|
||||
GC9A01_WriteCommand(0x88);
|
||||
GC9A01_WriteData(0x0A);
|
||||
|
||||
GC9A01_WriteCommand(0x89);
|
||||
GC9A01_WriteData(0x21);
|
||||
|
||||
GC9A01_WriteCommand(0x8A);
|
||||
GC9A01_WriteData(0x00);
|
||||
|
||||
GC9A01_WriteCommand(0x8B);
|
||||
GC9A01_WriteData(0x80);
|
||||
|
||||
GC9A01_WriteCommand(0x8C);
|
||||
GC9A01_WriteData(0x01);
|
||||
|
||||
GC9A01_WriteCommand(0x8D);
|
||||
GC9A01_WriteData(0x01);
|
||||
|
||||
GC9A01_WriteCommand(0x8E);
|
||||
GC9A01_WriteData(0xFF);
|
||||
|
||||
GC9A01_WriteCommand(0x8F);
|
||||
GC9A01_WriteData(0xFF);
|
||||
|
||||
GC9A01_WriteCommand(GC9A01_DFUNCTR);
|
||||
GC9A01_WriteData(0x00);
|
||||
GC9A01_WriteData(0x20);
|
||||
|
||||
GC9A01_WriteCommand(GC9A01_MADCTL);
|
||||
GC9A01_WriteData(0x08);
|
||||
|
||||
GC9A01_WriteCommand(GC9A01_COLMOD);
|
||||
GC9A01_WriteData(0x05);
|
||||
|
||||
GC9A01_WriteCommand(0x90);
|
||||
GC9A01_WriteData(0x08);
|
||||
GC9A01_WriteData(0x08);
|
||||
GC9A01_WriteData(0x08);
|
||||
GC9A01_WriteData(0x08);
|
||||
|
||||
GC9A01_WriteCommand(0xBD);
|
||||
GC9A01_WriteData(0x06);
|
||||
|
||||
GC9A01_WriteCommand(0xBC);
|
||||
GC9A01_WriteData(0x00);
|
||||
|
||||
GC9A01_WriteCommand(0xFF);
|
||||
GC9A01_WriteData(0x60);
|
||||
GC9A01_WriteData(0x01);
|
||||
GC9A01_WriteData(0x04);
|
||||
|
||||
GC9A01_WriteCommand(GC9A01_PWCTR2);
|
||||
GC9A01_WriteData(0x13);
|
||||
GC9A01_WriteCommand(GC9A01_PWCTR3);
|
||||
GC9A01_WriteData(0x13);
|
||||
|
||||
GC9A01_WriteCommand(GC9A01_PWCTR4);
|
||||
GC9A01_WriteData(0x22);
|
||||
|
||||
GC9A01_WriteCommand(0xBE);
|
||||
GC9A01_WriteData(0x11);
|
||||
|
||||
GC9A01_WriteCommand(0xE1);
|
||||
GC9A01_WriteData(0x10);
|
||||
GC9A01_WriteData(0x0E);
|
||||
|
||||
GC9A01_WriteCommand(0xDF);
|
||||
GC9A01_WriteData(0x21);
|
||||
GC9A01_WriteData(0x0c);
|
||||
GC9A01_WriteData(0x02);
|
||||
|
||||
GC9A01_WriteCommand(GC9A01_GAMMA1);
|
||||
GC9A01_WriteData(0x45);
|
||||
GC9A01_WriteData(0x09);
|
||||
GC9A01_WriteData(0x08);
|
||||
GC9A01_WriteData(0x08);
|
||||
GC9A01_WriteData(0x26);
|
||||
GC9A01_WriteData(0x2A);
|
||||
|
||||
GC9A01_WriteCommand(GC9A01_GAMMA2);
|
||||
GC9A01_WriteData(0x43);
|
||||
GC9A01_WriteData(0x70);
|
||||
GC9A01_WriteData(0x72);
|
||||
GC9A01_WriteData(0x36);
|
||||
GC9A01_WriteData(0x37);
|
||||
GC9A01_WriteData(0x6F);
|
||||
|
||||
GC9A01_WriteCommand(GC9A01_GAMMA3);
|
||||
GC9A01_WriteData(0x45);
|
||||
GC9A01_WriteData(0x09);
|
||||
GC9A01_WriteData(0x08);
|
||||
GC9A01_WriteData(0x08);
|
||||
GC9A01_WriteData(0x26);
|
||||
GC9A01_WriteData(0x2A);
|
||||
|
||||
GC9A01_WriteCommand(GC9A01_GAMMA4);
|
||||
GC9A01_WriteData(0x43);
|
||||
GC9A01_WriteData(0x70);
|
||||
GC9A01_WriteData(0x72);
|
||||
GC9A01_WriteData(0x36);
|
||||
GC9A01_WriteData(0x37);
|
||||
GC9A01_WriteData(0x6F);
|
||||
|
||||
GC9A01_WriteCommand(0xED);
|
||||
GC9A01_WriteData(0x1B);
|
||||
GC9A01_WriteData(0x0B);
|
||||
|
||||
GC9A01_WriteCommand(0xAE);
|
||||
GC9A01_WriteData(0x77);
|
||||
|
||||
GC9A01_WriteCommand(0xCD);
|
||||
GC9A01_WriteData(0x63);
|
||||
|
||||
GC9A01_WriteCommand(0x70);
|
||||
GC9A01_WriteData(0x07);
|
||||
GC9A01_WriteData(0x07);
|
||||
GC9A01_WriteData(0x04);
|
||||
GC9A01_WriteData(0x0E);
|
||||
GC9A01_WriteData(0x0F);
|
||||
GC9A01_WriteData(0x71);
|
||||
GC9A01_WriteData(0xEF);
|
||||
GC9A01_WriteData(0x70);
|
||||
GC9A01_WriteData(0x70);
|
||||
|
||||
GC9A01_WriteCommand(0x63);
|
||||
GC9A01_WriteData(0x18);
|
||||
GC9A01_WriteData(0x11);
|
||||
GC9A01_WriteData(0x71);
|
||||
GC9A01_WriteData(0xF1);
|
||||
GC9A01_WriteData(0x70);
|
||||
GC9A01_WriteData(0x70);
|
||||
GC9A01_WriteData(0x18);
|
||||
GC9A01_WriteData(0x13);
|
||||
GC9A01_WriteData(0x71);
|
||||
GC9A01_WriteData(0xF3);
|
||||
GC9A01_WriteData(0x70);
|
||||
GC9A01_WriteData(0x70);
|
||||
|
||||
GC9A01_WriteCommand(0x64);
|
||||
GC9A01_WriteData(0x28);
|
||||
GC9A01_WriteData(0x29);
|
||||
GC9A01_WriteData(0xF1);
|
||||
GC9A01_WriteData(0x01);
|
||||
GC9A01_WriteData(0xF1);
|
||||
GC9A01_WriteData(0x00);
|
||||
GC9A01_WriteData(0x07);
|
||||
|
||||
GC9A01_WriteCommand(0x66);
|
||||
GC9A01_WriteData(0x3C);
|
||||
GC9A01_WriteData(0x00);
|
||||
GC9A01_WriteData(0xCD);
|
||||
GC9A01_WriteData(0x67);
|
||||
GC9A01_WriteData(0x45);
|
||||
GC9A01_WriteData(0x45);
|
||||
GC9A01_WriteData(0x10);
|
||||
GC9A01_WriteData(0x00);
|
||||
GC9A01_WriteData(0x00);
|
||||
GC9A01_WriteData(0x00);
|
||||
|
||||
GC9A01_WriteCommand(0x67);
|
||||
GC9A01_WriteData(0x00);
|
||||
GC9A01_WriteData(0x3C);
|
||||
GC9A01_WriteData(0x00);
|
||||
GC9A01_WriteData(0x00);
|
||||
GC9A01_WriteData(0x00);
|
||||
GC9A01_WriteData(0x01);
|
||||
GC9A01_WriteData(0x54);
|
||||
GC9A01_WriteData(0x10);
|
||||
GC9A01_WriteData(0x32);
|
||||
GC9A01_WriteData(0x98);
|
||||
|
||||
GC9A01_WriteCommand(0x74);
|
||||
GC9A01_WriteData(0x10);
|
||||
GC9A01_WriteData(0x85);
|
||||
GC9A01_WriteData(0x80);
|
||||
GC9A01_WriteData(0x00);
|
||||
GC9A01_WriteData(0x00);
|
||||
GC9A01_WriteData(0x4E);
|
||||
GC9A01_WriteData(0x00);
|
||||
|
||||
GC9A01_WriteCommand(0x98);
|
||||
GC9A01_WriteData(0x3e);
|
||||
GC9A01_WriteData(0x07);
|
||||
|
||||
GC9A01_WriteCommand(GC9A01_SLPOUT);
|
||||
HAL_Delay(120);
|
||||
|
||||
GC9A01_WriteCommand(GC9A01_DISPON);
|
||||
HAL_Delay(20);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void GC9A01_Reset(void) {
|
||||
HAL_GPIO_WritePin(GC9A01_RST_GPIO_Port, GC9A01_RST_Pin, GPIO_PIN_RESET);
|
||||
HAL_Delay(10);
|
||||
HAL_GPIO_WritePin(GC9A01_RST_GPIO_Port, GC9A01_RST_Pin, GPIO_PIN_SET);
|
||||
HAL_Delay(10);
|
||||
}
|
||||
|
||||
void GC9A01_DisplayOn(void) {
|
||||
GC9A01_WriteCommand(GC9A01_DISPON);
|
||||
}
|
||||
|
||||
void GC9A01_DisplayOff(void) {
|
||||
GC9A01_WriteCommand(GC9A01_DISPOFF);
|
||||
}
|
||||
|
||||
void GC9A01_SetRotation(uint8_t rotation) {
|
||||
GC9A01_WriteCommand(GC9A01_MADCTL);
|
||||
switch (rotation) {
|
||||
case 0:
|
||||
GC9A01_WriteData(0x08);
|
||||
break;
|
||||
case 1:
|
||||
GC9A01_WriteData(0x68);
|
||||
break;
|
||||
case 2:
|
||||
GC9A01_WriteData(0xC8);
|
||||
break;
|
||||
case 3:
|
||||
GC9A01_WriteData(0xA8);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void GC9A01_FillScreen(uint16_t color) {
|
||||
GC9A01_SetAddressWindow(0, 0, GC9A01_WIDTH-1, GC9A01_HEIGHT-1);
|
||||
|
||||
uint8_t color_high = color >> 8;
|
||||
uint8_t color_low = color & 0xFF;
|
||||
|
||||
HAL_GPIO_WritePin(GC9A01_DC_GPIO_Port, GC9A01_DC_Pin, GPIO_PIN_SET);
|
||||
HAL_GPIO_WritePin(GC9A01_CS_GPIO_Port, GC9A01_CS_Pin, GPIO_PIN_RESET);
|
||||
|
||||
for (uint32_t i = 0; i < GC9A01_WIDTH * GC9A01_HEIGHT; i++) {
|
||||
uint8_t data[2] = {color_high, color_low};
|
||||
HAL_SPI_Transmit(hspi_gc9a01, data, 2, HAL_MAX_DELAY);
|
||||
}
|
||||
|
||||
HAL_GPIO_WritePin(GC9A01_CS_GPIO_Port, GC9A01_CS_Pin, GPIO_PIN_SET);
|
||||
}
|
||||
|
||||
void GC9A01_SetPixel(uint16_t x, uint16_t y, uint16_t color) {
|
||||
if (x >= GC9A01_WIDTH || y >= GC9A01_HEIGHT) return;
|
||||
|
||||
GC9A01_SetAddressWindow(x, y, x, y);
|
||||
uint8_t data[2] = {color >> 8, color & 0xFF};
|
||||
GC9A01_WriteDataBuffer(data, 2);
|
||||
}
|
||||
|
||||
void GC9A01_DrawLine(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t color) {
|
||||
int16_t dx = abs(x1 - x0);
|
||||
int16_t dy = abs(y1 - y0);
|
||||
int16_t sx = (x0 < x1) ? 1 : -1;
|
||||
int16_t sy = (y0 < y1) ? 1 : -1;
|
||||
int16_t err = dx - dy;
|
||||
|
||||
while (1) {
|
||||
GC9A01_SetPixel(x0, y0, color);
|
||||
|
||||
if (x0 == x1 && y0 == y1) break;
|
||||
|
||||
int16_t e2 = 2 * err;
|
||||
if (e2 > -dy) {
|
||||
err -= dy;
|
||||
x0 += sx;
|
||||
}
|
||||
if (e2 < dx) {
|
||||
err += dx;
|
||||
y0 += sy;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void GC9A01_DrawRect(uint16_t x, uint16_t y, uint16_t width, uint16_t height, uint16_t color) {
|
||||
GC9A01_DrawLine(x, y, x + width - 1, y, color);
|
||||
GC9A01_DrawLine(x + width - 1, y, x + width - 1, y + height - 1, color);
|
||||
GC9A01_DrawLine(x + width - 1, y + height - 1, x, y + height - 1, color);
|
||||
GC9A01_DrawLine(x, y + height - 1, x, y, color);
|
||||
}
|
||||
|
||||
void GC9A01_FillRect(uint16_t x, uint16_t y, uint16_t width, uint16_t height, uint16_t color) {
|
||||
if (x >= GC9A01_WIDTH || y >= GC9A01_HEIGHT) return;
|
||||
if (x + width > GC9A01_WIDTH) width = GC9A01_WIDTH - x;
|
||||
if (y + height > GC9A01_HEIGHT) height = GC9A01_HEIGHT - y;
|
||||
|
||||
GC9A01_SetAddressWindow(x, y, x + width - 1, y + height - 1);
|
||||
|
||||
uint8_t color_high = color >> 8;
|
||||
uint8_t color_low = color & 0xFF;
|
||||
|
||||
HAL_GPIO_WritePin(GC9A01_DC_GPIO_Port, GC9A01_DC_Pin, GPIO_PIN_SET);
|
||||
HAL_GPIO_WritePin(GC9A01_CS_GPIO_Port, GC9A01_CS_Pin, GPIO_PIN_RESET);
|
||||
|
||||
for (uint32_t i = 0; i < width * height; i++) {
|
||||
uint8_t data[2] = {color_high, color_low};
|
||||
HAL_SPI_Transmit(hspi_gc9a01, data, 2, HAL_MAX_DELAY);
|
||||
}
|
||||
|
||||
HAL_GPIO_WritePin(GC9A01_CS_GPIO_Port, GC9A01_CS_Pin, GPIO_PIN_SET);
|
||||
}
|
||||
|
||||
void GC9A01_DrawCircle(uint16_t x, uint16_t y, uint8_t radius, uint16_t color) {
|
||||
int16_t f = 1 - radius;
|
||||
int16_t ddF_x = 1;
|
||||
int16_t ddF_y = -2 * radius;
|
||||
int16_t x1 = 0;
|
||||
int16_t y1 = radius;
|
||||
|
||||
GC9A01_SetPixel(x, y + radius, color);
|
||||
GC9A01_SetPixel(x, y - radius, color);
|
||||
GC9A01_SetPixel(x + radius, y, color);
|
||||
GC9A01_SetPixel(x - radius, y, color);
|
||||
|
||||
while (x1 < y1) {
|
||||
if (f >= 0) {
|
||||
y1--;
|
||||
ddF_y += 2;
|
||||
f += ddF_y;
|
||||
}
|
||||
x1++;
|
||||
ddF_x += 2;
|
||||
f += ddF_x;
|
||||
|
||||
GC9A01_SetPixel(x + x1, y + y1, color);
|
||||
GC9A01_SetPixel(x - x1, y + y1, color);
|
||||
GC9A01_SetPixel(x + x1, y - y1, color);
|
||||
GC9A01_SetPixel(x - x1, y - y1, color);
|
||||
GC9A01_SetPixel(x + y1, y + x1, color);
|
||||
GC9A01_SetPixel(x - y1, y + x1, color);
|
||||
GC9A01_SetPixel(x + y1, y - x1, color);
|
||||
GC9A01_SetPixel(x - y1, y - x1, color);
|
||||
}
|
||||
}
|
||||
|
||||
void GC9A01_FillCircle(uint16_t x, uint16_t y, uint8_t radius, uint16_t color) {
|
||||
for (int16_t dy = -radius; dy <= radius; dy++) {
|
||||
for (int16_t dx = -radius; dx <= radius; dx++) {
|
||||
if (dx*dx + dy*dy <= radius*radius) {
|
||||
GC9A01_SetPixel(x + dx, y + dy, color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void GC9A01_DrawChar(uint16_t x, uint16_t y, char c, uint16_t color, uint16_t bg_color, uint8_t size) {
|
||||
if (c < 32 || c > 127) c = '?';
|
||||
|
||||
for (int i = 0; i < 8; i++) {
|
||||
uint8_t line = font8x8_basic[c][i];
|
||||
for (int j = 0; j < 8; j++) {
|
||||
if (line & (1 << j)) {
|
||||
if (size == 1) {
|
||||
GC9A01_SetPixel(x + j, y + i, color);
|
||||
} else {
|
||||
GC9A01_FillRect(x + j * size, y + i * size, size, size, color);
|
||||
}
|
||||
} else if (bg_color != color) {
|
||||
if (size == 1) {
|
||||
GC9A01_SetPixel(x + j, y + i, bg_color);
|
||||
} else {
|
||||
GC9A01_FillRect(x + j * size, y + i * size, size, size, bg_color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void GC9A01_DrawString(uint16_t x, uint16_t y, const char *str, uint16_t color, uint16_t bg_color, uint8_t size) {
|
||||
while (*str) {
|
||||
GC9A01_DrawChar(x, y, *str, color, bg_color, size);
|
||||
x += 8 * size;
|
||||
str++;
|
||||
}
|
||||
}
|
||||
|
||||
uint16_t GC9A01_RGB565(uint8_t r, uint8_t g, uint8_t b) {
|
||||
return ((r & 0xF8) << 8) | ((g & 0xFC) << 3) | (b >> 3);
|
||||
}
|
||||
|
||||
bool GC9A01_IsInCircle(uint16_t x, uint16_t y) {
|
||||
int16_t dx = x - GC9A01_RADIUS;
|
||||
int16_t dy = y - GC9A01_RADIUS;
|
||||
return (dx*dx + dy*dy) <= (GC9A01_RADIUS * GC9A01_RADIUS);
|
||||
}
|
||||
|
||||
// Fonctions spécifiques pour interface moto
|
||||
void GC9A01_DrawGauge(uint16_t center_x, uint16_t center_y, uint8_t radius,
|
||||
float value, float min_val, float max_val,
|
||||
uint16_t color, const char* label) {
|
||||
|
||||
// Dessiner le cercle extérieur
|
||||
GC9A01_DrawCircle(center_x, center_y, radius, GC9A01_WHITE);
|
||||
|
||||
// Calculer l'angle (de -90° à +90°, soit 180° total)
|
||||
float normalized = (value - min_val) / (max_val - min_val);
|
||||
if (normalized < 0) normalized = 0;
|
||||
if (normalized > 1) normalized = 1;
|
||||
|
||||
float angle = -90.0f + (normalized * 180.0f); // -90° à +90°
|
||||
float rad = angle * M_PI / 180.0f;
|
||||
|
||||
// Dessiner l'aiguille
|
||||
int16_t needle_x = center_x + (radius - 5) * cos(rad);
|
||||
int16_t needle_y = center_y + (radius - 5) * sin(rad);
|
||||
GC9A01_DrawLine(center_x, center_y, needle_x, needle_y, color);
|
||||
|
||||
// Dessiner le centre
|
||||
GC9A01_FillCircle(center_x, center_y, 3, color);
|
||||
|
||||
// Afficher la valeur
|
||||
char value_str[10];
|
||||
snprintf(value_str, sizeof(value_str), "%.1f", value);
|
||||
GC9A01_DrawString(center_x - 20, center_y + radius + 10, value_str, color, GC9A01_BLACK, 1);
|
||||
|
||||
// Afficher le label
|
||||
if (label) {
|
||||
GC9A01_DrawString(center_x - strlen(label) * 4, center_y - radius - 20, label, GC9A01_WHITE, GC9A01_BLACK, 1);
|
||||
}
|
||||
}
|
||||
|
||||
void GC9A01_DrawAngleIndicator(float roll, float pitch) {
|
||||
uint16_t center_x = GC9A01_WIDTH / 2;
|
||||
uint16_t center_y = GC9A01_HEIGHT / 2;
|
||||
|
||||
// Effacer la zone central
|
||||
GC9A01_FillCircle(center_x, center_y, 50, GC9A01_BLACK);
|
||||
|
||||
// Dessiner l'horizon artificiel
|
||||
GC9A01_DrawCircle(center_x, center_y, 50, GC9A01_WHITE);
|
||||
|
||||
// Ligne d'horizon (basée sur le pitch)
|
||||
int16_t horizon_offset = (int16_t)(pitch * 2); // Facteur d'échelle
|
||||
GC9A01_DrawLine(center_x - 40, center_y + horizon_offset,
|
||||
center_x + 40, center_y + horizon_offset, GC9A01_CYAN);
|
||||
|
||||
// Indicateur de roulis (triangle au centre)
|
||||
float roll_rad = roll * M_PI / 180.0f;
|
||||
int16_t tri_x = center_x + 20 * sin(roll_rad);
|
||||
int16_t tri_y = center_y - 20 * cos(roll_rad);
|
||||
|
||||
GC9A01_DrawLine(center_x, center_y, tri_x, tri_y, GC9A01_RED);
|
||||
GC9A01_FillCircle(tri_x, tri_y, 3, GC9A01_RED);
|
||||
|
||||
// Afficher les valeurs numériques
|
||||
char roll_str[10], pitch_str[10];
|
||||
snprintf(roll_str, sizeof(roll_str), "R:%.1f", roll);
|
||||
snprintf(pitch_str, sizeof(pitch_str), "P:%.1f", pitch);
|
||||
|
||||
GC9A01_DrawString(10, 10, roll_str, GC9A01_WHITE, GC9A01_BLACK, 1);
|
||||
GC9A01_DrawString(10, 25, pitch_str, GC9A01_WHITE, GC9A01_BLACK, 1);
|
||||
}
|
||||
|
||||
void GC9A01_DrawStateIndicator(const char* state, uint16_t color) {
|
||||
// Effacer la zone du bas
|
||||
GC9A01_FillRect(0, GC9A01_HEIGHT - 30, GC9A01_WIDTH, 30, GC9A01_BLACK);
|
||||
|
||||
// Centrer le texte
|
||||
uint16_t text_width = strlen(state) * 8;
|
||||
uint16_t start_x = (GC9A01_WIDTH - text_width) / 2;
|
||||
|
||||
GC9A01_DrawString(start_x, GC9A01_HEIGHT - 20, state, color, GC9A01_BLACK, 1);
|
||||
}A01_WriteData(0x09);
|
||||
GC9A01_WriteData(0x07);
|
||||
GC9A01_WriteData(0x08);
|
||||
GC9A01_WriteData(0x03);
|
||||
|
||||
GC9A01_WriteCommand(GC9A01_FRAMERATE);
|
||||
GC9A01_WriteData(0x34);
|
||||
|
||||
GC9A01_WriteCommand(0x62);
|
||||
GC9A01_WriteData(0x18);
|
||||
GC9A01_WriteData(0x0D);
|
||||
GC9A01_WriteData(0x71);
|
||||
GC9A01_WriteData(0xED);
|
||||
GC9A01_WriteData(0x70);
|
||||
GC9A01_WriteData(0x70);
|
||||
GC9A01_WriteData(0x18);
|
||||
GC9A01_WriteData(0x0F);
|
||||
GC9
|
||||
317
Core/Src/main.c
317
Core/Src/main.c
|
|
@ -5,18 +5,27 @@
|
|||
#include "icm20948.h"
|
||||
#include "FusionAhrs.h"
|
||||
#include "moto_config.h"
|
||||
#include "gc9a01.h"
|
||||
|
||||
|
||||
I2C_HandleTypeDef hi2c1;
|
||||
SPI_HandleTypeDef hspi1;
|
||||
UART_HandleTypeDef huart2;
|
||||
|
||||
FusionAhrs ahrs;
|
||||
MotoData_t moto_data;
|
||||
MotoStats_t moto_stats = {0};
|
||||
|
||||
SPI_HandleTypeDef hspi1; // Pour l'écran TFT
|
||||
uint32_t display_mode = 0; // Mode d'affichage (0=angles, 1=jauges, 2=horizon)
|
||||
uint32_t mode_change_time = 0;
|
||||
|
||||
void SystemClock_Config(void);
|
||||
static void MX_GPIO_Init(void);
|
||||
static void MX_I2C1_Init(void);
|
||||
static void MX_USART2_UART_Init(void);
|
||||
static void MX_SPI1_Init(void);
|
||||
void Update_TFT_Display(void);
|
||||
|
||||
int __io_putchar(int ch) {
|
||||
HAL_UART_Transmit(&huart2, (uint8_t *)&ch, 1, HAL_MAX_DELAY);
|
||||
|
|
@ -32,6 +41,7 @@ int main(void) {
|
|||
MX_GPIO_Init();
|
||||
MX_I2C1_Init();
|
||||
MX_USART2_UART_Init();
|
||||
MX_SPI1_Init();
|
||||
|
||||
// Initialisation de l'écran
|
||||
lcd_init();
|
||||
|
|
@ -40,6 +50,16 @@ int main(void) {
|
|||
lcd_print("MOTO IMU SYSTEM");
|
||||
HAL_Delay(1000);
|
||||
|
||||
if (!GC9A01_Init(&hspi1)) {
|
||||
printf("Erreur initialisation écran TFT\r\n");
|
||||
} else {
|
||||
printf("Écran TFT initialisé\r\n");
|
||||
GC9A01_FillScreen(GC9A01_BLACK);
|
||||
GC9A01_DrawString(60, 120, "MOTO IMU", GC9A01_GREEN, GC9A01_BLACK, 2);
|
||||
HAL_Delay(2000);
|
||||
GC9A01_FillScreen(GC9A01_BLACK);
|
||||
}
|
||||
|
||||
// Initialisation de l'IMU
|
||||
icm20948_init();
|
||||
|
||||
|
|
@ -109,7 +129,7 @@ int main(void) {
|
|||
Moto_UpdateStats(&moto_stats, &moto_data, gx, gy, gz);
|
||||
|
||||
// Mise à jour de l'affichage (toutes les 5 itérations = ~50ms)
|
||||
display_update_counter++;
|
||||
/*display_update_counter++;
|
||||
if (display_update_counter >= 5) {
|
||||
char buffer[21];
|
||||
|
||||
|
|
@ -120,7 +140,24 @@ int main(void) {
|
|||
}
|
||||
|
||||
display_update_counter = 0;
|
||||
}
|
||||
}*/
|
||||
|
||||
// Mise à jour de l'affichage (toutes les 5 itérations = ~50ms)
|
||||
display_update_counter++;
|
||||
if (display_update_counter >= 5) {
|
||||
// Affichage LCD existant (gardé pour debug/backup)
|
||||
char buffer[21];
|
||||
for (int line = 0; line < 4; line++) {
|
||||
Moto_FormatDisplay(&moto_data, line, buffer);
|
||||
lcd_set_cursor(line, 0);
|
||||
lcd_print(buffer);
|
||||
}
|
||||
|
||||
// Nouvel affichage TFT
|
||||
Update_TFT_Display();
|
||||
|
||||
display_update_counter = 0;
|
||||
}
|
||||
|
||||
// LED d'état
|
||||
switch (moto_data.state) {
|
||||
|
|
@ -172,10 +209,163 @@ int main(void) {
|
|||
}
|
||||
|
||||
// Petite pause pour éviter la surcharge du processeur
|
||||
HAL_Delay(20);
|
||||
HAL_Delay(10);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Fonction de mise à jour de l'affichage TFT (à ajouter avant main())
|
||||
void Update_TFT_Display(void) {
|
||||
float roll = moto_data.roll_filtered;
|
||||
float pitch = moto_data.pitch_filtered;
|
||||
float yaw = moto_data.yaw_filtered;
|
||||
|
||||
// Changement de mode d'affichage toutes les 5 secondes
|
||||
uint32_t current_time = HAL_GetTick();
|
||||
if (current_time - mode_change_time > 5000) {
|
||||
display_mode = (display_mode + 1) % 3;
|
||||
mode_change_time = current_time;
|
||||
GC9A01_FillScreen(GC9A01_BLACK); // Effacer l'écran
|
||||
}
|
||||
|
||||
switch (display_mode) {
|
||||
case 0: // Mode angles numériques
|
||||
{
|
||||
// Titre
|
||||
GC9A01_DrawString(80, 10, "MOTO IMU", GC9A01_WHITE, GC9A01_BLACK, 2);
|
||||
|
||||
// Angles
|
||||
char buffer[20];
|
||||
snprintf(buffer, sizeof(buffer), "Roll: %6.1f°", roll);
|
||||
uint16_t roll_color = (fabsf(roll) > 30) ? GC9A01_RED : GC9A01_GREEN;
|
||||
GC9A01_DrawString(20, 50, buffer, roll_color, GC9A01_BLACK, 1);
|
||||
|
||||
snprintf(buffer, sizeof(buffer), "Pitch: %5.1f°", pitch);
|
||||
uint16_t pitch_color = (fabsf(pitch) > 15) ? GC9A01_ORANGE : GC9A01_GREEN;
|
||||
GC9A01_DrawString(20, 70, buffer, pitch_color, GC9A01_BLACK, 1);
|
||||
|
||||
snprintf(buffer, sizeof(buffer), "Yaw: %7.1f°", yaw);
|
||||
GC9A01_DrawString(20, 90, buffer, GC9A01_CYAN, GC9A01_BLACK, 1);
|
||||
|
||||
// État de la moto
|
||||
const char* state_str = Moto_GetStateString(moto_data.state);
|
||||
uint16_t state_color;
|
||||
switch (moto_data.state) {
|
||||
case MOTO_STATE_NORMAL:
|
||||
state_color = GC9A01_GREEN;
|
||||
break;
|
||||
case MOTO_STATE_WARNING:
|
||||
state_color = GC9A01_YELLOW;
|
||||
break;
|
||||
case MOTO_STATE_DANGER:
|
||||
case MOTO_STATE_POSSIBLE_CRASH:
|
||||
state_color = GC9A01_RED;
|
||||
break;
|
||||
case MOTO_STATE_WHEELIE:
|
||||
case MOTO_STATE_STOPPIE:
|
||||
state_color = GC9A01_MAGENTA;
|
||||
break;
|
||||
case MOTO_STATE_RAPID_TURN:
|
||||
state_color = GC9A01_ORANGE;
|
||||
break;
|
||||
default:
|
||||
state_color = GC9A01_WHITE;
|
||||
break;
|
||||
}
|
||||
|
||||
GC9A01_DrawString(20, 120, "Etat:", GC9A01_WHITE, GC9A01_BLACK, 1);
|
||||
GC9A01_DrawString(20, 135, state_str, state_color, GC9A01_BLACK, 1);
|
||||
|
||||
// Indicateur d'initialisation
|
||||
if (moto_data.is_initializing) {
|
||||
GC9A01_DrawString(50, 180, "INIT...", GC9A01_YELLOW, GC9A01_BLACK, 2);
|
||||
}
|
||||
|
||||
// Statistiques
|
||||
char stats_buffer[30];
|
||||
snprintf(stats_buffer, sizeof(stats_buffer), "Samples: %lu", moto_stats.total_samples);
|
||||
GC9A01_DrawString(10, 210, stats_buffer, GC9A01_GRAY, GC9A01_BLACK, 1);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case 1: // Mode jauges
|
||||
{
|
||||
GC9A01_DrawString(90, 5, "JAUGES", GC9A01_WHITE, GC9A01_BLACK, 1);
|
||||
|
||||
// Jauge de roulis (gauche)
|
||||
uint16_t roll_color = (fabsf(roll) > 30) ? GC9A01_RED :
|
||||
(fabsf(roll) > 15) ? GC9A01_YELLOW : GC9A01_GREEN;
|
||||
GC9A01_DrawGauge(60, 80, 40, roll, -45.0f, 45.0f, roll_color, "ROLL");
|
||||
|
||||
// Jauge de tangage (droite)
|
||||
uint16_t pitch_color = (fabsf(pitch) > 20) ? GC9A01_RED :
|
||||
(fabsf(pitch) > 10) ? GC9A01_YELLOW : GC9A01_GREEN;
|
||||
GC9A01_DrawGauge(180, 80, 40, pitch, -30.0f, 30.0f, pitch_color, "PITCH");
|
||||
|
||||
// Boussole pour le yaw (en bas)
|
||||
GC9A01_DrawCircle(120, 180, 35, GC9A01_WHITE);
|
||||
float yaw_rad = yaw * M_PI / 180.0f;
|
||||
int16_t yaw_x = 120 + 30 * sin(yaw_rad);
|
||||
int16_t yaw_y = 180 - 30 * cos(yaw_rad);
|
||||
GC9A01_DrawLine(120, 180, yaw_x, yaw_y, GC9A01_CYAN);
|
||||
GC9A01_FillCircle(yaw_x, yaw_y, 3, GC9A01_CYAN);
|
||||
GC9A01_DrawString(105, 220, "YAW", GC9A01_WHITE, GC9A01_BLACK, 1);
|
||||
|
||||
// État en bas
|
||||
GC9A01_DrawStateIndicator(Moto_GetStateString(moto_data.state),
|
||||
(moto_data.state == MOTO_STATE_NORMAL) ? GC9A01_GREEN : GC9A01_RED);
|
||||
break;
|
||||
}
|
||||
|
||||
case 2: // Mode horizon artificiel
|
||||
{
|
||||
GC9A01_DrawString(70, 5, "HORIZON", GC9A01_WHITE, GC9A01_BLACK, 1);
|
||||
|
||||
// Horizon artificiel principal
|
||||
GC9A01_DrawAngleIndicator(roll, pitch);
|
||||
|
||||
// Informations complémentaires autour
|
||||
char info_buffer[15];
|
||||
|
||||
// Yaw en haut à droite
|
||||
snprintf(info_buffer, sizeof(info_buffer), "Y:%.0f°", yaw);
|
||||
GC9A01_DrawString(180, 25, info_buffer, GC9A01_CYAN, GC9A01_BLACK, 1);
|
||||
|
||||
// Indicateurs de seuils
|
||||
if (fabsf(roll) > 30) {
|
||||
GC9A01_DrawString(10, 200, "ROULIS!", GC9A01_RED, GC9A01_BLACK, 1);
|
||||
}
|
||||
if (fabsf(pitch) > 20) {
|
||||
GC9A01_DrawString(170, 200, "TANGAGE!", GC9A01_RED, GC9A01_BLACK, 1);
|
||||
}
|
||||
|
||||
// Grille d'aide (lignes de référence)
|
||||
for (int i = -40; i <= 40; i += 20) {
|
||||
if (i != 0) {
|
||||
uint16_t y_pos = 120 + i;
|
||||
if (y_pos > 70 && y_pos < 170) {
|
||||
GC9A01_DrawLine(70, y_pos, 90, y_pos, GC9A01_GRAY);
|
||||
GC9A01_DrawLine(150, y_pos, 170, y_pos, GC9A01_GRAY);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// État actuel
|
||||
GC9A01_DrawStateIndicator(Moto_GetStateString(moto_data.state),
|
||||
(moto_data.state == MOTO_STATE_NORMAL) ? GC9A01_GREEN : GC9A01_RED);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief System Clock Configuration
|
||||
* @retval None
|
||||
*/
|
||||
void SystemClock_Config(void)
|
||||
{
|
||||
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
|
||||
|
|
@ -221,8 +411,21 @@ void SystemClock_Config(void)
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief I2C1 Initialization Function
|
||||
* @param None
|
||||
* @retval None
|
||||
*/
|
||||
static void MX_I2C1_Init(void)
|
||||
{
|
||||
|
||||
/* USER CODE BEGIN I2C1_Init 0 */
|
||||
|
||||
/* USER CODE END I2C1_Init 0 */
|
||||
|
||||
/* USER CODE BEGIN I2C1_Init 1 */
|
||||
|
||||
/* USER CODE END I2C1_Init 1 */
|
||||
hi2c1.Instance = I2C1;
|
||||
hi2c1.Init.Timing = 0x10D19CE4;
|
||||
hi2c1.Init.OwnAddress1 = 0;
|
||||
|
|
@ -237,19 +440,80 @@ static void MX_I2C1_Init(void)
|
|||
Error_Handler();
|
||||
}
|
||||
|
||||
/** Configure Analogue filter
|
||||
*/
|
||||
if (HAL_I2CEx_ConfigAnalogFilter(&hi2c1, I2C_ANALOGFILTER_ENABLE) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
|
||||
/** Configure Digital filter
|
||||
*/
|
||||
if (HAL_I2CEx_ConfigDigitalFilter(&hi2c1, 0) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
/* USER CODE BEGIN I2C1_Init 2 */
|
||||
|
||||
/* USER CODE END I2C1_Init 2 */
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief SPI1 Initialization Function
|
||||
* @param None
|
||||
* @retval None
|
||||
*/
|
||||
static void MX_SPI1_Init(void)
|
||||
{
|
||||
|
||||
/* USER CODE BEGIN SPI1_Init 0 */
|
||||
|
||||
/* USER CODE END SPI1_Init 0 */
|
||||
|
||||
/* USER CODE BEGIN SPI1_Init 1 */
|
||||
|
||||
/* USER CODE END SPI1_Init 1 */
|
||||
/* SPI1 parameter configuration*/
|
||||
hspi1.Instance = SPI1;
|
||||
hspi1.Init.Mode = SPI_MODE_MASTER;
|
||||
hspi1.Init.Direction = SPI_DIRECTION_2LINES;
|
||||
hspi1.Init.DataSize = SPI_DATASIZE_8BIT;
|
||||
hspi1.Init.CLKPolarity = SPI_POLARITY_LOW;
|
||||
hspi1.Init.CLKPhase = SPI_PHASE_1EDGE;
|
||||
hspi1.Init.NSS = SPI_NSS_SOFT;
|
||||
hspi1.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_4;
|
||||
hspi1.Init.FirstBit = SPI_FIRSTBIT_MSB;
|
||||
hspi1.Init.TIMode = SPI_TIMODE_DISABLE;
|
||||
hspi1.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;
|
||||
hspi1.Init.CRCPolynomial = 7;
|
||||
hspi1.Init.CRCLength = SPI_CRC_LENGTH_DATASIZE;
|
||||
hspi1.Init.NSSPMode = SPI_NSS_PULSE_ENABLE;
|
||||
if (HAL_SPI_Init(&hspi1) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
/* USER CODE BEGIN SPI1_Init 2 */
|
||||
|
||||
/* USER CODE END SPI1_Init 2 */
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief USART2 Initialization Function
|
||||
* @param None
|
||||
* @retval None
|
||||
*/
|
||||
static void MX_USART2_UART_Init(void)
|
||||
{
|
||||
|
||||
/* USER CODE BEGIN USART2_Init 0 */
|
||||
|
||||
/* USER CODE END USART2_Init 0 */
|
||||
|
||||
/* USER CODE BEGIN USART2_Init 1 */
|
||||
|
||||
/* USER CODE END USART2_Init 1 */
|
||||
huart2.Instance = USART2;
|
||||
huart2.Init.BaudRate = 115200;
|
||||
huart2.Init.WordLength = UART_WORDLENGTH_8B;
|
||||
|
|
@ -264,11 +528,23 @@ static void MX_USART2_UART_Init(void)
|
|||
{
|
||||
Error_Handler();
|
||||
}
|
||||
/* USER CODE BEGIN USART2_Init 2 */
|
||||
|
||||
/* USER CODE END USART2_Init 2 */
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief GPIO Initialization Function
|
||||
* @param None
|
||||
* @retval None
|
||||
*/
|
||||
static void MX_GPIO_Init(void)
|
||||
{
|
||||
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
||||
/* USER CODE BEGIN MX_GPIO_Init_1 */
|
||||
|
||||
/* USER CODE END MX_GPIO_Init_1 */
|
||||
|
||||
/* GPIO Ports Clock Enable */
|
||||
__HAL_RCC_GPIOC_CLK_ENABLE();
|
||||
|
|
@ -280,7 +556,10 @@ static void MX_GPIO_Init(void)
|
|||
HAL_GPIO_WritePin(GPIOA, SMPS_EN_Pin|SMPS_V1_Pin|SMPS_SW_Pin, GPIO_PIN_RESET);
|
||||
|
||||
/*Configure GPIO pin Output Level */
|
||||
HAL_GPIO_WritePin(LD4_GPIO_Port, LD4_Pin, GPIO_PIN_RESET);
|
||||
HAL_GPIO_WritePin(GPIOB, GPIO_PIN_0|GPIO_PIN_2, GPIO_PIN_SET);
|
||||
|
||||
/*Configure GPIO pin Output Level */
|
||||
HAL_GPIO_WritePin(GPIOB, GPIO_PIN_1|LD4_Pin, GPIO_PIN_RESET);
|
||||
|
||||
/*Configure GPIO pin : B1_Pin */
|
||||
GPIO_InitStruct.Pin = B1_Pin;
|
||||
|
|
@ -301,23 +580,51 @@ static void MX_GPIO_Init(void)
|
|||
GPIO_InitStruct.Pull = GPIO_PULLUP;
|
||||
HAL_GPIO_Init(SMPS_PG_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
/*Configure GPIO pins : PB0 PB1 PB2 */
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_1|GPIO_PIN_2;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
||||
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
||||
|
||||
/*Configure GPIO pin : LD4_Pin */
|
||||
GPIO_InitStruct.Pin = LD4_Pin;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||
HAL_GPIO_Init(LD4_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
/* USER CODE BEGIN MX_GPIO_Init_2 */
|
||||
|
||||
/* USER CODE END MX_GPIO_Init_2 */
|
||||
}
|
||||
|
||||
/* USER CODE BEGIN 4 */
|
||||
|
||||
/* USER CODE END 4 */
|
||||
|
||||
/**
|
||||
* @brief This function is executed in case of error occurrence.
|
||||
* @retval None
|
||||
*/
|
||||
void Error_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN Error_Handler_Debug */
|
||||
/* User can add his own implementation to report the HAL error return state */
|
||||
__disable_irq();
|
||||
while (1)
|
||||
{
|
||||
}
|
||||
/* USER CODE END Error_Handler_Debug */
|
||||
}
|
||||
|
||||
#ifdef USE_FULL_ASSERT
|
||||
/**
|
||||
* @brief Reports the name of the source file and the source line number
|
||||
* where the assert_param error has occurred.
|
||||
* @param file: pointer to the source file name
|
||||
* @param line: assert_param error line source number
|
||||
* @retval None
|
||||
*/
|
||||
void assert_failed(uint8_t *file, uint32_t line)
|
||||
{
|
||||
/* USER CODE BEGIN 6 */
|
||||
|
|
|
|||
|
|
@ -75,12 +75,12 @@ void Moto_FilterAngles(MotoData_t *data) {
|
|||
|
||||
const char* Moto_GetStateString(MotoState_t state) {
|
||||
switch (state) {
|
||||
case MOTO_STATE_NORMAL: return "NORMAL";
|
||||
case MOTO_STATE_WARNING: return "ATTENTION";
|
||||
case MOTO_STATE_DANGER: return "DANGER";
|
||||
case MOTO_STATE_WHEELIE: return "WHEELIE";
|
||||
case MOTO_STATE_STOPPIE: return "STOPPIE";
|
||||
case MOTO_STATE_RAPID_TURN: return "VIRAGE RAPIDE";
|
||||
case MOTO_STATE_NORMAL: return "NORMAL ";
|
||||
case MOTO_STATE_WARNING: return "ATTENTION ";
|
||||
case MOTO_STATE_DANGER: return "DANGER ";
|
||||
case MOTO_STATE_WHEELIE: return "WHEELIE ";
|
||||
case MOTO_STATE_STOPPIE: return "STOPPIE ";
|
||||
case MOTO_STATE_RAPID_TURN: return "VIRAGE RAPIDE ";
|
||||
case MOTO_STATE_POSSIBLE_CRASH: return "CHUTE POSSIBLE";
|
||||
default: return "INCONNU";
|
||||
}
|
||||
|
|
@ -150,34 +150,34 @@ void Moto_FormatDisplay(const MotoData_t *data, int line, char *buffer) {
|
|||
|
||||
case 3:
|
||||
if (data->is_initializing) {
|
||||
snprintf(buffer, 21, "--- INIT EN COURS ---");
|
||||
snprintf(buffer, 21, "---- INIT EN COURS ----");
|
||||
} else {
|
||||
switch (data->state) {
|
||||
case MOTO_STATE_NORMAL:
|
||||
snprintf(buffer, 21, "--- EQUILIBRE ---");
|
||||
snprintf(buffer, 21, "---- EQUILIBRE ----");
|
||||
break;
|
||||
case MOTO_STATE_WARNING:
|
||||
if (data->roll > 0) {
|
||||
snprintf(buffer, 21, "INCLIN. DROITE >>>");
|
||||
snprintf(buffer, 21, "INCLIN. DROITE >>>");
|
||||
} else {
|
||||
snprintf(buffer, 21, "<<< INCLIN. GAUCHE");
|
||||
snprintf(buffer, 21, "<<< INCLIN. GAUCHE");
|
||||
}
|
||||
break;
|
||||
case MOTO_STATE_DANGER:
|
||||
case MOTO_STATE_POSSIBLE_CRASH:
|
||||
snprintf(buffer, 21, "!!! ATTENTION !!!");
|
||||
snprintf(buffer, 21, "!!! ATTENTION !!! ");
|
||||
break;
|
||||
case MOTO_STATE_WHEELIE:
|
||||
snprintf(buffer, 21, "^^^ WHEELIE ^^^");
|
||||
snprintf(buffer, 21, "^^^ WHEELIE ^^^ ");
|
||||
break;
|
||||
case MOTO_STATE_STOPPIE:
|
||||
snprintf(buffer, 21, "vvv STOPPIE vvv");
|
||||
snprintf(buffer, 21, "vvv STOPPIE vvv ");
|
||||
break;
|
||||
case MOTO_STATE_RAPID_TURN:
|
||||
snprintf(buffer, 21, ">>> VIRAGE <<<");
|
||||
snprintf(buffer, 21, ">>> VIRAGE <<< ");
|
||||
break;
|
||||
default:
|
||||
snprintf(buffer, 21, "--- INCONNU ---");
|
||||
snprintf(buffer, 21, "--- INCONNU --- ");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -155,6 +155,74 @@ void HAL_I2C_MspDeInit(I2C_HandleTypeDef* hi2c)
|
|||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief SPI MSP Initialization
|
||||
* This function configures the hardware resources used in this example
|
||||
* @param hspi: SPI handle pointer
|
||||
* @retval None
|
||||
*/
|
||||
void HAL_SPI_MspInit(SPI_HandleTypeDef* hspi)
|
||||
{
|
||||
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
||||
if(hspi->Instance==SPI1)
|
||||
{
|
||||
/* USER CODE BEGIN SPI1_MspInit 0 */
|
||||
|
||||
/* USER CODE END SPI1_MspInit 0 */
|
||||
/* Peripheral clock enable */
|
||||
__HAL_RCC_SPI1_CLK_ENABLE();
|
||||
|
||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
||||
/**SPI1 GPIO Configuration
|
||||
PA1 ------> SPI1_SCK
|
||||
PA11 ------> SPI1_MISO
|
||||
PA12 ------> SPI1_MOSI
|
||||
*/
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_1|GPIO_PIN_11|GPIO_PIN_12;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
||||
GPIO_InitStruct.Alternate = GPIO_AF5_SPI1;
|
||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||
|
||||
/* USER CODE BEGIN SPI1_MspInit 1 */
|
||||
|
||||
/* USER CODE END SPI1_MspInit 1 */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief SPI MSP De-Initialization
|
||||
* This function freeze the hardware resources used in this example
|
||||
* @param hspi: SPI handle pointer
|
||||
* @retval None
|
||||
*/
|
||||
void HAL_SPI_MspDeInit(SPI_HandleTypeDef* hspi)
|
||||
{
|
||||
if(hspi->Instance==SPI1)
|
||||
{
|
||||
/* USER CODE BEGIN SPI1_MspDeInit 0 */
|
||||
|
||||
/* USER CODE END SPI1_MspDeInit 0 */
|
||||
/* Peripheral clock disable */
|
||||
__HAL_RCC_SPI1_CLK_DISABLE();
|
||||
|
||||
/**SPI1 GPIO Configuration
|
||||
PA1 ------> SPI1_SCK
|
||||
PA11 ------> SPI1_MISO
|
||||
PA12 ------> SPI1_MOSI
|
||||
*/
|
||||
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_1|GPIO_PIN_11|GPIO_PIN_12);
|
||||
|
||||
/* USER CODE BEGIN SPI1_MspDeInit 1 */
|
||||
|
||||
/* USER CODE END SPI1_MspDeInit 1 */
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief UART MSP Initialization
|
||||
* This function configures the hardware resources used in this example
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -0,0 +1,63 @@
|
|||
Core/Src/gc9a01.o: ../Core/Src/gc9a01.c ../Core/Inc/gc9a01.h \
|
||||
../Core/Inc/main.h ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h \
|
||||
../Core/Inc/stm32l4xx_hal_conf.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_rcc.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_def.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l4xx.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l452xx.h \
|
||||
../Drivers/CMSIS/Include/core_cm4.h \
|
||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h \
|
||||
../Drivers/CMSIS/Include/mpu_armv7.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/system_stm32l4xx.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_rcc_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_gpio.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_gpio_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_dma.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_cortex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_exti.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash_ramfunc.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Core/Inc/gc9a01.h:
|
||||
../Core/Inc/main.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
../Core/Inc/stm32l4xx_hal_conf.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_rcc.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_def.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l4xx.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l452xx.h:
|
||||
../Drivers/CMSIS/Include/core_cm4.h:
|
||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
||||
../Drivers/CMSIS/Include/mpu_armv7.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/system_stm32l4xx.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_rcc_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_gpio.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_gpio_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_dma.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_cortex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_exti.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash_ramfunc.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
@ -25,6 +25,8 @@ Core/Src/icm20948.o: ../Core/Src/icm20948.c ../Core/Inc/icm20948.h \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Core/Inc/icm20948.h:
|
||||
|
|
@ -54,5 +56,7 @@ Core/Src/icm20948.o: ../Core/Src/icm20948.c ../Core/Inc/icm20948.h \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -25,6 +25,8 @@ Core/Src/lcd_i2c.o: ../Core/Src/lcd_i2c.c ../Core/Inc/lcd_i2c.h \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Core/Inc/lcd_i2c.h:
|
||||
|
|
@ -54,5 +56,7 @@ Core/Src/lcd_i2c.o: ../Core/Src/lcd_i2c.c ../Core/Inc/lcd_i2c.h \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,10 +1,12 @@
|
|||
../Core/Inc/FusionMath.h:136:21:FusionRadiansToDegrees 1
|
||||
../Core/Inc/FusionMath.h:148:21:FusionAsin 3
|
||||
../Core/Inc/FusionMath.h:466:27:FusionQuaternionToEuler 1
|
||||
../Core/Src/main.c:21:5:__io_putchar 1
|
||||
../Core/Src/main.c:29:5:main 10
|
||||
../Core/Src/main.c:179:6:SystemClock_Config 4
|
||||
../Core/Src/main.c:224:13:MX_I2C1_Init 4
|
||||
../Core/Src/main.c:251:13:MX_USART2_UART_Init 2
|
||||
../Core/Src/main.c:269:13:MX_GPIO_Init 1
|
||||
../Core/Src/main.c:312:6:Error_Handler 1
|
||||
../Core/Src/main.c:30:5:__io_putchar 1
|
||||
../Core/Src/main.c:38:5:main 11
|
||||
../Core/Src/main.c:218:6:Update_TFT_Display 26
|
||||
../Core/Src/main.c:369:6:SystemClock_Config 4
|
||||
../Core/Src/main.c:419:13:MX_I2C1_Init 4
|
||||
../Core/Src/main.c:467:13:MX_SPI1_Init 2
|
||||
../Core/Src/main.c:507:13:MX_USART2_UART_Init 2
|
||||
../Core/Src/main.c:542:13:MX_GPIO_Init 1
|
||||
../Core/Src/main.c:610:6:Error_Handler 1
|
||||
|
|
|
|||
|
|
@ -25,11 +25,13 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h \
|
||||
../Core/Inc/lcd_i2c.h ../Core/Inc/icm20948.h ../Core/Inc/FusionAhrs.h \
|
||||
../Core/Inc/FusionConvention.h ../Core/Inc/FusionMath.h \
|
||||
../Core/Inc/moto_config.h
|
||||
../Core/Inc/moto_config.h ../Core/Inc/gc9a01.h ../Core/Inc/main.h
|
||||
../Core/Inc/main.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
../Core/Inc/stm32l4xx_hal_conf.h:
|
||||
|
|
@ -57,6 +59,8 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
../Core/Inc/lcd_i2c.h:
|
||||
|
|
@ -65,3 +69,5 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
|
|||
../Core/Inc/FusionConvention.h:
|
||||
../Core/Inc/FusionMath.h:
|
||||
../Core/Inc/moto_config.h:
|
||||
../Core/Inc/gc9a01.h:
|
||||
../Core/Inc/main.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,10 +1,12 @@
|
|||
../Core/Inc/FusionMath.h:136:21:FusionRadiansToDegrees 16 static
|
||||
../Core/Inc/FusionMath.h:148:21:FusionAsin 16 static
|
||||
../Core/Inc/FusionMath.h:466:27:FusionQuaternionToEuler 72 static
|
||||
../Core/Src/main.c:21:5:__io_putchar 16 static
|
||||
../Core/Src/main.c:29:5:main 328 static
|
||||
../Core/Src/main.c:179:6:SystemClock_Config 96 static
|
||||
../Core/Src/main.c:224:13:MX_I2C1_Init 8 static
|
||||
../Core/Src/main.c:251:13:MX_USART2_UART_Init 8 static
|
||||
../Core/Src/main.c:269:13:MX_GPIO_Init 48 static
|
||||
../Core/Src/main.c:312:6:Error_Handler 4 static,ignoring_inline_asm
|
||||
../Core/Src/main.c:30:5:__io_putchar 16 static
|
||||
../Core/Src/main.c:38:5:main 328 static
|
||||
../Core/Src/main.c:218:6:Update_TFT_Display 136 static
|
||||
../Core/Src/main.c:369:6:SystemClock_Config 96 static
|
||||
../Core/Src/main.c:419:13:MX_I2C1_Init 8 static
|
||||
../Core/Src/main.c:467:13:MX_SPI1_Init 8 static
|
||||
../Core/Src/main.c:507:13:MX_USART2_UART_Init 8 static
|
||||
../Core/Src/main.c:542:13:MX_GPIO_Init 48 static
|
||||
../Core/Src/main.c:610:6:Error_Handler 4 static,ignoring_inline_asm
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,7 @@
|
|||
../Core/Src/stm32l4xx_hal_msp.c:63:6:HAL_MspInit 1
|
||||
../Core/Src/stm32l4xx_hal_msp.c:86:6:HAL_I2C_MspInit 3
|
||||
../Core/Src/stm32l4xx_hal_msp.c:133:6:HAL_I2C_MspDeInit 2
|
||||
../Core/Src/stm32l4xx_hal_msp.c:164:6:HAL_UART_MspInit 3
|
||||
../Core/Src/stm32l4xx_hal_msp.c:212:6:HAL_UART_MspDeInit 2
|
||||
../Core/Src/stm32l4xx_hal_msp.c:164:6:HAL_SPI_MspInit 2
|
||||
../Core/Src/stm32l4xx_hal_msp.c:202:6:HAL_SPI_MspDeInit 2
|
||||
../Core/Src/stm32l4xx_hal_msp.c:232:6:HAL_UART_MspInit 3
|
||||
../Core/Src/stm32l4xx_hal_msp.c:280:6:HAL_UART_MspDeInit 2
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@ Core/Src/stm32l4xx_hal_msp.o: ../Core/Src/stm32l4xx_hal_msp.c \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Core/Inc/main.h:
|
||||
|
|
@ -54,5 +56,7 @@ Core/Src/stm32l4xx_hal_msp.o: ../Core/Src/stm32l4xx_hal_msp.c \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,7 @@
|
|||
../Core/Src/stm32l4xx_hal_msp.c:63:6:HAL_MspInit 16 static
|
||||
../Core/Src/stm32l4xx_hal_msp.c:86:6:HAL_I2C_MspInit 152 static
|
||||
../Core/Src/stm32l4xx_hal_msp.c:133:6:HAL_I2C_MspDeInit 16 static
|
||||
../Core/Src/stm32l4xx_hal_msp.c:164:6:HAL_UART_MspInit 152 static
|
||||
../Core/Src/stm32l4xx_hal_msp.c:212:6:HAL_UART_MspDeInit 16 static
|
||||
../Core/Src/stm32l4xx_hal_msp.c:164:6:HAL_SPI_MspInit 48 static
|
||||
../Core/Src/stm32l4xx_hal_msp.c:202:6:HAL_SPI_MspDeInit 16 static
|
||||
../Core/Src/stm32l4xx_hal_msp.c:232:6:HAL_UART_MspInit 152 static
|
||||
../Core/Src/stm32l4xx_hal_msp.c:280:6:HAL_UART_MspDeInit 16 static
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@ Core/Src/stm32l4xx_it.o: ../Core/Src/stm32l4xx_it.c ../Core/Inc/main.h \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h \
|
||||
../Core/Inc/stm32l4xx_it.h
|
||||
|
|
@ -55,6 +57,8 @@ Core/Src/stm32l4xx_it.o: ../Core/Src/stm32l4xx_it.c ../Core/Inc/main.h \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
../Core/Inc/stm32l4xx_it.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -6,6 +6,7 @@
|
|||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../Core/Src/FusionAhrs.c \
|
||||
../Core/Src/gc9a01.c \
|
||||
../Core/Src/icm20948.c \
|
||||
../Core/Src/lcd_i2c.c \
|
||||
../Core/Src/main.c \
|
||||
|
|
@ -18,6 +19,7 @@ C_SRCS += \
|
|||
|
||||
OBJS += \
|
||||
./Core/Src/FusionAhrs.o \
|
||||
./Core/Src/gc9a01.o \
|
||||
./Core/Src/icm20948.o \
|
||||
./Core/Src/lcd_i2c.o \
|
||||
./Core/Src/main.o \
|
||||
|
|
@ -30,6 +32,7 @@ OBJS += \
|
|||
|
||||
C_DEPS += \
|
||||
./Core/Src/FusionAhrs.d \
|
||||
./Core/Src/gc9a01.d \
|
||||
./Core/Src/icm20948.d \
|
||||
./Core/Src/lcd_i2c.d \
|
||||
./Core/Src/main.d \
|
||||
|
|
@ -48,7 +51,7 @@ Core/Src/%.o Core/Src/%.su Core/Src/%.cyclo: ../Core/Src/%.c Core/Src/subdir.mk
|
|||
clean: clean-Core-2f-Src
|
||||
|
||||
clean-Core-2f-Src:
|
||||
-$(RM) ./Core/Src/FusionAhrs.cyclo ./Core/Src/FusionAhrs.d ./Core/Src/FusionAhrs.o ./Core/Src/FusionAhrs.su ./Core/Src/icm20948.cyclo ./Core/Src/icm20948.d ./Core/Src/icm20948.o ./Core/Src/icm20948.su ./Core/Src/lcd_i2c.cyclo ./Core/Src/lcd_i2c.d ./Core/Src/lcd_i2c.o ./Core/Src/lcd_i2c.su ./Core/Src/main.cyclo ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/moto_config.cyclo ./Core/Src/moto_config.d ./Core/Src/moto_config.o ./Core/Src/moto_config.su ./Core/Src/stm32l4xx_hal_msp.cyclo ./Core/Src/stm32l4xx_hal_msp.d ./Core/Src/stm32l4xx_hal_msp.o ./Core/Src/stm32l4xx_hal_msp.su ./Core/Src/stm32l4xx_it.cyclo ./Core/Src/stm32l4xx_it.d ./Core/Src/stm32l4xx_it.o ./Core/Src/stm32l4xx_it.su ./Core/Src/syscalls.cyclo ./Core/Src/syscalls.d ./Core/Src/syscalls.o ./Core/Src/syscalls.su ./Core/Src/sysmem.cyclo ./Core/Src/sysmem.d ./Core/Src/sysmem.o ./Core/Src/sysmem.su ./Core/Src/system_stm32l4xx.cyclo ./Core/Src/system_stm32l4xx.d ./Core/Src/system_stm32l4xx.o ./Core/Src/system_stm32l4xx.su
|
||||
-$(RM) ./Core/Src/FusionAhrs.cyclo ./Core/Src/FusionAhrs.d ./Core/Src/FusionAhrs.o ./Core/Src/FusionAhrs.su ./Core/Src/gc9a01.cyclo ./Core/Src/gc9a01.d ./Core/Src/gc9a01.o ./Core/Src/gc9a01.su ./Core/Src/icm20948.cyclo ./Core/Src/icm20948.d ./Core/Src/icm20948.o ./Core/Src/icm20948.su ./Core/Src/lcd_i2c.cyclo ./Core/Src/lcd_i2c.d ./Core/Src/lcd_i2c.o ./Core/Src/lcd_i2c.su ./Core/Src/main.cyclo ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/moto_config.cyclo ./Core/Src/moto_config.d ./Core/Src/moto_config.o ./Core/Src/moto_config.su ./Core/Src/stm32l4xx_hal_msp.cyclo ./Core/Src/stm32l4xx_hal_msp.d ./Core/Src/stm32l4xx_hal_msp.o ./Core/Src/stm32l4xx_hal_msp.su ./Core/Src/stm32l4xx_it.cyclo ./Core/Src/stm32l4xx_it.d ./Core/Src/stm32l4xx_it.o ./Core/Src/stm32l4xx_it.su ./Core/Src/syscalls.cyclo ./Core/Src/syscalls.d ./Core/Src/syscalls.o ./Core/Src/syscalls.su ./Core/Src/sysmem.cyclo ./Core/Src/sysmem.d ./Core/Src/sysmem.o ./Core/Src/sysmem.su ./Core/Src/system_stm32l4xx.cyclo ./Core/Src/system_stm32l4xx.d ./Core/Src/system_stm32l4xx.o ./Core/Src/system_stm32l4xx.su
|
||||
|
||||
.PHONY: clean-Core-2f-Src
|
||||
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -25,6 +25,8 @@ Core/Src/system_stm32l4xx.o: ../Core/Src/system_stm32l4xx.c \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l4xx.h:
|
||||
|
|
@ -53,5 +55,7 @@ Core/Src/system_stm32l4xx.o: ../Core/Src/system_stm32l4xx.c \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -26,6 +26,8 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
|
|
@ -54,5 +56,7 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -26,6 +26,8 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
|
|
@ -54,5 +56,7 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -26,6 +26,8 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
|
|
@ -54,5 +56,7 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -26,6 +26,8 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma_ex.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
|
|
@ -54,5 +56,7 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma_ex.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -26,6 +26,8 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_exti.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
|
|
@ -54,5 +56,7 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_exti.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -26,6 +26,8 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
|
|
@ -54,5 +56,7 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -26,6 +26,8 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
|
|
@ -54,5 +56,7 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -26,6 +26,8 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
|
|
@ -54,5 +56,7 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -26,6 +26,8 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
|
|
@ -54,5 +56,7 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -26,6 +26,8 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
|
|
@ -54,5 +56,7 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -26,6 +26,8 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
|
|
@ -54,5 +56,7 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -26,6 +26,8 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
|
|
@ -54,5 +56,7 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -26,6 +26,8 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
|
|
@ -54,5 +56,7 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -26,6 +26,8 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
|
|
@ -54,5 +56,7 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -26,6 +26,8 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
|
|
@ -54,5 +56,7 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -0,0 +1,56 @@
|
|||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:316:19:HAL_SPI_Init 8
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:491:19:HAL_SPI_DeInit 2
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:535:13:HAL_SPI_MspInit 1
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:551:13:HAL_SPI_MspDeInit 1
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:823:19:HAL_SPI_Transmit 27
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:1009:19:HAL_SPI_Receive 23
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:1252:19:HAL_SPI_TransmitReceive 43
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:1600:19:HAL_SPI_Transmit_IT 8
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:1682:19:HAL_SPI_Receive_IT 10
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:1786:19:HAL_SPI_TransmitReceive_IT 14
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:1894:19:HAL_SPI_Transmit_DMA 11
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2015:19:HAL_SPI_Receive_DMA 13
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2155:19:HAL_SPI_TransmitReceive_DMA 19
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2344:19:HAL_SPI_Abort 18
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2506:19:HAL_SPI_Abort_IT 19
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2667:19:HAL_SPI_DMAPause 2
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2687:19:HAL_SPI_DMAResume 2
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2707:19:HAL_SPI_DMAStop 5
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2749:6:HAL_SPI_IRQHandler 21
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2856:13:HAL_SPI_TxCpltCallback 1
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2872:13:HAL_SPI_RxCpltCallback 1
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2888:13:HAL_SPI_TxRxCpltCallback 1
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2904:13:HAL_SPI_TxHalfCpltCallback 1
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2920:13:HAL_SPI_RxHalfCpltCallback 1
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2936:13:HAL_SPI_TxRxHalfCpltCallback 1
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2952:13:HAL_SPI_ErrorCallback 1
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2970:13:HAL_SPI_AbortCpltCallback 1
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3005:22:HAL_SPI_GetState 1
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3017:10:HAL_SPI_GetError 1
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3042:13:SPI_DMATransmitCplt 5
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3099:13:SPI_DMAReceiveCplt 6
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3216:13:SPI_DMATransmitReceiveCplt 4
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3317:13:SPI_DMAHalfTransmitCplt 1
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3335:13:SPI_DMAHalfReceiveCplt 1
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3353:13:SPI_DMAHalfTransmitReceiveCplt 1
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3371:13:SPI_DMAError 1
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3394:13:SPI_DMAAbortOnError 1
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3416:13:SPI_DMATxAbortCallback 6
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3483:13:SPI_DMARxAbortCallback 6
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3549:13:SPI_2linesRxISR_8BIT 5
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3634:13:SPI_2linesTxISR_8BIT 4
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3681:13:SPI_2linesRxISR_16BIT 3
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3737:13:SPI_2linesTxISR_16BIT 3
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3802:13:SPI_RxISR_8BIT 2
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3858:13:SPI_RxISR_16BIT 2
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3891:13:SPI_TxISR_8BIT 2
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3916:13:SPI_TxISR_16BIT 2
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3946:26:SPI_WaitFlagStateUntilTimeout 10
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:4015:26:SPI_WaitFifoStateUntilTimeout 12
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:4095:26:SPI_EndRxTransaction 9
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:4131:26:SPI_EndRxTxTransaction 4
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:4163:13:SPI_CloseRxTx_ISR 4
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:4240:13:SPI_CloseRx_ISR 3
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:4297:13:SPI_CloseTx_ISR 4
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:4346:13:SPI_AbortRx_ISR 5
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:4391:13:SPI_AbortTx_ISR 10
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.o: \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h \
|
||||
../Core/Inc/stm32l4xx_hal_conf.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_rcc.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_def.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l4xx.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l452xx.h \
|
||||
../Drivers/CMSIS/Include/core_cm4.h \
|
||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h \
|
||||
../Drivers/CMSIS/Include/mpu_armv7.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/system_stm32l4xx.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_rcc_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_gpio.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_gpio_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_dma.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_cortex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_exti.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash_ramfunc.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
../Core/Inc/stm32l4xx_hal_conf.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_rcc.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_def.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l4xx.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l452xx.h:
|
||||
../Drivers/CMSIS/Include/core_cm4.h:
|
||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
||||
../Drivers/CMSIS/Include/mpu_armv7.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/system_stm32l4xx.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_rcc_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_gpio.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_gpio_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_dma.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_cortex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_exti.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash_ramfunc.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
Binary file not shown.
|
|
@ -0,0 +1,56 @@
|
|||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:316:19:HAL_SPI_Init 24 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:491:19:HAL_SPI_DeInit 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:535:13:HAL_SPI_MspInit 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:551:13:HAL_SPI_MspDeInit 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:823:19:HAL_SPI_Transmit 40 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:1009:19:HAL_SPI_Receive 40 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:1252:19:HAL_SPI_TransmitReceive 48 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:1600:19:HAL_SPI_Transmit_IT 24 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:1682:19:HAL_SPI_Receive_IT 24 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:1786:19:HAL_SPI_TransmitReceive_IT 32 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:1894:19:HAL_SPI_Transmit_DMA 24 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2015:19:HAL_SPI_Receive_DMA 24 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2155:19:HAL_SPI_TransmitReceive_DMA 32 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2344:19:HAL_SPI_Abort 48 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2506:19:HAL_SPI_Abort_IT 40 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2667:19:HAL_SPI_DMAPause 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2687:19:HAL_SPI_DMAResume 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2707:19:HAL_SPI_DMAStop 24 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2749:6:HAL_SPI_IRQHandler 40 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2856:13:HAL_SPI_TxCpltCallback 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2872:13:HAL_SPI_RxCpltCallback 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2888:13:HAL_SPI_TxRxCpltCallback 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2904:13:HAL_SPI_TxHalfCpltCallback 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2920:13:HAL_SPI_RxHalfCpltCallback 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2936:13:HAL_SPI_TxRxHalfCpltCallback 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2952:13:HAL_SPI_ErrorCallback 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:2970:13:HAL_SPI_AbortCpltCallback 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3005:22:HAL_SPI_GetState 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3017:10:HAL_SPI_GetError 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3042:13:SPI_DMATransmitCplt 32 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3099:13:SPI_DMAReceiveCplt 24 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3216:13:SPI_DMATransmitReceiveCplt 24 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3317:13:SPI_DMAHalfTransmitCplt 24 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3335:13:SPI_DMAHalfReceiveCplt 24 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3353:13:SPI_DMAHalfTransmitReceiveCplt 24 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3371:13:SPI_DMAError 24 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3394:13:SPI_DMAAbortOnError 24 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3416:13:SPI_DMATxAbortCallback 40 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3483:13:SPI_DMARxAbortCallback 40 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3549:13:SPI_2linesRxISR_8BIT 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3634:13:SPI_2linesTxISR_8BIT 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3681:13:SPI_2linesRxISR_16BIT 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3737:13:SPI_2linesTxISR_16BIT 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3802:13:SPI_RxISR_8BIT 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3858:13:SPI_RxISR_16BIT 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3891:13:SPI_TxISR_8BIT 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3916:13:SPI_TxISR_16BIT 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:3946:26:SPI_WaitFlagStateUntilTimeout 40 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:4015:26:SPI_WaitFifoStateUntilTimeout 48 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:4095:26:SPI_EndRxTransaction 32 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:4131:26:SPI_EndRxTxTransaction 32 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:4163:13:SPI_CloseRxTx_ISR 24 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:4240:13:SPI_CloseRx_ISR 16 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:4297:13:SPI_CloseTx_ISR 24 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:4346:13:SPI_AbortRx_ISR 32 static
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c:4391:13:SPI_AbortTx_ISR 32 static
|
||||
|
|
@ -0,0 +1 @@
|
|||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.c:79:19:HAL_SPIEx_FlushRxFifo 3
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.o: \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.c \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h \
|
||||
../Core/Inc/stm32l4xx_hal_conf.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_rcc.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_def.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l4xx.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l452xx.h \
|
||||
../Drivers/CMSIS/Include/core_cm4.h \
|
||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h \
|
||||
../Drivers/CMSIS/Include/mpu_armv7.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/system_stm32l4xx.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_rcc_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_gpio.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_gpio_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_dma.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_cortex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_exti.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash_ramfunc.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
../Core/Inc/stm32l4xx_hal_conf.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_rcc.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_def.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l4xx.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l452xx.h:
|
||||
../Drivers/CMSIS/Include/core_cm4.h:
|
||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
||||
../Drivers/CMSIS/Include/mpu_armv7.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32L4xx/Include/system_stm32l4xx.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_rcc_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_gpio.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_gpio_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_dma.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_cortex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_exti.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash_ramfunc.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.c:79:19:HAL_SPIEx_FlushRxFifo 24 static
|
||||
|
|
@ -26,6 +26,8 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
|
|
@ -54,5 +56,7 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -26,6 +26,8 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:
|
||||
|
|
@ -54,5 +56,7 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.o: \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi_ex.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:
|
||||
../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart_ex.h:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -20,6 +20,8 @@ C_SRCS += \
|
|||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.c \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.c \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.c \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.c \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.c \
|
||||
../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.c
|
||||
|
||||
|
|
@ -39,6 +41,8 @@ OBJS += \
|
|||
./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.o \
|
||||
./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.o \
|
||||
./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.o \
|
||||
./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.o \
|
||||
./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.o \
|
||||
./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.o \
|
||||
./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.o
|
||||
|
||||
|
|
@ -58,6 +62,8 @@ C_DEPS += \
|
|||
./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.d \
|
||||
./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.d \
|
||||
./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.d \
|
||||
./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.d \
|
||||
./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.d \
|
||||
./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.d \
|
||||
./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.d
|
||||
|
||||
|
|
@ -69,7 +75,7 @@ Drivers/STM32L4xx_HAL_Driver/Src/%.o Drivers/STM32L4xx_HAL_Driver/Src/%.su Drive
|
|||
clean: clean-Drivers-2f-STM32L4xx_HAL_Driver-2f-Src
|
||||
|
||||
clean-Drivers-2f-STM32L4xx_HAL_Driver-2f-Src:
|
||||
-$(RM) ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma_ex.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma_ex.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma_ex.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma_ex.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_exti.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_exti.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_exti.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_exti.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.su
|
||||
-$(RM) ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma_ex.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma_ex.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma_ex.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma_ex.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_exti.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_exti.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_exti.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_exti.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.su ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.cyclo ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.o ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.su
|
||||
|
||||
.PHONY: clean-Drivers-2f-STM32L4xx_HAL_Driver-2f-Src
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -7,23 +7,23 @@ Idx Name Size VMA LMA File off Algn
|
|||
CONTENTS, ALLOC, LOAD, READONLY, DATA
|
||||
1 .text 0000b58c 080001a0 080001a0 000011a0 2**4
|
||||
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
||||
2 .rodata 000009a4 0800b730 0800b730 0000c730 2**3
|
||||
2 .rodata 000009ec 0800b730 0800b730 0000c730 2**3
|
||||
CONTENTS, ALLOC, LOAD, READONLY, DATA
|
||||
3 .ARM.extab 00000000 0800c0d4 0800c0d4 0000e1d4 2**0
|
||||
3 .ARM.extab 00000000 0800c11c 0800c11c 0000e1d4 2**0
|
||||
CONTENTS, READONLY
|
||||
4 .ARM 00000008 0800c0d4 0800c0d4 0000d0d4 2**2
|
||||
4 .ARM 00000008 0800c11c 0800c11c 0000d11c 2**2
|
||||
CONTENTS, ALLOC, LOAD, READONLY, DATA
|
||||
5 .preinit_array 00000000 0800c0dc 0800c0dc 0000e1d4 2**0
|
||||
5 .preinit_array 00000000 0800c124 0800c124 0000e1d4 2**0
|
||||
CONTENTS, ALLOC, LOAD, DATA
|
||||
6 .init_array 00000004 0800c0dc 0800c0dc 0000d0dc 2**2
|
||||
6 .init_array 00000004 0800c124 0800c124 0000d124 2**2
|
||||
CONTENTS, ALLOC, LOAD, READONLY, DATA
|
||||
7 .fini_array 00000004 0800c0e0 0800c0e0 0000d0e0 2**2
|
||||
7 .fini_array 00000004 0800c128 0800c128 0000d128 2**2
|
||||
CONTENTS, ALLOC, LOAD, READONLY, DATA
|
||||
8 .data 000001d4 20000000 0800c0e4 0000e000 2**2
|
||||
8 .data 000001d4 20000000 0800c12c 0000e000 2**2
|
||||
CONTENTS, ALLOC, LOAD, DATA
|
||||
9 .bss 0000031c 200001d4 0800c2b8 0000e1d4 2**2
|
||||
9 .bss 0000031c 200001d4 0800c300 0000e1d4 2**2
|
||||
ALLOC
|
||||
10 ._user_heap_stack 00000c00 200004f0 0800c2b8 0000e4f0 2**0
|
||||
10 ._user_heap_stack 00000c00 200004f0 0800c300 0000e4f0 2**0
|
||||
ALLOC
|
||||
11 .ARM.attributes 00000030 00000000 00000000 0000e1d4 2**0
|
||||
CONTENTS, READONLY
|
||||
|
|
@ -39,13 +39,13 @@ Idx Name Size VMA LMA File off Algn
|
|||
CONTENTS, READONLY, DEBUGGING, OCTETS
|
||||
17 .debug_line 00012411 00000000 00000000 00046c1c 2**0
|
||||
CONTENTS, READONLY, DEBUGGING, OCTETS
|
||||
18 .debug_str 000d3fc4 00000000 00000000 0005902d 2**0
|
||||
18 .debug_str 000d3ffc 00000000 00000000 0005902d 2**0
|
||||
CONTENTS, READONLY, DEBUGGING, OCTETS
|
||||
19 .comment 00000043 00000000 00000000 0012cff1 2**0
|
||||
19 .comment 00000043 00000000 00000000 0012d029 2**0
|
||||
CONTENTS, READONLY
|
||||
20 .debug_frame 00005328 00000000 00000000 0012d034 2**2
|
||||
20 .debug_frame 00005328 00000000 00000000 0012d06c 2**2
|
||||
CONTENTS, READONLY, DEBUGGING, OCTETS
|
||||
21 .debug_line_str 00000063 00000000 00000000 0013235c 2**0
|
||||
21 .debug_line_str 00000063 00000000 00000000 00132394 2**0
|
||||
CONTENTS, READONLY, DEBUGGING, OCTETS
|
||||
|
||||
Disassembly of section .text:
|
||||
|
|
@ -4432,6 +4432,11 @@ void lcd_send(uint8_t data, uint8_t mode) {
|
|||
8002d08: 200001f0 .word 0x200001f0
|
||||
|
||||
08002d0c <FusionRadiansToDegrees>:
|
||||
/**
|
||||
* @brief Converts radians to degrees.
|
||||
* @param radians Radians.
|
||||
* @return Degrees.
|
||||
*/
|
||||
static inline float FusionRadiansToDegrees(const float radians) {
|
||||
8002d0c: b480 push {r7}
|
||||
8002d0e: b083 sub sp, #12
|
||||
|
|
@ -4450,6 +4455,11 @@ static inline float FusionRadiansToDegrees(const float radians) {
|
|||
8002d30: 42652ee0 .word 0x42652ee0
|
||||
|
||||
08002d34 <FusionAsin>:
|
||||
/**
|
||||
* @brief Returns the arc sine of the value.
|
||||
* @param value Value.
|
||||
* @return Arc sine of the value.
|
||||
*/
|
||||
static inline float FusionAsin(const float value) {
|
||||
8002d34: b580 push {r7, lr}
|
||||
8002d36: b082 sub sp, #8
|
||||
|
|
@ -4464,6 +4474,7 @@ static inline float FusionAsin(const float value) {
|
|||
return (float) M_PI / -2.0f;
|
||||
8002d50: eddf 7a0c vldr s15, [pc, #48] @ 8002d84 <FusionAsin+0x50>
|
||||
8002d54: e011 b.n 8002d7a <FusionAsin+0x46>
|
||||
}
|
||||
if (value >= 1.0f) {
|
||||
8002d56: edd7 7a01 vldr s15, [r7, #4]
|
||||
8002d5a: eeb7 7a00 vmov.f32 s14, #112 @ 0x3f800000 1.0
|
||||
|
|
@ -4473,6 +4484,7 @@ static inline float FusionAsin(const float value) {
|
|||
return (float) M_PI / 2.0f;
|
||||
8002d68: eddf 7a07 vldr s15, [pc, #28] @ 8002d88 <FusionAsin+0x54>
|
||||
8002d6c: e005 b.n 8002d7a <FusionAsin+0x46>
|
||||
}
|
||||
return asinf(value);
|
||||
8002d6e: ed97 0a01 vldr s0, [r7, #4]
|
||||
8002d72: f007 f99b bl 800a0ac <asinf>
|
||||
|
|
@ -5148,8 +5160,8 @@ int main(void) {
|
|||
}
|
||||
|
||||
// Petite pause pour éviter la surcharge du processeur
|
||||
HAL_Delay(20);
|
||||
80033a0: 2014 movs r0, #20
|
||||
HAL_Delay(10);
|
||||
80033a0: 200a movs r0, #10
|
||||
80033a2: f000 fec7 bl 8004134 <HAL_Delay>
|
||||
while (1) {
|
||||
80033a6: e5e9 b.n 8002f7c <main+0x80>
|
||||
|
|
@ -5864,22 +5876,22 @@ const char* Moto_GetStateString(MotoState_t state) {
|
|||
800386c: 08003889 .word 0x08003889
|
||||
8003870: 0800388d .word 0x0800388d
|
||||
8003874: 08003891 .word 0x08003891
|
||||
case MOTO_STATE_NORMAL: return "NORMAL";
|
||||
case MOTO_STATE_NORMAL: return "NORMAL ";
|
||||
8003878: 4b0a ldr r3, [pc, #40] @ (80038a4 <Moto_GetStateString+0x60>)
|
||||
800387a: e00c b.n 8003896 <Moto_GetStateString+0x52>
|
||||
case MOTO_STATE_WARNING: return "ATTENTION";
|
||||
case MOTO_STATE_WARNING: return "ATTENTION ";
|
||||
800387c: 4b0a ldr r3, [pc, #40] @ (80038a8 <Moto_GetStateString+0x64>)
|
||||
800387e: e00a b.n 8003896 <Moto_GetStateString+0x52>
|
||||
case MOTO_STATE_DANGER: return "DANGER";
|
||||
case MOTO_STATE_DANGER: return "DANGER ";
|
||||
8003880: 4b0a ldr r3, [pc, #40] @ (80038ac <Moto_GetStateString+0x68>)
|
||||
8003882: e008 b.n 8003896 <Moto_GetStateString+0x52>
|
||||
case MOTO_STATE_WHEELIE: return "WHEELIE";
|
||||
case MOTO_STATE_WHEELIE: return "WHEELIE ";
|
||||
8003884: 4b0a ldr r3, [pc, #40] @ (80038b0 <Moto_GetStateString+0x6c>)
|
||||
8003886: e006 b.n 8003896 <Moto_GetStateString+0x52>
|
||||
case MOTO_STATE_STOPPIE: return "STOPPIE";
|
||||
case MOTO_STATE_STOPPIE: return "STOPPIE ";
|
||||
8003888: 4b0a ldr r3, [pc, #40] @ (80038b4 <Moto_GetStateString+0x70>)
|
||||
800388a: e004 b.n 8003896 <Moto_GetStateString+0x52>
|
||||
case MOTO_STATE_RAPID_TURN: return "VIRAGE RAPIDE";
|
||||
case MOTO_STATE_RAPID_TURN: return "VIRAGE RAPIDE ";
|
||||
800388c: 4b0a ldr r3, [pc, #40] @ (80038b8 <Moto_GetStateString+0x74>)
|
||||
800388e: e002 b.n 8003896 <Moto_GetStateString+0x52>
|
||||
case MOTO_STATE_POSSIBLE_CRASH: return "CHUTE POSSIBLE";
|
||||
|
|
@ -5896,13 +5908,13 @@ const char* Moto_GetStateString(MotoState_t state) {
|
|||
80038a0: 4770 bx lr
|
||||
80038a2: bf00 nop
|
||||
80038a4: 0800b7bc .word 0x0800b7bc
|
||||
80038a8: 0800b7c4 .word 0x0800b7c4
|
||||
80038ac: 0800b7d0 .word 0x0800b7d0
|
||||
80038b0: 0800b7d8 .word 0x0800b7d8
|
||||
80038b4: 0800b7e0 .word 0x0800b7e0
|
||||
80038b8: 0800b7e8 .word 0x0800b7e8
|
||||
80038bc: 0800b7f8 .word 0x0800b7f8
|
||||
80038c0: 0800b808 .word 0x0800b808
|
||||
80038a8: 0800b7cc .word 0x0800b7cc
|
||||
80038ac: 0800b7dc .word 0x0800b7dc
|
||||
80038b0: 0800b7ec .word 0x0800b7ec
|
||||
80038b4: 0800b7fc .word 0x0800b7fc
|
||||
80038b8: 0800b80c .word 0x0800b80c
|
||||
80038bc: 0800b81c .word 0x0800b81c
|
||||
80038c0: 0800b82c .word 0x0800b82c
|
||||
|
||||
080038c4 <Moto_UpdateStats>:
|
||||
|
||||
|
|
@ -6220,13 +6232,13 @@ void Moto_FormatDisplay(const MotoData_t *data, int line, char *buffer) {
|
|||
8003b24: 7e5b ldrb r3, [r3, #25]
|
||||
8003b26: 2b00 cmp r3, #0
|
||||
8003b28: d005 beq.n 8003b36 <Moto_FormatDisplay+0xa6>
|
||||
snprintf(buffer, 21, "--- INIT EN COURS ---");
|
||||
snprintf(buffer, 21, "---- INIT EN COURS ----");
|
||||
8003b2a: 4a32 ldr r2, [pc, #200] @ (8003bf4 <Moto_FormatDisplay+0x164>)
|
||||
8003b2c: 2115 movs r1, #21
|
||||
8003b2e: 6878 ldr r0, [r7, #4]
|
||||
8003b30: f004 f974 bl 8007e1c <sniprintf>
|
||||
default:
|
||||
snprintf(buffer, 21, "--- INCONNU ---");
|
||||
snprintf(buffer, 21, "--- INCONNU --- ");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
@ -6246,7 +6258,7 @@ void Moto_FormatDisplay(const MotoData_t *data, int line, char *buffer) {
|
|||
8003b54: 08003bad .word 0x08003bad
|
||||
8003b58: 08003bb9 .word 0x08003bb9
|
||||
8003b5c: 08003b95 .word 0x08003b95
|
||||
snprintf(buffer, 21, "--- EQUILIBRE ---");
|
||||
snprintf(buffer, 21, "---- EQUILIBRE ----");
|
||||
8003b60: 4a25 ldr r2, [pc, #148] @ (8003bf8 <Moto_FormatDisplay+0x168>)
|
||||
8003b62: 2115 movs r1, #21
|
||||
8003b64: 6878 ldr r0, [r7, #4]
|
||||
|
|
@ -6259,49 +6271,49 @@ void Moto_FormatDisplay(const MotoData_t *data, int line, char *buffer) {
|
|||
8003b72: eef5 7ac0 vcmpe.f32 s15, #0.0
|
||||
8003b76: eef1 fa10 vmrs APSR_nzcv, fpscr
|
||||
8003b7a: dd05 ble.n 8003b88 <Moto_FormatDisplay+0xf8>
|
||||
snprintf(buffer, 21, "INCLIN. DROITE >>>");
|
||||
snprintf(buffer, 21, "INCLIN. DROITE >>>");
|
||||
8003b7c: 4a1f ldr r2, [pc, #124] @ (8003bfc <Moto_FormatDisplay+0x16c>)
|
||||
8003b7e: 2115 movs r1, #21
|
||||
8003b80: 6878 ldr r0, [r7, #4]
|
||||
8003b82: f004 f94b bl 8007e1c <sniprintf>
|
||||
break;
|
||||
8003b86: e023 b.n 8003bd0 <Moto_FormatDisplay+0x140>
|
||||
snprintf(buffer, 21, "<<< INCLIN. GAUCHE");
|
||||
snprintf(buffer, 21, "<<< INCLIN. GAUCHE");
|
||||
8003b88: 4a1d ldr r2, [pc, #116] @ (8003c00 <Moto_FormatDisplay+0x170>)
|
||||
8003b8a: 2115 movs r1, #21
|
||||
8003b8c: 6878 ldr r0, [r7, #4]
|
||||
8003b8e: f004 f945 bl 8007e1c <sniprintf>
|
||||
break;
|
||||
8003b92: e01d b.n 8003bd0 <Moto_FormatDisplay+0x140>
|
||||
snprintf(buffer, 21, "!!! ATTENTION !!!");
|
||||
snprintf(buffer, 21, "!!! ATTENTION !!! ");
|
||||
8003b94: 4a1b ldr r2, [pc, #108] @ (8003c04 <Moto_FormatDisplay+0x174>)
|
||||
8003b96: 2115 movs r1, #21
|
||||
8003b98: 6878 ldr r0, [r7, #4]
|
||||
8003b9a: f004 f93f bl 8007e1c <sniprintf>
|
||||
break;
|
||||
8003b9e: e017 b.n 8003bd0 <Moto_FormatDisplay+0x140>
|
||||
snprintf(buffer, 21, "^^^ WHEELIE ^^^");
|
||||
snprintf(buffer, 21, "^^^ WHEELIE ^^^ ");
|
||||
8003ba0: 4a19 ldr r2, [pc, #100] @ (8003c08 <Moto_FormatDisplay+0x178>)
|
||||
8003ba2: 2115 movs r1, #21
|
||||
8003ba4: 6878 ldr r0, [r7, #4]
|
||||
8003ba6: f004 f939 bl 8007e1c <sniprintf>
|
||||
break;
|
||||
8003baa: e011 b.n 8003bd0 <Moto_FormatDisplay+0x140>
|
||||
snprintf(buffer, 21, "vvv STOPPIE vvv");
|
||||
snprintf(buffer, 21, "vvv STOPPIE vvv ");
|
||||
8003bac: 4a17 ldr r2, [pc, #92] @ (8003c0c <Moto_FormatDisplay+0x17c>)
|
||||
8003bae: 2115 movs r1, #21
|
||||
8003bb0: 6878 ldr r0, [r7, #4]
|
||||
8003bb2: f004 f933 bl 8007e1c <sniprintf>
|
||||
break;
|
||||
8003bb6: e00b b.n 8003bd0 <Moto_FormatDisplay+0x140>
|
||||
snprintf(buffer, 21, ">>> VIRAGE <<<");
|
||||
snprintf(buffer, 21, ">>> VIRAGE <<< ");
|
||||
8003bb8: 4a15 ldr r2, [pc, #84] @ (8003c10 <Moto_FormatDisplay+0x180>)
|
||||
8003bba: 2115 movs r1, #21
|
||||
8003bbc: 6878 ldr r0, [r7, #4]
|
||||
8003bbe: f004 f92d bl 8007e1c <sniprintf>
|
||||
break;
|
||||
8003bc2: e005 b.n 8003bd0 <Moto_FormatDisplay+0x140>
|
||||
snprintf(buffer, 21, "--- INCONNU ---");
|
||||
snprintf(buffer, 21, "--- INCONNU --- ");
|
||||
8003bc4: 4a13 ldr r2, [pc, #76] @ (8003c14 <Moto_FormatDisplay+0x184>)
|
||||
8003bc6: 2115 movs r1, #21
|
||||
8003bc8: 6878 ldr r0, [r7, #4]
|
||||
|
|
@ -6326,19 +6338,19 @@ void Moto_FormatDisplay(const MotoData_t *data, int line, char *buffer) {
|
|||
8003be2: 46bd mov sp, r7
|
||||
8003be4: bdb0 pop {r4, r5, r7, pc}
|
||||
8003be6: bf00 nop
|
||||
8003be8: 0800b810 .word 0x0800b810
|
||||
8003bec: 0800b820 .word 0x0800b820
|
||||
8003bf0: 0800b830 .word 0x0800b830
|
||||
8003bf4: 0800b83c .word 0x0800b83c
|
||||
8003bf8: 0800b854 .word 0x0800b854
|
||||
8003bfc: 0800b868 .word 0x0800b868
|
||||
8003c00: 0800b87c .word 0x0800b87c
|
||||
8003c04: 0800b890 .word 0x0800b890
|
||||
8003c08: 0800b8a4 .word 0x0800b8a4
|
||||
8003c0c: 0800b8b4 .word 0x0800b8b4
|
||||
8003c10: 0800b8c4 .word 0x0800b8c4
|
||||
8003c14: 0800b8d4 .word 0x0800b8d4
|
||||
8003c18: 0800b8e4 .word 0x0800b8e4
|
||||
8003be8: 0800b834 .word 0x0800b834
|
||||
8003bec: 0800b844 .word 0x0800b844
|
||||
8003bf0: 0800b854 .word 0x0800b854
|
||||
8003bf4: 0800b860 .word 0x0800b860
|
||||
8003bf8: 0800b878 .word 0x0800b878
|
||||
8003bfc: 0800b88c .word 0x0800b88c
|
||||
8003c00: 0800b8a0 .word 0x0800b8a0
|
||||
8003c04: 0800b8b4 .word 0x0800b8b4
|
||||
8003c08: 0800b8cc .word 0x0800b8cc
|
||||
8003c0c: 0800b8e4 .word 0x0800b8e4
|
||||
8003c10: 0800b8fc .word 0x0800b8fc
|
||||
8003c14: 0800b914 .word 0x0800b914
|
||||
8003c18: 0800b92c .word 0x0800b92c
|
||||
|
||||
08003c1c <HAL_MspInit>:
|
||||
/* USER CODE END 0 */
|
||||
|
|
@ -7213,7 +7225,7 @@ LoopForever:
|
|||
ldr r1, =_edata
|
||||
8004028: 200001d4 .word 0x200001d4
|
||||
ldr r2, =_sidata
|
||||
800402c: 0800c0e4 .word 0x0800c0e4
|
||||
800402c: 0800c12c .word 0x0800c12c
|
||||
ldr r2, =_sbss
|
||||
8004030: 200001d4 .word 0x200001d4
|
||||
ldr r4, =_ebss
|
||||
|
|
@ -11468,7 +11480,7 @@ HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct)
|
|||
8005818: 6013 str r3, [r2, #0]
|
||||
800581a: e013 b.n 8005844 <HAL_RCC_OscConfig+0x298>
|
||||
800581c: 40021000 .word 0x40021000
|
||||
8005820: 0800b8f4 .word 0x0800b8f4
|
||||
8005820: 0800b93c .word 0x0800b93c
|
||||
8005824: 20000000 .word 0x20000000
|
||||
8005828: 20000004 .word 0x20000004
|
||||
800582c: 4ba0 ldr r3, [pc, #640] @ (8005ab0 <HAL_RCC_OscConfig+0x504>)
|
||||
|
|
@ -12858,7 +12870,7 @@ HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, ui
|
|||
8005fbe: bd80 pop {r7, pc}
|
||||
8005fc0: 40022000 .word 0x40022000
|
||||
8005fc4: 40021000 .word 0x40021000
|
||||
8005fc8: 0800b8f4 .word 0x0800b8f4
|
||||
8005fc8: 0800b93c .word 0x0800b93c
|
||||
8005fcc: 20000000 .word 0x20000000
|
||||
8005fd0: 20000004 .word 0x20000004
|
||||
|
||||
|
|
@ -13063,7 +13075,7 @@ uint32_t HAL_RCC_GetSysClockFreq(void)
|
|||
80060d8: 4770 bx lr
|
||||
80060da: bf00 nop
|
||||
80060dc: 40021000 .word 0x40021000
|
||||
80060e0: 0800b90c .word 0x0800b90c
|
||||
80060e0: 0800b954 .word 0x0800b954
|
||||
80060e4: 00f42400 .word 0x00f42400
|
||||
80060e8: 007a1200 .word 0x007a1200
|
||||
|
||||
|
|
@ -13112,7 +13124,7 @@ uint32_t HAL_RCC_GetPCLK1Freq(void)
|
|||
8006124: 4618 mov r0, r3
|
||||
8006126: bd80 pop {r7, pc}
|
||||
8006128: 40021000 .word 0x40021000
|
||||
800612c: 0800b904 .word 0x0800b904
|
||||
800612c: 0800b94c .word 0x0800b94c
|
||||
|
||||
08006130 <HAL_RCC_GetPCLK2Freq>:
|
||||
* @note Each time PCLK2 changes, this function must be called to update the
|
||||
|
|
@ -13139,7 +13151,7 @@ uint32_t HAL_RCC_GetPCLK2Freq(void)
|
|||
8006150: 4618 mov r0, r3
|
||||
8006152: bd80 pop {r7, pc}
|
||||
8006154: 40021000 .word 0x40021000
|
||||
8006158: 0800b904 .word 0x0800b904
|
||||
8006158: 0800b94c .word 0x0800b94c
|
||||
|
||||
0800615c <RCC_SetFlashLatencyFromMSIRange>:
|
||||
voltage range.
|
||||
|
|
@ -16747,11 +16759,11 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
80077cc: e7ee b.n 80077ac <_printf_float+0x2a4>
|
||||
80077ce: bf00 nop
|
||||
80077d0: 7fefffff .word 0x7fefffff
|
||||
80077d4: 0800b940 .word 0x0800b940
|
||||
80077d8: 0800b93c .word 0x0800b93c
|
||||
80077dc: 0800b948 .word 0x0800b948
|
||||
80077e0: 0800b944 .word 0x0800b944
|
||||
80077e4: 0800b94c .word 0x0800b94c
|
||||
80077d4: 0800b988 .word 0x0800b988
|
||||
80077d8: 0800b984 .word 0x0800b984
|
||||
80077dc: 0800b990 .word 0x0800b990
|
||||
80077e0: 0800b98c .word 0x0800b98c
|
||||
80077e4: 0800b994 .word 0x0800b994
|
||||
80077e8: 6da3 ldr r3, [r4, #88] @ 0x58
|
||||
80077ea: f8dd a028 ldr.w sl, [sp, #40] @ 0x28
|
||||
80077ee: 4553 cmp r3, sl
|
||||
|
|
@ -17229,8 +17241,8 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
8007c64: 2500 movs r5, #0
|
||||
8007c66: f104 0619 add.w r6, r4, #25
|
||||
8007c6a: e7f5 b.n 8007c58 <_printf_i+0x220>
|
||||
8007c6c: 0800b94e .word 0x0800b94e
|
||||
8007c70: 0800b95f .word 0x0800b95f
|
||||
8007c6c: 0800b996 .word 0x0800b996
|
||||
8007c70: 0800b9a7 .word 0x0800b9a7
|
||||
|
||||
08007c74 <std>:
|
||||
8007c74: 2300 movs r3, #0
|
||||
|
|
@ -17634,10 +17646,10 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
8007ff2: 4798 blx r3
|
||||
8007ff4: 3601 adds r6, #1
|
||||
8007ff6: e7f2 b.n 8007fde <__libc_init_array+0x1e>
|
||||
8007ff8: 0800c0dc .word 0x0800c0dc
|
||||
8007ffc: 0800c0dc .word 0x0800c0dc
|
||||
8008000: 0800c0dc .word 0x0800c0dc
|
||||
8008004: 0800c0e0 .word 0x0800c0e0
|
||||
8007ff8: 0800c124 .word 0x0800c124
|
||||
8007ffc: 0800c124 .word 0x0800c124
|
||||
8008000: 0800c124 .word 0x0800c124
|
||||
8008004: 0800c128 .word 0x0800c128
|
||||
|
||||
08008008 <__retarget_lock_init_recursive>:
|
||||
8008008: 4770 bx lr
|
||||
|
|
@ -18032,15 +18044,15 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
80083e4: 3fc68a28 .word 0x3fc68a28
|
||||
80083e8: 509f79fb .word 0x509f79fb
|
||||
80083ec: 3fd34413 .word 0x3fd34413
|
||||
80083f0: 0800b97d .word 0x0800b97d
|
||||
80083f4: 0800b994 .word 0x0800b994
|
||||
80083f0: 0800b9c5 .word 0x0800b9c5
|
||||
80083f4: 0800b9dc .word 0x0800b9dc
|
||||
80083f8: 7ff00000 .word 0x7ff00000
|
||||
80083fc: 0800b94d .word 0x0800b94d
|
||||
80083fc: 0800b995 .word 0x0800b995
|
||||
8008400: 3ff80000 .word 0x3ff80000
|
||||
8008404: 0800bae8 .word 0x0800bae8
|
||||
8008408: 0800b9ec .word 0x0800b9ec
|
||||
800840c: 0800b979 .word 0x0800b979
|
||||
8008410: 0800b94c .word 0x0800b94c
|
||||
8008404: 0800bb30 .word 0x0800bb30
|
||||
8008408: 0800ba34 .word 0x0800ba34
|
||||
800840c: 0800b9c1 .word 0x0800b9c1
|
||||
8008410: 0800b994 .word 0x0800b994
|
||||
8008414: f8d9 301c ldr.w r3, [r9, #28]
|
||||
8008418: 6018 str r0, [r3, #0]
|
||||
800841a: 9b03 ldr r3, [sp, #12]
|
||||
|
|
@ -18269,8 +18281,8 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
8008698: e9cd 0104 strd r0, r1, [sp, #16]
|
||||
800869c: e7c4 b.n 8008628 <_dtoa_r+0x508>
|
||||
800869e: bf00 nop
|
||||
80086a0: 0800bae8 .word 0x0800bae8
|
||||
80086a4: 0800bac0 .word 0x0800bac0
|
||||
80086a0: 0800bb30 .word 0x0800bb30
|
||||
80086a4: 0800bb08 .word 0x0800bb08
|
||||
80086a8: 3ff00000 .word 0x3ff00000
|
||||
80086ac: 40240000 .word 0x40240000
|
||||
80086b0: 401c0000 .word 0x401c0000
|
||||
|
|
@ -18899,8 +18911,8 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
8008cb0: f000 f968 bl 8008f84 <__multadd>
|
||||
8008cb4: 9002 str r0, [sp, #8]
|
||||
8008cb6: e7eb b.n 8008c90 <_dtoa_r+0xb70>
|
||||
8008cb8: 0800b9ec .word 0x0800b9ec
|
||||
8008cbc: 0800b970 .word 0x0800b970
|
||||
8008cb8: 0800ba34 .word 0x0800ba34
|
||||
8008cbc: 0800b9b8 .word 0x0800b9b8
|
||||
|
||||
08008cc0 <_free_r>:
|
||||
8008cc0: b538 push {r3, r4, r5, lr}
|
||||
|
|
@ -19184,8 +19196,8 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
8008f30: e9c0 3303 strd r3, r3, [r0, #12]
|
||||
8008f34: e7f7 b.n 8008f26 <_Balloc+0x66>
|
||||
8008f36: bf00 nop
|
||||
8008f38: 0800b97d .word 0x0800b97d
|
||||
8008f3c: 0800b9fd .word 0x0800b9fd
|
||||
8008f38: 0800b9c5 .word 0x0800b9c5
|
||||
8008f3c: 0800ba45 .word 0x0800ba45
|
||||
|
||||
08008f40 <_Bfree>:
|
||||
8008f40: b570 push {r4, r5, r6, lr}
|
||||
|
|
@ -19213,8 +19225,8 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
8008f74: 6021 str r1, [r4, #0]
|
||||
8008f76: f843 4022 str.w r4, [r3, r2, lsl #2]
|
||||
8008f7a: bd70 pop {r4, r5, r6, pc}
|
||||
8008f7c: 0800b97d .word 0x0800b97d
|
||||
8008f80: 0800b9fd .word 0x0800b9fd
|
||||
8008f7c: 0800b9c5 .word 0x0800b9c5
|
||||
8008f80: 0800ba45 .word 0x0800ba45
|
||||
|
||||
08008f84 <__multadd>:
|
||||
8008f84: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr}
|
||||
|
|
@ -19268,8 +19280,8 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
8009000: 6125 str r5, [r4, #16]
|
||||
8009002: 4620 mov r0, r4
|
||||
8009004: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc}
|
||||
8009008: 0800b9ec .word 0x0800b9ec
|
||||
800900c: 0800b9fd .word 0x0800b9fd
|
||||
8009008: 0800ba34 .word 0x0800ba34
|
||||
800900c: 0800ba45 .word 0x0800ba45
|
||||
|
||||
08009010 <__hi0bits>:
|
||||
8009010: f5b0 3f80 cmp.w r0, #65536 @ 0x10000
|
||||
|
|
@ -19359,8 +19371,8 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
80090c6: 6103 str r3, [r0, #16]
|
||||
80090c8: bd10 pop {r4, pc}
|
||||
80090ca: bf00 nop
|
||||
80090cc: 0800b9ec .word 0x0800b9ec
|
||||
80090d0: 0800b9fd .word 0x0800b9fd
|
||||
80090cc: 0800ba34 .word 0x0800ba34
|
||||
80090d0: 0800ba45 .word 0x0800ba45
|
||||
|
||||
080090d4 <__multiply>:
|
||||
80090d4: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr}
|
||||
|
|
@ -19479,8 +19491,8 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
800920a: e79f b.n 800914c <__multiply+0x78>
|
||||
800920c: 3e01 subs r6, #1
|
||||
800920e: e7a1 b.n 8009154 <__multiply+0x80>
|
||||
8009210: 0800b9ec .word 0x0800b9ec
|
||||
8009214: 0800b9fd .word 0x0800b9fd
|
||||
8009210: 0800ba34 .word 0x0800ba34
|
||||
8009214: 0800ba45 .word 0x0800ba45
|
||||
|
||||
08009218 <__pow5mult>:
|
||||
8009218: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr}
|
||||
|
|
@ -19548,9 +19560,9 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
80092b8: 4630 mov r0, r6
|
||||
80092ba: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc}
|
||||
80092be: bf00 nop
|
||||
80092c0: 0800bab0 .word 0x0800bab0
|
||||
80092c4: 0800b97d .word 0x0800b97d
|
||||
80092c8: 0800b9fd .word 0x0800b9fd
|
||||
80092c0: 0800baf8 .word 0x0800baf8
|
||||
80092c4: 0800b9c5 .word 0x0800b9c5
|
||||
80092c8: 0800ba45 .word 0x0800ba45
|
||||
|
||||
080092cc <__lshift>:
|
||||
80092cc: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr}
|
||||
|
|
@ -19629,8 +19641,8 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
8009396: d8f9 bhi.n 800938c <__lshift+0xc0>
|
||||
8009398: e7ea b.n 8009370 <__lshift+0xa4>
|
||||
800939a: bf00 nop
|
||||
800939c: 0800b9ec .word 0x0800b9ec
|
||||
80093a0: 0800b9fd .word 0x0800b9fd
|
||||
800939c: 0800ba34 .word 0x0800ba34
|
||||
80093a0: 0800ba45 .word 0x0800ba45
|
||||
|
||||
080093a4 <__mcmp>:
|
||||
80093a4: 690a ldr r2, [r1, #16]
|
||||
|
|
@ -19766,8 +19778,8 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
80094f6: 3f01 subs r7, #1
|
||||
80094f8: e7e7 b.n 80094ca <__mdiff+0xee>
|
||||
80094fa: bf00 nop
|
||||
80094fc: 0800b9ec .word 0x0800b9ec
|
||||
8009500: 0800b9fd .word 0x0800b9fd
|
||||
80094fc: 0800ba34 .word 0x0800ba34
|
||||
8009500: 0800ba45 .word 0x0800ba45
|
||||
|
||||
08009504 <__d2b>:
|
||||
8009504: e92d 43f7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, lr}
|
||||
|
|
@ -19833,8 +19845,8 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
80095a2: f7ff fd35 bl 8009010 <__hi0bits>
|
||||
80095a6: ebc0 1042 rsb r0, r0, r2, lsl #5
|
||||
80095aa: e7e5 b.n 8009578 <__d2b+0x74>
|
||||
80095ac: 0800b9ec .word 0x0800b9ec
|
||||
80095b0: 0800b9fd .word 0x0800b9fd
|
||||
80095ac: 0800ba34 .word 0x0800ba34
|
||||
80095b0: 0800ba45 .word 0x0800ba45
|
||||
|
||||
080095b4 <__ssputs_r>:
|
||||
80095b4: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr}
|
||||
|
|
@ -20111,11 +20123,11 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
8009848: 4638 mov r0, r7
|
||||
800984a: f7fe f8f5 bl 8007a38 <_printf_i>
|
||||
800984e: e7ed b.n 800982c <_svfiprintf_r+0x1c0>
|
||||
8009850: 0800ba56 .word 0x0800ba56
|
||||
8009854: 0800ba60 .word 0x0800ba60
|
||||
8009850: 0800ba9e .word 0x0800ba9e
|
||||
8009854: 0800baa8 .word 0x0800baa8
|
||||
8009858: 08007509 .word 0x08007509
|
||||
800985c: 080095b5 .word 0x080095b5
|
||||
8009860: 0800ba5c .word 0x0800ba5c
|
||||
8009860: 0800baa4 .word 0x0800baa4
|
||||
|
||||
08009864 <__sfputc_r>:
|
||||
8009864: 6893 ldr r3, [r2, #8]
|
||||
|
|
@ -20381,11 +20393,11 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
8009acc: 4630 mov r0, r6
|
||||
8009ace: f7fd ffb3 bl 8007a38 <_printf_i>
|
||||
8009ad2: e7e4 b.n 8009a9e <_vfiprintf_r+0x1e6>
|
||||
8009ad4: 0800ba56 .word 0x0800ba56
|
||||
8009ad8: 0800ba60 .word 0x0800ba60
|
||||
8009ad4: 0800ba9e .word 0x0800ba9e
|
||||
8009ad8: 0800baa8 .word 0x0800baa8
|
||||
8009adc: 08007509 .word 0x08007509
|
||||
8009ae0: 08009893 .word 0x08009893
|
||||
8009ae4: 0800ba5c .word 0x0800ba5c
|
||||
8009ae4: 0800baa4 .word 0x0800baa4
|
||||
|
||||
08009ae8 <__sflush_r>:
|
||||
8009ae8: f9b1 200c ldrsh.w r2, [r1, #12]
|
||||
|
|
@ -20749,9 +20761,9 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
8009e00: e7f3 b.n 8009dea <__assert_func+0x12>
|
||||
8009e02: bf00 nop
|
||||
8009e04: 20000018 .word 0x20000018
|
||||
8009e08: 0800ba71 .word 0x0800ba71
|
||||
8009e0c: 0800ba7e .word 0x0800ba7e
|
||||
8009e10: 0800baac .word 0x0800baac
|
||||
8009e08: 0800bab9 .word 0x0800bab9
|
||||
8009e0c: 0800bac6 .word 0x0800bac6
|
||||
8009e10: 0800baf4 .word 0x0800baf4
|
||||
|
||||
08009e14 <_calloc_r>:
|
||||
8009e14: b570 push {r4, r5, r6, lr}
|
||||
|
|
@ -21084,7 +21096,7 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
800a0f8: ecbd 8b02 vpop {d8}
|
||||
800a0fc: bd08 pop {r3, pc}
|
||||
800a0fe: bf00 nop
|
||||
800a100: 0800baac .word 0x0800baac
|
||||
800a100: 0800baf4 .word 0x0800baf4
|
||||
|
||||
0800a104 <atan2f>:
|
||||
800a104: f000 ba5c b.w 800a5c0 <__ieee754_atan2f>
|
||||
|
|
@ -21555,8 +21567,8 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
800a6dc: c0490fdb .word 0xc0490fdb
|
||||
800a6e0: bfc90fdb .word 0xbfc90fdb
|
||||
800a6e4: 3fc90fdb .word 0x3fc90fdb
|
||||
800a6e8: 0800bcc0 .word 0x0800bcc0
|
||||
800a6ec: 0800bcb4 .word 0x0800bcb4
|
||||
800a6e8: 0800bd08 .word 0x0800bd08
|
||||
800a6ec: 0800bcfc .word 0x0800bcfc
|
||||
800a6f0: 33bbbd2e .word 0x33bbbd2e
|
||||
800a6f4: 40490fdb .word 0x40490fdb
|
||||
800a6f8: 00000000 .word 0x00000000
|
||||
|
|
@ -21861,18 +21873,18 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
800aae0: 4b800000 .word 0x4b800000
|
||||
800aae4: 001cc471 .word 0x001cc471
|
||||
800aae8: 005db3d6 .word 0x005db3d6
|
||||
800aaec: 0800bcdc .word 0x0800bcdc
|
||||
800aaec: 0800bd24 .word 0x0800bd24
|
||||
800aaf0: fffff000 .word 0xfffff000
|
||||
800aaf4: 3e6c3255 .word 0x3e6c3255
|
||||
800aaf8: 3e53f142 .word 0x3e53f142
|
||||
800aafc: 3e8ba305 .word 0x3e8ba305
|
||||
800ab00: 3edb6db7 .word 0x3edb6db7
|
||||
800ab04: 3f19999a .word 0x3f19999a
|
||||
800ab08: 0800bccc .word 0x0800bccc
|
||||
800ab08: 0800bd14 .word 0x0800bd14
|
||||
800ab0c: 3f76384f .word 0x3f76384f
|
||||
800ab10: 3f763800 .word 0x3f763800
|
||||
800ab14: 369dc3a0 .word 0x369dc3a0
|
||||
800ab18: 0800bcd4 .word 0x0800bcd4
|
||||
800ab18: 0800bd1c .word 0x0800bd1c
|
||||
800ab1c: 3338aa3c .word 0x3338aa3c
|
||||
800ab20: 43160000 .word 0x43160000
|
||||
800ab24: f1b3 5f7c cmp.w r3, #1056964608 @ 0x3f000000
|
||||
|
|
@ -22164,11 +22176,11 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
800aedc: 2e85a308 .word 0x2e85a308
|
||||
800aee0: 43490f80 .word 0x43490f80
|
||||
800aee4: 3f22f984 .word 0x3f22f984
|
||||
800aee8: 0800bce4 .word 0x0800bce4
|
||||
800aee8: 0800bd2c .word 0x0800bd2c
|
||||
800aeec: 2e85a300 .word 0x2e85a300
|
||||
800aef0: 248d3132 .word 0x248d3132
|
||||
800aef4: 43800000 .word 0x43800000
|
||||
800aef8: 0800bd64 .word 0x0800bd64
|
||||
800aef8: 0800bdac .word 0x0800bdac
|
||||
|
||||
0800aefc <atanf>:
|
||||
800aefc: b538 push {r3, r4, r5, lr}
|
||||
|
|
@ -22293,8 +22305,8 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
800b090: bde38e38 .word 0xbde38e38
|
||||
800b094: be4ccccd .word 0xbe4ccccd
|
||||
800b098: 401bffff .word 0x401bffff
|
||||
800b09c: 0800c08c .word 0x0800c08c
|
||||
800b0a0: 0800c07c .word 0x0800c07c
|
||||
800b09c: 0800c0d4 .word 0x0800c0d4
|
||||
800b0a0: 0800c0c4 .word 0x0800c0c4
|
||||
|
||||
0800b0a4 <scalbnf>:
|
||||
800b0a4: ee10 3a10 vmov r3, s0
|
||||
|
|
@ -22655,8 +22667,8 @@ static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
|
|||
800b49c: 3401 adds r4, #1
|
||||
800b49e: eee6 7a87 vfma.f32 s15, s13, s14
|
||||
800b4a2: e7f0 b.n 800b486 <__kernel_rem_pio2f+0x2ca>
|
||||
800b4a4: 0800c0c8 .word 0x0800c0c8
|
||||
800b4a8: 0800c09c .word 0x0800c09c
|
||||
800b4a4: 0800c110 .word 0x0800c110
|
||||
800b4a8: 0800c0e4 .word 0x0800c0e4
|
||||
800b4ac: 43800000 .word 0x43800000
|
||||
800b4b0: 3b800000 .word 0x3b800000
|
||||
800b4b4: 00000000 .word 0x00000000
|
||||
|
|
|
|||
|
|
@ -4251,126 +4251,126 @@ LOAD C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.ext
|
|||
.iplt 0x0800b72c 0x0
|
||||
.iplt 0x0800b72c 0x0 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o
|
||||
|
||||
.rodata 0x0800b730 0x9a4
|
||||
.rodata 0x0800b730 0x9ec
|
||||
0x0800b730 . = ALIGN (0x4)
|
||||
*(.rodata)
|
||||
.rodata 0x0800b730 0x18 ./Core/Src/FusionAhrs.o
|
||||
.rodata 0x0800b748 0x74 ./Core/Src/main.o
|
||||
.rodata 0x0800b7bc 0x137 ./Core/Src/moto_config.o
|
||||
.rodata 0x0800b7bc 0x17f ./Core/Src/moto_config.o
|
||||
*(.rodata*)
|
||||
*fill* 0x0800b8f3 0x1
|
||||
*fill* 0x0800b93b 0x1
|
||||
.rodata.AHBPrescTable
|
||||
0x0800b8f4 0x10 ./Core/Src/system_stm32l4xx.o
|
||||
0x0800b8f4 AHBPrescTable
|
||||
0x0800b93c 0x10 ./Core/Src/system_stm32l4xx.o
|
||||
0x0800b93c AHBPrescTable
|
||||
.rodata.APBPrescTable
|
||||
0x0800b904 0x8 ./Core/Src/system_stm32l4xx.o
|
||||
0x0800b904 APBPrescTable
|
||||
0x0800b94c 0x8 ./Core/Src/system_stm32l4xx.o
|
||||
0x0800b94c APBPrescTable
|
||||
.rodata.MSIRangeTable
|
||||
0x0800b90c 0x30 ./Core/Src/system_stm32l4xx.o
|
||||
0x0800b90c MSIRangeTable
|
||||
0x0800b954 0x30 ./Core/Src/system_stm32l4xx.o
|
||||
0x0800b954 MSIRangeTable
|
||||
.rodata._printf_float.str1.1
|
||||
0x0800b93c 0x171 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-nano-vfprintf_float.o)
|
||||
0x0800b984 0x171 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-nano-vfprintf_float.o)
|
||||
0x12 (size before relaxing)
|
||||
.rodata._printf_i.str1.1
|
||||
0x0800baad 0x22 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-nano-vfprintf_i.o)
|
||||
0x0800baf5 0x22 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-nano-vfprintf_i.o)
|
||||
.rodata._dtoa_r.str1.1
|
||||
0x0800baad 0x8f C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-dtoa.o)
|
||||
0x0800baf5 0x8f C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-dtoa.o)
|
||||
.rodata._Balloc.str1.1
|
||||
0x0800baad 0x70 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-mprec.o)
|
||||
0x0800baf5 0x70 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-mprec.o)
|
||||
.rodata.__multadd.str1.1
|
||||
0x0800baad 0x11 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-mprec.o)
|
||||
*fill* 0x0800baad 0x3
|
||||
.rodata.p05.0 0x0800bab0 0xc C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-mprec.o)
|
||||
*fill* 0x0800babc 0x4
|
||||
0x0800baf5 0x11 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-mprec.o)
|
||||
*fill* 0x0800baf5 0x3
|
||||
.rodata.p05.0 0x0800baf8 0xc C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-mprec.o)
|
||||
*fill* 0x0800bb04 0x4
|
||||
.rodata.__mprec_bigtens
|
||||
0x0800bac0 0x28 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-mprec.o)
|
||||
0x0800bac0 __mprec_bigtens
|
||||
0x0800bb08 0x28 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-mprec.o)
|
||||
0x0800bb08 __mprec_bigtens
|
||||
.rodata.__mprec_tens
|
||||
0x0800bae8 0xc8 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-mprec.o)
|
||||
0x0800bae8 __mprec_tens
|
||||
0x0800bb30 0xc8 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-mprec.o)
|
||||
0x0800bb30 __mprec_tens
|
||||
.rodata._svfprintf_r.str1.1
|
||||
0x0800bbb0 0x11 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-nano-svfprintf.o)
|
||||
0x0800bbf8 0x11 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-nano-svfprintf.o)
|
||||
.rodata._vfprintf_r.str1.1
|
||||
0x0800bbb0 0x11 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-nano-vfprintf.o)
|
||||
0x0800bbf8 0x11 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-nano-vfprintf.o)
|
||||
.rodata._setlocale_r.str1.1
|
||||
0x0800bbb0 0x9 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-locale.o)
|
||||
0x0800bbf8 0x9 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-locale.o)
|
||||
.rodata.str1.1
|
||||
0x0800bbb0 0x2 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-locale.o)
|
||||
0x0800bbf8 0x2 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-locale.o)
|
||||
.rodata.__assert_func.str1.1
|
||||
0x0800bbb0 0x3d C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-assert.o)
|
||||
0x0800bbf8 0x3d C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-assert.o)
|
||||
.rodata._ctype_
|
||||
0x0800bbb0 0x101 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-ctype_.o)
|
||||
0x0800bbb0 _ctype_
|
||||
0x0800bbf8 0x101 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-ctype_.o)
|
||||
0x0800bbf8 _ctype_
|
||||
.rodata.asinf.str1.1
|
||||
0x0800bcb1 0x1 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-wf_asin.o)
|
||||
*fill* 0x0800bcb1 0x3
|
||||
0x0800bcf9 0x1 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-wf_asin.o)
|
||||
*fill* 0x0800bcf9 0x3
|
||||
.rodata.CSWTCH.9
|
||||
0x0800bcb4 0xc C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-ef_atan2.o)
|
||||
0x0800bcfc 0xc C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-ef_atan2.o)
|
||||
.rodata.CSWTCH.8
|
||||
0x0800bcc0 0xc C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-ef_atan2.o)
|
||||
.rodata.dp_l 0x0800bccc 0x8 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-ef_pow.o)
|
||||
.rodata.dp_h 0x0800bcd4 0x8 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-ef_pow.o)
|
||||
.rodata.bp 0x0800bcdc 0x8 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-ef_pow.o)
|
||||
0x0800bd08 0xc C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-ef_atan2.o)
|
||||
.rodata.dp_l 0x0800bd14 0x8 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-ef_pow.o)
|
||||
.rodata.dp_h 0x0800bd1c 0x8 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-ef_pow.o)
|
||||
.rodata.bp 0x0800bd24 0x8 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-ef_pow.o)
|
||||
.rodata.npio2_hw
|
||||
0x0800bce4 0x80 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-ef_rem_pio2.o)
|
||||
0x0800bd2c 0x80 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-ef_rem_pio2.o)
|
||||
.rodata.two_over_pi
|
||||
0x0800bd64 0x318 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-ef_rem_pio2.o)
|
||||
0x0800bdac 0x318 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-ef_rem_pio2.o)
|
||||
.rodata.atanlo
|
||||
0x0800c07c 0x10 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-sf_atan.o)
|
||||
0x0800c0c4 0x10 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-sf_atan.o)
|
||||
.rodata.atanhi
|
||||
0x0800c08c 0x10 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-sf_atan.o)
|
||||
.rodata.PIo2 0x0800c09c 0x2c C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-kf_rem_pio2.o)
|
||||
0x0800c0d4 0x10 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-sf_atan.o)
|
||||
.rodata.PIo2 0x0800c0e4 0x2c C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-kf_rem_pio2.o)
|
||||
.rodata.init_jk
|
||||
0x0800c0c8 0xc C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-kf_rem_pio2.o)
|
||||
0x0800c0d4 . = ALIGN (0x4)
|
||||
0x0800c110 0xc C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libm.a(libm_a-kf_rem_pio2.o)
|
||||
0x0800c11c . = ALIGN (0x4)
|
||||
|
||||
.ARM.extab 0x0800c0d4 0x0
|
||||
0x0800c0d4 . = ALIGN (0x4)
|
||||
.ARM.extab 0x0800c11c 0x0
|
||||
0x0800c11c . = ALIGN (0x4)
|
||||
*(.ARM.extab* .gnu.linkonce.armextab.*)
|
||||
0x0800c0d4 . = ALIGN (0x4)
|
||||
0x0800c11c . = ALIGN (0x4)
|
||||
|
||||
.ARM 0x0800c0d4 0x8
|
||||
0x0800c0d4 . = ALIGN (0x4)
|
||||
0x0800c0d4 __exidx_start = .
|
||||
.ARM 0x0800c11c 0x8
|
||||
0x0800c11c . = ALIGN (0x4)
|
||||
0x0800c11c __exidx_start = .
|
||||
*(.ARM.exidx*)
|
||||
.ARM.exidx 0x0800c0d4 0x8 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-memchr.o)
|
||||
.ARM.exidx 0x0800c0dc 0x0 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-strlen.o)
|
||||
.ARM.exidx 0x0800c11c 0x8 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-memchr.o)
|
||||
.ARM.exidx 0x0800c124 0x0 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard\libc_nano.a(libc_a-strlen.o)
|
||||
0x8 (size before relaxing)
|
||||
.ARM.exidx 0x0800c0dc 0x0 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard\libgcc.a(_udivmoddi4.o)
|
||||
.ARM.exidx 0x0800c124 0x0 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard\libgcc.a(_udivmoddi4.o)
|
||||
0x8 (size before relaxing)
|
||||
0x0800c0dc __exidx_end = .
|
||||
0x0800c0dc . = ALIGN (0x4)
|
||||
0x0800c124 __exidx_end = .
|
||||
0x0800c124 . = ALIGN (0x4)
|
||||
|
||||
.preinit_array 0x0800c0dc 0x0
|
||||
0x0800c0dc . = ALIGN (0x4)
|
||||
0x0800c0dc PROVIDE (__preinit_array_start = .)
|
||||
.preinit_array 0x0800c124 0x0
|
||||
0x0800c124 . = ALIGN (0x4)
|
||||
0x0800c124 PROVIDE (__preinit_array_start = .)
|
||||
*(.preinit_array*)
|
||||
0x0800c0dc PROVIDE (__preinit_array_end = .)
|
||||
0x0800c0dc . = ALIGN (0x4)
|
||||
0x0800c124 PROVIDE (__preinit_array_end = .)
|
||||
0x0800c124 . = ALIGN (0x4)
|
||||
|
||||
.init_array 0x0800c0dc 0x4
|
||||
0x0800c0dc . = ALIGN (0x4)
|
||||
0x0800c0dc PROVIDE (__init_array_start = .)
|
||||
.init_array 0x0800c124 0x4
|
||||
0x0800c124 . = ALIGN (0x4)
|
||||
0x0800c124 PROVIDE (__init_array_start = .)
|
||||
*(SORT_BY_NAME(.init_array.*))
|
||||
*(.init_array*)
|
||||
.init_array 0x0800c0dc 0x4 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o
|
||||
0x0800c0e0 PROVIDE (__init_array_end = .)
|
||||
0x0800c0e0 . = ALIGN (0x4)
|
||||
.init_array 0x0800c124 0x4 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o
|
||||
0x0800c128 PROVIDE (__init_array_end = .)
|
||||
0x0800c128 . = ALIGN (0x4)
|
||||
|
||||
.fini_array 0x0800c0e0 0x4
|
||||
0x0800c0e0 . = ALIGN (0x4)
|
||||
.fini_array 0x0800c128 0x4
|
||||
0x0800c128 . = ALIGN (0x4)
|
||||
[!provide] PROVIDE (__fini_array_start = .)
|
||||
*(SORT_BY_NAME(.fini_array.*))
|
||||
*(.fini_array*)
|
||||
.fini_array 0x0800c0e0 0x4 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o
|
||||
.fini_array 0x0800c128 0x4 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o
|
||||
[!provide] PROVIDE (__fini_array_end = .)
|
||||
0x0800c0e4 . = ALIGN (0x4)
|
||||
0x0800c0e4 _sidata = LOADADDR (.data)
|
||||
0x0800c12c . = ALIGN (0x4)
|
||||
0x0800c12c _sidata = LOADADDR (.data)
|
||||
|
||||
.rel.dyn 0x0800c0e4 0x0
|
||||
.rel.iplt 0x0800c0e4 0x0 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o
|
||||
.rel.dyn 0x0800c12c 0x0
|
||||
.rel.iplt 0x0800c12c 0x0 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o
|
||||
|
||||
.data 0x20000000 0x1d4 load address 0x0800c0e4
|
||||
.data 0x20000000 0x1d4 load address 0x0800c12c
|
||||
0x20000000 . = ALIGN (0x4)
|
||||
0x20000000 _sdata = .
|
||||
*(.data)
|
||||
|
|
@ -4401,11 +4401,11 @@ LOAD C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.ext
|
|||
0x200001d4 . = ALIGN (0x4)
|
||||
0x200001d4 _edata = .
|
||||
|
||||
.igot.plt 0x200001d4 0x0 load address 0x0800c2b8
|
||||
.igot.plt 0x200001d4 0x0 load address 0x0800c300
|
||||
.igot.plt 0x200001d4 0x0 C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o
|
||||
0x200001d4 . = ALIGN (0x4)
|
||||
|
||||
.bss 0x200001d4 0x31c load address 0x0800c2b8
|
||||
.bss 0x200001d4 0x31c load address 0x0800c300
|
||||
0x200001d4 _sbss = .
|
||||
0x200001d4 __bss_start__ = _sbss
|
||||
*(.bss)
|
||||
|
|
@ -4464,7 +4464,7 @@ LOAD C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.ext
|
|||
0x200004f0 __bss_end__ = _ebss
|
||||
|
||||
._user_heap_stack
|
||||
0x200004f0 0xc00 load address 0x0800c2b8
|
||||
0x200004f0 0xc00 load address 0x0800c300
|
||||
0x200004f0 . = ALIGN (0x8)
|
||||
[!provide] PROVIDE (end = .)
|
||||
0x200004f0 PROVIDE (_end = .)
|
||||
|
|
@ -4959,28 +4959,28 @@ LOAD C:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.ext
|
|||
.debug_line 0x0000e232 0x1498 ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.o
|
||||
.debug_line 0x0000f6ca 0x2d47 ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.o
|
||||
|
||||
.debug_str 0x00000000 0xd3fc4
|
||||
.debug_str 0x00000000 0xd3fc4 ./Core/Src/FusionAhrs.o
|
||||
.debug_str 0x00000000 0xd3ffc
|
||||
.debug_str 0x00000000 0xd3ffc ./Core/Src/FusionAhrs.o
|
||||
0x8b2f (size before relaxing)
|
||||
.debug_str 0x000d3fc4 0xc8c66 ./Core/Src/icm20948.o
|
||||
.debug_str 0x000d3fc4 0xcbe37 ./Core/Src/lcd_i2c.o
|
||||
.debug_str 0x000d3fc4 0xcdf44 ./Core/Src/main.o
|
||||
.debug_str 0x000d3fc4 0x860f ./Core/Src/moto_config.o
|
||||
.debug_str 0x000d3fc4 0xc9407 ./Core/Src/stm32l4xx_hal_msp.o
|
||||
.debug_str 0x000d3fc4 0xc894e ./Core/Src/stm32l4xx_it.o
|
||||
.debug_str 0x000d3fc4 0x99de ./Core/Src/syscalls.o
|
||||
.debug_str 0x000d3fc4 0x777c ./Core/Src/sysmem.o
|
||||
.debug_str 0x000d3fc4 0xc88dc ./Core/Src/system_stm32l4xx.o
|
||||
.debug_str 0x000d3fc4 0x7f ./Core/Startup/startup_stm32l452retxp.o
|
||||
.debug_str 0x000d3fc4 0xc941c ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.o
|
||||
.debug_str 0x000d3fc4 0xc90ac ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.o
|
||||
.debug_str 0x000d3fc4 0xc8a50 ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.o
|
||||
.debug_str 0x000d3fc4 0xc9ad3 ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.o
|
||||
.debug_str 0x000d3fc4 0xc8de9 ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.o
|
||||
.debug_str 0x000d3fc4 0xc8d7d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.o
|
||||
.debug_str 0x000d3fc4 0xc8edc ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.o
|
||||
.debug_str 0x000d3fc4 0xc91a0 ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.o
|
||||
.debug_str 0x000d3fc4 0xc9634 ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.o
|
||||
.debug_str 0x000d3ffc 0xc8c66 ./Core/Src/icm20948.o
|
||||
.debug_str 0x000d3ffc 0xcbe37 ./Core/Src/lcd_i2c.o
|
||||
.debug_str 0x000d3ffc 0xcdf42 ./Core/Src/main.o
|
||||
.debug_str 0x000d3ffc 0x860d ./Core/Src/moto_config.o
|
||||
.debug_str 0x000d3ffc 0xc9407 ./Core/Src/stm32l4xx_hal_msp.o
|
||||
.debug_str 0x000d3ffc 0xc894e ./Core/Src/stm32l4xx_it.o
|
||||
.debug_str 0x000d3ffc 0x99de ./Core/Src/syscalls.o
|
||||
.debug_str 0x000d3ffc 0x777c ./Core/Src/sysmem.o
|
||||
.debug_str 0x000d3ffc 0xc88dc ./Core/Src/system_stm32l4xx.o
|
||||
.debug_str 0x000d3ffc 0x7f ./Core/Startup/startup_stm32l452retxp.o
|
||||
.debug_str 0x000d3ffc 0xc941c ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.o
|
||||
.debug_str 0x000d3ffc 0xc90ac ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.o
|
||||
.debug_str 0x000d3ffc 0xc8a50 ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.o
|
||||
.debug_str 0x000d3ffc 0xc9ad3 ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.o
|
||||
.debug_str 0x000d3ffc 0xc8de9 ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.o
|
||||
.debug_str 0x000d3ffc 0xc8d7d ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.o
|
||||
.debug_str 0x000d3ffc 0xc8edc ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.o
|
||||
.debug_str 0x000d3ffc 0xc91a0 ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.o
|
||||
.debug_str 0x000d3ffc 0xc9634 ./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.o
|
||||
|
||||
.comment 0x00000000 0x43
|
||||
.comment 0x00000000 0x43 ./Core/Src/FusionAhrs.o
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
"./Core/Src/FusionAhrs.o"
|
||||
"./Core/Src/gc9a01.o"
|
||||
"./Core/Src/icm20948.o"
|
||||
"./Core/Src/lcd_i2c.o"
|
||||
"./Core/Src/main.o"
|
||||
|
|
@ -24,5 +25,7 @@
|
|||
"./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.o"
|
||||
"./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.o"
|
||||
"./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.o"
|
||||
"./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.o"
|
||||
"./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.o"
|
||||
"./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.o"
|
||||
"./Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.o"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,855 @@
|
|||
/**
|
||||
******************************************************************************
|
||||
* @file stm32l4xx_hal_spi.h
|
||||
* @author MCD Application Team
|
||||
* @brief Header file of SPI HAL module.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2017 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.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef STM32L4xx_HAL_SPI_H
|
||||
#define STM32L4xx_HAL_SPI_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32l4xx_hal_def.h"
|
||||
|
||||
/** @addtogroup STM32L4xx_HAL_Driver
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @addtogroup SPI
|
||||
* @{
|
||||
*/
|
||||
|
||||
/* Exported types ------------------------------------------------------------*/
|
||||
/** @defgroup SPI_Exported_Types SPI Exported Types
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief SPI Configuration Structure definition
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
uint32_t Mode; /*!< Specifies the SPI operating mode.
|
||||
This parameter can be a value of @ref SPI_Mode */
|
||||
|
||||
uint32_t Direction; /*!< Specifies the SPI bidirectional mode state.
|
||||
This parameter can be a value of @ref SPI_Direction */
|
||||
|
||||
uint32_t DataSize; /*!< Specifies the SPI data size.
|
||||
This parameter can be a value of @ref SPI_Data_Size */
|
||||
|
||||
uint32_t CLKPolarity; /*!< Specifies the serial clock steady state.
|
||||
This parameter can be a value of @ref SPI_Clock_Polarity */
|
||||
|
||||
uint32_t CLKPhase; /*!< Specifies the clock active edge for the bit capture.
|
||||
This parameter can be a value of @ref SPI_Clock_Phase */
|
||||
|
||||
uint32_t NSS; /*!< Specifies whether the NSS signal is managed by
|
||||
hardware (NSS pin) or by software using the SSI bit.
|
||||
This parameter can be a value of @ref SPI_Slave_Select_management */
|
||||
|
||||
uint32_t BaudRatePrescaler; /*!< Specifies the Baud Rate prescaler value which will be
|
||||
used to configure the transmit and receive SCK clock.
|
||||
This parameter can be a value of @ref SPI_BaudRate_Prescaler
|
||||
@note The communication clock is derived from the master
|
||||
clock. The slave clock does not need to be set. */
|
||||
|
||||
uint32_t FirstBit; /*!< Specifies whether data transfers start from MSB or LSB bit.
|
||||
This parameter can be a value of @ref SPI_MSB_LSB_transmission */
|
||||
|
||||
uint32_t TIMode; /*!< Specifies if the TI mode is enabled or not.
|
||||
This parameter can be a value of @ref SPI_TI_mode */
|
||||
|
||||
uint32_t CRCCalculation; /*!< Specifies if the CRC calculation is enabled or not.
|
||||
This parameter can be a value of @ref SPI_CRC_Calculation */
|
||||
|
||||
uint32_t CRCPolynomial; /*!< Specifies the polynomial used for the CRC calculation.
|
||||
This parameter must be an odd number between Min_Data = 1 and Max_Data = 65535 */
|
||||
|
||||
uint32_t CRCLength; /*!< Specifies the CRC Length used for the CRC calculation.
|
||||
CRC Length is only used with Data8 and Data16, not other data size
|
||||
This parameter can be a value of @ref SPI_CRC_length */
|
||||
|
||||
uint32_t NSSPMode; /*!< Specifies whether the NSSP signal is enabled or not .
|
||||
This parameter can be a value of @ref SPI_NSSP_Mode
|
||||
This mode is activated by the NSSP bit in the SPIx_CR2 register and
|
||||
it takes effect only if the SPI interface is configured as Motorola SPI
|
||||
master (FRF=0) with capture on the first edge (SPIx_CR1 CPHA = 0,
|
||||
CPOL setting is ignored).. */
|
||||
} SPI_InitTypeDef;
|
||||
|
||||
/**
|
||||
* @brief HAL SPI State structure definition
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
HAL_SPI_STATE_RESET = 0x00U, /*!< Peripheral not Initialized */
|
||||
HAL_SPI_STATE_READY = 0x01U, /*!< Peripheral Initialized and ready for use */
|
||||
HAL_SPI_STATE_BUSY = 0x02U, /*!< an internal process is ongoing */
|
||||
HAL_SPI_STATE_BUSY_TX = 0x03U, /*!< Data Transmission process is ongoing */
|
||||
HAL_SPI_STATE_BUSY_RX = 0x04U, /*!< Data Reception process is ongoing */
|
||||
HAL_SPI_STATE_BUSY_TX_RX = 0x05U, /*!< Data Transmission and Reception process is ongoing */
|
||||
HAL_SPI_STATE_ERROR = 0x06U, /*!< SPI error state */
|
||||
HAL_SPI_STATE_ABORT = 0x07U /*!< SPI abort is ongoing */
|
||||
} HAL_SPI_StateTypeDef;
|
||||
|
||||
/**
|
||||
* @brief SPI handle Structure definition
|
||||
*/
|
||||
typedef struct __SPI_HandleTypeDef
|
||||
{
|
||||
SPI_TypeDef *Instance; /*!< SPI registers base address */
|
||||
|
||||
SPI_InitTypeDef Init; /*!< SPI communication parameters */
|
||||
|
||||
const uint8_t *pTxBuffPtr; /*!< Pointer to SPI Tx transfer Buffer */
|
||||
|
||||
uint16_t TxXferSize; /*!< SPI Tx Transfer size */
|
||||
|
||||
__IO uint16_t TxXferCount; /*!< SPI Tx Transfer Counter */
|
||||
|
||||
uint8_t *pRxBuffPtr; /*!< Pointer to SPI Rx transfer Buffer */
|
||||
|
||||
uint16_t RxXferSize; /*!< SPI Rx Transfer size */
|
||||
|
||||
__IO uint16_t RxXferCount; /*!< SPI Rx Transfer Counter */
|
||||
|
||||
uint32_t CRCSize; /*!< SPI CRC size used for the transfer */
|
||||
|
||||
void (*RxISR)(struct __SPI_HandleTypeDef *hspi); /*!< function pointer on Rx ISR */
|
||||
|
||||
void (*TxISR)(struct __SPI_HandleTypeDef *hspi); /*!< function pointer on Tx ISR */
|
||||
|
||||
DMA_HandleTypeDef *hdmatx; /*!< SPI Tx DMA Handle parameters */
|
||||
|
||||
DMA_HandleTypeDef *hdmarx; /*!< SPI Rx DMA Handle parameters */
|
||||
|
||||
HAL_LockTypeDef Lock; /*!< Locking object */
|
||||
|
||||
__IO HAL_SPI_StateTypeDef State; /*!< SPI communication state */
|
||||
|
||||
__IO uint32_t ErrorCode; /*!< SPI Error code */
|
||||
|
||||
#if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
|
||||
void (* TxCpltCallback)(struct __SPI_HandleTypeDef *hspi); /*!< SPI Tx Completed callback */
|
||||
void (* RxCpltCallback)(struct __SPI_HandleTypeDef *hspi); /*!< SPI Rx Completed callback */
|
||||
void (* TxRxCpltCallback)(struct __SPI_HandleTypeDef *hspi); /*!< SPI TxRx Completed callback */
|
||||
void (* TxHalfCpltCallback)(struct __SPI_HandleTypeDef *hspi); /*!< SPI Tx Half Completed callback */
|
||||
void (* RxHalfCpltCallback)(struct __SPI_HandleTypeDef *hspi); /*!< SPI Rx Half Completed callback */
|
||||
void (* TxRxHalfCpltCallback)(struct __SPI_HandleTypeDef *hspi); /*!< SPI TxRx Half Completed callback */
|
||||
void (* ErrorCallback)(struct __SPI_HandleTypeDef *hspi); /*!< SPI Error callback */
|
||||
void (* AbortCpltCallback)(struct __SPI_HandleTypeDef *hspi); /*!< SPI Abort callback */
|
||||
void (* MspInitCallback)(struct __SPI_HandleTypeDef *hspi); /*!< SPI Msp Init callback */
|
||||
void (* MspDeInitCallback)(struct __SPI_HandleTypeDef *hspi); /*!< SPI Msp DeInit callback */
|
||||
|
||||
#endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
|
||||
} SPI_HandleTypeDef;
|
||||
|
||||
#if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
|
||||
/**
|
||||
* @brief HAL SPI Callback ID enumeration definition
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
HAL_SPI_TX_COMPLETE_CB_ID = 0x00U, /*!< SPI Tx Completed callback ID */
|
||||
HAL_SPI_RX_COMPLETE_CB_ID = 0x01U, /*!< SPI Rx Completed callback ID */
|
||||
HAL_SPI_TX_RX_COMPLETE_CB_ID = 0x02U, /*!< SPI TxRx Completed callback ID */
|
||||
HAL_SPI_TX_HALF_COMPLETE_CB_ID = 0x03U, /*!< SPI Tx Half Completed callback ID */
|
||||
HAL_SPI_RX_HALF_COMPLETE_CB_ID = 0x04U, /*!< SPI Rx Half Completed callback ID */
|
||||
HAL_SPI_TX_RX_HALF_COMPLETE_CB_ID = 0x05U, /*!< SPI TxRx Half Completed callback ID */
|
||||
HAL_SPI_ERROR_CB_ID = 0x06U, /*!< SPI Error callback ID */
|
||||
HAL_SPI_ABORT_CB_ID = 0x07U, /*!< SPI Abort callback ID */
|
||||
HAL_SPI_MSPINIT_CB_ID = 0x08U, /*!< SPI Msp Init callback ID */
|
||||
HAL_SPI_MSPDEINIT_CB_ID = 0x09U /*!< SPI Msp DeInit callback ID */
|
||||
|
||||
} HAL_SPI_CallbackIDTypeDef;
|
||||
|
||||
/**
|
||||
* @brief HAL SPI Callback pointer definition
|
||||
*/
|
||||
typedef void (*pSPI_CallbackTypeDef)(SPI_HandleTypeDef *hspi); /*!< pointer to an SPI callback function */
|
||||
|
||||
#endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/* Exported constants --------------------------------------------------------*/
|
||||
/** @defgroup SPI_Exported_Constants SPI Exported Constants
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @defgroup SPI_Error_Code SPI Error Code
|
||||
* @{
|
||||
*/
|
||||
#define HAL_SPI_ERROR_NONE (0x00000000U) /*!< No error */
|
||||
#define HAL_SPI_ERROR_MODF (0x00000001U) /*!< MODF error */
|
||||
#define HAL_SPI_ERROR_CRC (0x00000002U) /*!< CRC error */
|
||||
#define HAL_SPI_ERROR_OVR (0x00000004U) /*!< OVR error */
|
||||
#define HAL_SPI_ERROR_FRE (0x00000008U) /*!< FRE error */
|
||||
#define HAL_SPI_ERROR_DMA (0x00000010U) /*!< DMA transfer error */
|
||||
#define HAL_SPI_ERROR_FLAG (0x00000020U) /*!< Error on RXNE/TXE/BSY/FTLVL/FRLVL Flag */
|
||||
#define HAL_SPI_ERROR_ABORT (0x00000040U) /*!< Error during SPI Abort procedure */
|
||||
#if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
|
||||
#define HAL_SPI_ERROR_INVALID_CALLBACK (0x00000080U) /*!< Invalid Callback error */
|
||||
#endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup SPI_Mode SPI Mode
|
||||
* @{
|
||||
*/
|
||||
#define SPI_MODE_SLAVE (0x00000000U)
|
||||
#define SPI_MODE_MASTER (SPI_CR1_MSTR | SPI_CR1_SSI)
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup SPI_Direction SPI Direction Mode
|
||||
* @{
|
||||
*/
|
||||
#define SPI_DIRECTION_2LINES (0x00000000U)
|
||||
#define SPI_DIRECTION_2LINES_RXONLY SPI_CR1_RXONLY
|
||||
#define SPI_DIRECTION_1LINE SPI_CR1_BIDIMODE
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup SPI_Data_Size SPI Data Size
|
||||
* @{
|
||||
*/
|
||||
#define SPI_DATASIZE_4BIT (0x00000300U)
|
||||
#define SPI_DATASIZE_5BIT (0x00000400U)
|
||||
#define SPI_DATASIZE_6BIT (0x00000500U)
|
||||
#define SPI_DATASIZE_7BIT (0x00000600U)
|
||||
#define SPI_DATASIZE_8BIT (0x00000700U)
|
||||
#define SPI_DATASIZE_9BIT (0x00000800U)
|
||||
#define SPI_DATASIZE_10BIT (0x00000900U)
|
||||
#define SPI_DATASIZE_11BIT (0x00000A00U)
|
||||
#define SPI_DATASIZE_12BIT (0x00000B00U)
|
||||
#define SPI_DATASIZE_13BIT (0x00000C00U)
|
||||
#define SPI_DATASIZE_14BIT (0x00000D00U)
|
||||
#define SPI_DATASIZE_15BIT (0x00000E00U)
|
||||
#define SPI_DATASIZE_16BIT (0x00000F00U)
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup SPI_Clock_Polarity SPI Clock Polarity
|
||||
* @{
|
||||
*/
|
||||
#define SPI_POLARITY_LOW (0x00000000U)
|
||||
#define SPI_POLARITY_HIGH SPI_CR1_CPOL
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup SPI_Clock_Phase SPI Clock Phase
|
||||
* @{
|
||||
*/
|
||||
#define SPI_PHASE_1EDGE (0x00000000U)
|
||||
#define SPI_PHASE_2EDGE SPI_CR1_CPHA
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup SPI_Slave_Select_management SPI Slave Select Management
|
||||
* @{
|
||||
*/
|
||||
#define SPI_NSS_SOFT SPI_CR1_SSM
|
||||
#define SPI_NSS_HARD_INPUT (0x00000000U)
|
||||
#define SPI_NSS_HARD_OUTPUT (SPI_CR2_SSOE << 16U)
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup SPI_NSSP_Mode SPI NSS Pulse Mode
|
||||
* @{
|
||||
*/
|
||||
#define SPI_NSS_PULSE_ENABLE SPI_CR2_NSSP
|
||||
#define SPI_NSS_PULSE_DISABLE (0x00000000U)
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup SPI_BaudRate_Prescaler SPI BaudRate Prescaler
|
||||
* @{
|
||||
*/
|
||||
#define SPI_BAUDRATEPRESCALER_2 (0x00000000U)
|
||||
#define SPI_BAUDRATEPRESCALER_4 (SPI_CR1_BR_0)
|
||||
#define SPI_BAUDRATEPRESCALER_8 (SPI_CR1_BR_1)
|
||||
#define SPI_BAUDRATEPRESCALER_16 (SPI_CR1_BR_1 | SPI_CR1_BR_0)
|
||||
#define SPI_BAUDRATEPRESCALER_32 (SPI_CR1_BR_2)
|
||||
#define SPI_BAUDRATEPRESCALER_64 (SPI_CR1_BR_2 | SPI_CR1_BR_0)
|
||||
#define SPI_BAUDRATEPRESCALER_128 (SPI_CR1_BR_2 | SPI_CR1_BR_1)
|
||||
#define SPI_BAUDRATEPRESCALER_256 (SPI_CR1_BR_2 | SPI_CR1_BR_1 | SPI_CR1_BR_0)
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup SPI_MSB_LSB_transmission SPI MSB LSB Transmission
|
||||
* @{
|
||||
*/
|
||||
#define SPI_FIRSTBIT_MSB (0x00000000U)
|
||||
#define SPI_FIRSTBIT_LSB SPI_CR1_LSBFIRST
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup SPI_TI_mode SPI TI Mode
|
||||
* @{
|
||||
*/
|
||||
#define SPI_TIMODE_DISABLE (0x00000000U)
|
||||
#define SPI_TIMODE_ENABLE SPI_CR2_FRF
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup SPI_CRC_Calculation SPI CRC Calculation
|
||||
* @{
|
||||
*/
|
||||
#define SPI_CRCCALCULATION_DISABLE (0x00000000U)
|
||||
#define SPI_CRCCALCULATION_ENABLE SPI_CR1_CRCEN
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup SPI_CRC_length SPI CRC Length
|
||||
* @{
|
||||
* This parameter can be one of the following values:
|
||||
* SPI_CRC_LENGTH_DATASIZE: aligned with the data size
|
||||
* SPI_CRC_LENGTH_8BIT : CRC 8bit
|
||||
* SPI_CRC_LENGTH_16BIT : CRC 16bit
|
||||
*/
|
||||
#define SPI_CRC_LENGTH_DATASIZE (0x00000000U)
|
||||
#define SPI_CRC_LENGTH_8BIT (0x00000001U)
|
||||
#define SPI_CRC_LENGTH_16BIT (0x00000002U)
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup SPI_FIFO_reception_threshold SPI FIFO Reception Threshold
|
||||
* @{
|
||||
* This parameter can be one of the following values:
|
||||
* SPI_RXFIFO_THRESHOLD or SPI_RXFIFO_THRESHOLD_QF :
|
||||
* RXNE event is generated if the FIFO
|
||||
* level is greater or equal to 1/4(8-bits).
|
||||
* SPI_RXFIFO_THRESHOLD_HF: RXNE event is generated if the FIFO
|
||||
* level is greater or equal to 1/2(16 bits). */
|
||||
#define SPI_RXFIFO_THRESHOLD SPI_CR2_FRXTH
|
||||
#define SPI_RXFIFO_THRESHOLD_QF SPI_CR2_FRXTH
|
||||
#define SPI_RXFIFO_THRESHOLD_HF (0x00000000U)
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup SPI_Interrupt_definition SPI Interrupt Definition
|
||||
* @{
|
||||
*/
|
||||
#define SPI_IT_TXE SPI_CR2_TXEIE
|
||||
#define SPI_IT_RXNE SPI_CR2_RXNEIE
|
||||
#define SPI_IT_ERR SPI_CR2_ERRIE
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup SPI_Flags_definition SPI Flags Definition
|
||||
* @{
|
||||
*/
|
||||
#define SPI_FLAG_RXNE SPI_SR_RXNE /* SPI status flag: Rx buffer not empty flag */
|
||||
#define SPI_FLAG_TXE SPI_SR_TXE /* SPI status flag: Tx buffer empty flag */
|
||||
#define SPI_FLAG_BSY SPI_SR_BSY /* SPI status flag: Busy flag */
|
||||
#define SPI_FLAG_CRCERR SPI_SR_CRCERR /* SPI Error flag: CRC error flag */
|
||||
#define SPI_FLAG_MODF SPI_SR_MODF /* SPI Error flag: Mode fault flag */
|
||||
#define SPI_FLAG_OVR SPI_SR_OVR /* SPI Error flag: Overrun flag */
|
||||
#define SPI_FLAG_FRE SPI_SR_FRE /* SPI Error flag: TI mode frame format error flag */
|
||||
#define SPI_FLAG_FTLVL SPI_SR_FTLVL /* SPI fifo transmission level */
|
||||
#define SPI_FLAG_FRLVL SPI_SR_FRLVL /* SPI fifo reception level */
|
||||
#define SPI_FLAG_MASK (SPI_SR_RXNE | SPI_SR_TXE | SPI_SR_BSY | SPI_SR_CRCERR\
|
||||
| SPI_SR_MODF | SPI_SR_OVR | SPI_SR_FRE | SPI_SR_FTLVL | SPI_SR_FRLVL)
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup SPI_transmission_fifo_status_level SPI Transmission FIFO Status Level
|
||||
* @{
|
||||
*/
|
||||
#define SPI_FTLVL_EMPTY (0x00000000U)
|
||||
#define SPI_FTLVL_QUARTER_FULL (0x00000800U)
|
||||
#define SPI_FTLVL_HALF_FULL (0x00001000U)
|
||||
#define SPI_FTLVL_FULL (0x00001800U)
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @defgroup SPI_reception_fifo_status_level SPI Reception FIFO Status Level
|
||||
* @{
|
||||
*/
|
||||
#define SPI_FRLVL_EMPTY (0x00000000U)
|
||||
#define SPI_FRLVL_QUARTER_FULL (0x00000200U)
|
||||
#define SPI_FRLVL_HALF_FULL (0x00000400U)
|
||||
#define SPI_FRLVL_FULL (0x00000600U)
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/* Exported macros -----------------------------------------------------------*/
|
||||
/** @defgroup SPI_Exported_Macros SPI Exported Macros
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @brief Reset SPI handle state.
|
||||
* @param __HANDLE__ specifies the SPI Handle.
|
||||
* This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
|
||||
* @retval None
|
||||
*/
|
||||
#if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
|
||||
#define __HAL_SPI_RESET_HANDLE_STATE(__HANDLE__) \
|
||||
do{ \
|
||||
(__HANDLE__)->State = HAL_SPI_STATE_RESET; \
|
||||
(__HANDLE__)->MspInitCallback = NULL; \
|
||||
(__HANDLE__)->MspDeInitCallback = NULL; \
|
||||
} while(0)
|
||||
#else
|
||||
#define __HAL_SPI_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_SPI_STATE_RESET)
|
||||
#endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
|
||||
|
||||
/** @brief Enable the specified SPI interrupts.
|
||||
* @param __HANDLE__ specifies the SPI Handle.
|
||||
* This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
|
||||
* @param __INTERRUPT__ specifies the interrupt source to enable.
|
||||
* This parameter can be one of the following values:
|
||||
* @arg SPI_IT_TXE: Tx buffer empty interrupt enable
|
||||
* @arg SPI_IT_RXNE: RX buffer not empty interrupt enable
|
||||
* @arg SPI_IT_ERR: Error interrupt enable
|
||||
* @retval None
|
||||
*/
|
||||
#define __HAL_SPI_ENABLE_IT(__HANDLE__, __INTERRUPT__) SET_BIT((__HANDLE__)->Instance->CR2, (__INTERRUPT__))
|
||||
|
||||
/** @brief Disable the specified SPI interrupts.
|
||||
* @param __HANDLE__ specifies the SPI handle.
|
||||
* This parameter can be SPIx where x: 1, 2, or 3 to select the SPI peripheral.
|
||||
* @param __INTERRUPT__ specifies the interrupt source to disable.
|
||||
* This parameter can be one of the following values:
|
||||
* @arg SPI_IT_TXE: Tx buffer empty interrupt enable
|
||||
* @arg SPI_IT_RXNE: RX buffer not empty interrupt enable
|
||||
* @arg SPI_IT_ERR: Error interrupt enable
|
||||
* @retval None
|
||||
*/
|
||||
#define __HAL_SPI_DISABLE_IT(__HANDLE__, __INTERRUPT__) CLEAR_BIT((__HANDLE__)->Instance->CR2, (__INTERRUPT__))
|
||||
|
||||
/** @brief Check whether the specified SPI interrupt source is enabled or not.
|
||||
* @param __HANDLE__ specifies the SPI Handle.
|
||||
* This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
|
||||
* @param __INTERRUPT__ specifies the SPI interrupt source to check.
|
||||
* This parameter can be one of the following values:
|
||||
* @arg SPI_IT_TXE: Tx buffer empty interrupt enable
|
||||
* @arg SPI_IT_RXNE: RX buffer not empty interrupt enable
|
||||
* @arg SPI_IT_ERR: Error interrupt enable
|
||||
* @retval The new state of __IT__ (TRUE or FALSE).
|
||||
*/
|
||||
#define __HAL_SPI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((((__HANDLE__)->Instance->CR2\
|
||||
& (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET)
|
||||
|
||||
/** @brief Check whether the specified SPI flag is set or not.
|
||||
* @param __HANDLE__ specifies the SPI Handle.
|
||||
* This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
|
||||
* @param __FLAG__ specifies the flag to check.
|
||||
* This parameter can be one of the following values:
|
||||
* @arg SPI_FLAG_RXNE: Receive buffer not empty flag
|
||||
* @arg SPI_FLAG_TXE: Transmit buffer empty flag
|
||||
* @arg SPI_FLAG_CRCERR: CRC error flag
|
||||
* @arg SPI_FLAG_MODF: Mode fault flag
|
||||
* @arg SPI_FLAG_OVR: Overrun flag
|
||||
* @arg SPI_FLAG_BSY: Busy flag
|
||||
* @arg SPI_FLAG_FRE: Frame format error flag
|
||||
* @arg SPI_FLAG_FTLVL: SPI fifo transmission level
|
||||
* @arg SPI_FLAG_FRLVL: SPI fifo reception level
|
||||
* @retval The new state of __FLAG__ (TRUE or FALSE).
|
||||
*/
|
||||
#define __HAL_SPI_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__))
|
||||
|
||||
/** @brief Clear the SPI CRCERR pending flag.
|
||||
* @param __HANDLE__ specifies the SPI Handle.
|
||||
* This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
|
||||
* @retval None
|
||||
*/
|
||||
#define __HAL_SPI_CLEAR_CRCERRFLAG(__HANDLE__) ((__HANDLE__)->Instance->SR = (uint16_t)(~SPI_FLAG_CRCERR))
|
||||
|
||||
/** @brief Clear the SPI MODF pending flag.
|
||||
* @param __HANDLE__ specifies the SPI Handle.
|
||||
* This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
|
||||
* @retval None
|
||||
*/
|
||||
#define __HAL_SPI_CLEAR_MODFFLAG(__HANDLE__) \
|
||||
do{ \
|
||||
__IO uint32_t tmpreg_modf = 0x00U; \
|
||||
tmpreg_modf = (__HANDLE__)->Instance->SR; \
|
||||
CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_SPE); \
|
||||
UNUSED(tmpreg_modf); \
|
||||
} while(0U)
|
||||
|
||||
/** @brief Clear the SPI OVR pending flag.
|
||||
* @param __HANDLE__ specifies the SPI Handle.
|
||||
* This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
|
||||
* @retval None
|
||||
*/
|
||||
#define __HAL_SPI_CLEAR_OVRFLAG(__HANDLE__) \
|
||||
do{ \
|
||||
__IO uint32_t tmpreg_ovr = 0x00U; \
|
||||
tmpreg_ovr = (__HANDLE__)->Instance->DR; \
|
||||
tmpreg_ovr = (__HANDLE__)->Instance->SR; \
|
||||
UNUSED(tmpreg_ovr); \
|
||||
} while(0U)
|
||||
|
||||
/** @brief Clear the SPI FRE pending flag.
|
||||
* @param __HANDLE__ specifies the SPI Handle.
|
||||
* This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
|
||||
* @retval None
|
||||
*/
|
||||
#define __HAL_SPI_CLEAR_FREFLAG(__HANDLE__) \
|
||||
do{ \
|
||||
__IO uint32_t tmpreg_fre = 0x00U; \
|
||||
tmpreg_fre = (__HANDLE__)->Instance->SR; \
|
||||
UNUSED(tmpreg_fre); \
|
||||
} while(0U)
|
||||
|
||||
/** @brief Enable the SPI peripheral.
|
||||
* @param __HANDLE__ specifies the SPI Handle.
|
||||
* This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
|
||||
* @retval None
|
||||
*/
|
||||
#define __HAL_SPI_ENABLE(__HANDLE__) SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_SPE)
|
||||
|
||||
/** @brief Disable the SPI peripheral.
|
||||
* @param __HANDLE__ specifies the SPI Handle.
|
||||
* This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
|
||||
* @retval None
|
||||
*/
|
||||
#define __HAL_SPI_DISABLE(__HANDLE__) CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_SPE)
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/* Private macros ------------------------------------------------------------*/
|
||||
/** @defgroup SPI_Private_Macros SPI Private Macros
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @brief Set the SPI transmit-only mode.
|
||||
* @param __HANDLE__ specifies the SPI Handle.
|
||||
* This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
|
||||
* @retval None
|
||||
*/
|
||||
#define SPI_1LINE_TX(__HANDLE__) SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_BIDIOE)
|
||||
|
||||
/** @brief Set the SPI receive-only mode.
|
||||
* @param __HANDLE__ specifies the SPI Handle.
|
||||
* This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
|
||||
* @retval None
|
||||
*/
|
||||
#define SPI_1LINE_RX(__HANDLE__) CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_BIDIOE)
|
||||
|
||||
/** @brief Reset the CRC calculation of the SPI.
|
||||
* @param __HANDLE__ specifies the SPI Handle.
|
||||
* This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.
|
||||
* @retval None
|
||||
*/
|
||||
#define SPI_RESET_CRC(__HANDLE__) \
|
||||
do{ \
|
||||
CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_CRCEN); \
|
||||
SET_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_CRCEN); \
|
||||
} while(0U)
|
||||
|
||||
/** @brief Check whether the specified SPI flag is set or not.
|
||||
* @param __SR__ copy of SPI SR register.
|
||||
* @param __FLAG__ specifies the flag to check.
|
||||
* This parameter can be one of the following values:
|
||||
* @arg SPI_FLAG_RXNE: Receive buffer not empty flag
|
||||
* @arg SPI_FLAG_TXE: Transmit buffer empty flag
|
||||
* @arg SPI_FLAG_CRCERR: CRC error flag
|
||||
* @arg SPI_FLAG_MODF: Mode fault flag
|
||||
* @arg SPI_FLAG_OVR: Overrun flag
|
||||
* @arg SPI_FLAG_BSY: Busy flag
|
||||
* @arg SPI_FLAG_FRE: Frame format error flag
|
||||
* @arg SPI_FLAG_FTLVL: SPI fifo transmission level
|
||||
* @arg SPI_FLAG_FRLVL: SPI fifo reception level
|
||||
* @retval SET or RESET.
|
||||
*/
|
||||
#define SPI_CHECK_FLAG(__SR__, __FLAG__) ((((__SR__) & ((__FLAG__) & SPI_FLAG_MASK)) == \
|
||||
((__FLAG__) & SPI_FLAG_MASK)) ? SET : RESET)
|
||||
|
||||
/** @brief Check whether the specified SPI Interrupt is set or not.
|
||||
* @param __CR2__ copy of SPI CR2 register.
|
||||
* @param __INTERRUPT__ specifies the SPI interrupt source to check.
|
||||
* This parameter can be one of the following values:
|
||||
* @arg SPI_IT_TXE: Tx buffer empty interrupt enable
|
||||
* @arg SPI_IT_RXNE: RX buffer not empty interrupt enable
|
||||
* @arg SPI_IT_ERR: Error interrupt enable
|
||||
* @retval SET or RESET.
|
||||
*/
|
||||
#define SPI_CHECK_IT_SOURCE(__CR2__, __INTERRUPT__) ((((__CR2__) & (__INTERRUPT__)) == \
|
||||
(__INTERRUPT__)) ? SET : RESET)
|
||||
|
||||
/** @brief Checks if SPI Mode parameter is in allowed range.
|
||||
* @param __MODE__ specifies the SPI Mode.
|
||||
* This parameter can be a value of @ref SPI_Mode
|
||||
* @retval None
|
||||
*/
|
||||
#define IS_SPI_MODE(__MODE__) (((__MODE__) == SPI_MODE_SLAVE) || \
|
||||
((__MODE__) == SPI_MODE_MASTER))
|
||||
|
||||
/** @brief Checks if SPI Direction Mode parameter is in allowed range.
|
||||
* @param __MODE__ specifies the SPI Direction Mode.
|
||||
* This parameter can be a value of @ref SPI_Direction
|
||||
* @retval None
|
||||
*/
|
||||
#define IS_SPI_DIRECTION(__MODE__) (((__MODE__) == SPI_DIRECTION_2LINES) || \
|
||||
((__MODE__) == SPI_DIRECTION_2LINES_RXONLY) || \
|
||||
((__MODE__) == SPI_DIRECTION_1LINE))
|
||||
|
||||
/** @brief Checks if SPI Direction Mode parameter is 2 lines.
|
||||
* @param __MODE__ specifies the SPI Direction Mode.
|
||||
* @retval None
|
||||
*/
|
||||
#define IS_SPI_DIRECTION_2LINES(__MODE__) ((__MODE__) == SPI_DIRECTION_2LINES)
|
||||
|
||||
/** @brief Checks if SPI Direction Mode parameter is 1 or 2 lines.
|
||||
* @param __MODE__ specifies the SPI Direction Mode.
|
||||
* @retval None
|
||||
*/
|
||||
#define IS_SPI_DIRECTION_2LINES_OR_1LINE(__MODE__) (((__MODE__) == SPI_DIRECTION_2LINES) || \
|
||||
((__MODE__) == SPI_DIRECTION_1LINE))
|
||||
|
||||
/** @brief Checks if SPI Data Size parameter is in allowed range.
|
||||
* @param __DATASIZE__ specifies the SPI Data Size.
|
||||
* This parameter can be a value of @ref SPI_Data_Size
|
||||
* @retval None
|
||||
*/
|
||||
#define IS_SPI_DATASIZE(__DATASIZE__) (((__DATASIZE__) == SPI_DATASIZE_16BIT) || \
|
||||
((__DATASIZE__) == SPI_DATASIZE_15BIT) || \
|
||||
((__DATASIZE__) == SPI_DATASIZE_14BIT) || \
|
||||
((__DATASIZE__) == SPI_DATASIZE_13BIT) || \
|
||||
((__DATASIZE__) == SPI_DATASIZE_12BIT) || \
|
||||
((__DATASIZE__) == SPI_DATASIZE_11BIT) || \
|
||||
((__DATASIZE__) == SPI_DATASIZE_10BIT) || \
|
||||
((__DATASIZE__) == SPI_DATASIZE_9BIT) || \
|
||||
((__DATASIZE__) == SPI_DATASIZE_8BIT) || \
|
||||
((__DATASIZE__) == SPI_DATASIZE_7BIT) || \
|
||||
((__DATASIZE__) == SPI_DATASIZE_6BIT) || \
|
||||
((__DATASIZE__) == SPI_DATASIZE_5BIT) || \
|
||||
((__DATASIZE__) == SPI_DATASIZE_4BIT))
|
||||
|
||||
/** @brief Checks if SPI Serial clock steady state parameter is in allowed range.
|
||||
* @param __CPOL__ specifies the SPI serial clock steady state.
|
||||
* This parameter can be a value of @ref SPI_Clock_Polarity
|
||||
* @retval None
|
||||
*/
|
||||
#define IS_SPI_CPOL(__CPOL__) (((__CPOL__) == SPI_POLARITY_LOW) || \
|
||||
((__CPOL__) == SPI_POLARITY_HIGH))
|
||||
|
||||
/** @brief Checks if SPI Clock Phase parameter is in allowed range.
|
||||
* @param __CPHA__ specifies the SPI Clock Phase.
|
||||
* This parameter can be a value of @ref SPI_Clock_Phase
|
||||
* @retval None
|
||||
*/
|
||||
#define IS_SPI_CPHA(__CPHA__) (((__CPHA__) == SPI_PHASE_1EDGE) || \
|
||||
((__CPHA__) == SPI_PHASE_2EDGE))
|
||||
|
||||
/** @brief Checks if SPI Slave Select parameter is in allowed range.
|
||||
* @param __NSS__ specifies the SPI Slave Select management parameter.
|
||||
* This parameter can be a value of @ref SPI_Slave_Select_management
|
||||
* @retval None
|
||||
*/
|
||||
#define IS_SPI_NSS(__NSS__) (((__NSS__) == SPI_NSS_SOFT) || \
|
||||
((__NSS__) == SPI_NSS_HARD_INPUT) || \
|
||||
((__NSS__) == SPI_NSS_HARD_OUTPUT))
|
||||
|
||||
/** @brief Checks if SPI NSS Pulse parameter is in allowed range.
|
||||
* @param __NSSP__ specifies the SPI NSS Pulse Mode parameter.
|
||||
* This parameter can be a value of @ref SPI_NSSP_Mode
|
||||
* @retval None
|
||||
*/
|
||||
#define IS_SPI_NSSP(__NSSP__) (((__NSSP__) == SPI_NSS_PULSE_ENABLE) || \
|
||||
((__NSSP__) == SPI_NSS_PULSE_DISABLE))
|
||||
|
||||
/** @brief Checks if SPI Baudrate prescaler parameter is in allowed range.
|
||||
* @param __PRESCALER__ specifies the SPI Baudrate prescaler.
|
||||
* This parameter can be a value of @ref SPI_BaudRate_Prescaler
|
||||
* @retval None
|
||||
*/
|
||||
#define IS_SPI_BAUDRATE_PRESCALER(__PRESCALER__) (((__PRESCALER__) == SPI_BAUDRATEPRESCALER_2) || \
|
||||
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_4) || \
|
||||
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_8) || \
|
||||
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_16) || \
|
||||
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_32) || \
|
||||
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_64) || \
|
||||
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_128) || \
|
||||
((__PRESCALER__) == SPI_BAUDRATEPRESCALER_256))
|
||||
|
||||
/** @brief Checks if SPI MSB LSB transmission parameter is in allowed range.
|
||||
* @param __BIT__ specifies the SPI MSB LSB transmission (whether data transfer starts from MSB or LSB bit).
|
||||
* This parameter can be a value of @ref SPI_MSB_LSB_transmission
|
||||
* @retval None
|
||||
*/
|
||||
#define IS_SPI_FIRST_BIT(__BIT__) (((__BIT__) == SPI_FIRSTBIT_MSB) || \
|
||||
((__BIT__) == SPI_FIRSTBIT_LSB))
|
||||
|
||||
/** @brief Checks if SPI TI mode parameter is in allowed range.
|
||||
* @param __MODE__ specifies the SPI TI mode.
|
||||
* This parameter can be a value of @ref SPI_TI_mode
|
||||
* @retval None
|
||||
*/
|
||||
#define IS_SPI_TIMODE(__MODE__) (((__MODE__) == SPI_TIMODE_DISABLE) || \
|
||||
((__MODE__) == SPI_TIMODE_ENABLE))
|
||||
|
||||
/** @brief Checks if SPI CRC calculation enabled state is in allowed range.
|
||||
* @param __CALCULATION__ specifies the SPI CRC calculation enable state.
|
||||
* This parameter can be a value of @ref SPI_CRC_Calculation
|
||||
* @retval None
|
||||
*/
|
||||
#define IS_SPI_CRC_CALCULATION(__CALCULATION__) (((__CALCULATION__) == SPI_CRCCALCULATION_DISABLE) || \
|
||||
((__CALCULATION__) == SPI_CRCCALCULATION_ENABLE))
|
||||
|
||||
/** @brief Checks if SPI CRC length is in allowed range.
|
||||
* @param __LENGTH__ specifies the SPI CRC length.
|
||||
* This parameter can be a value of @ref SPI_CRC_length
|
||||
* @retval None
|
||||
*/
|
||||
#define IS_SPI_CRC_LENGTH(__LENGTH__) (((__LENGTH__) == SPI_CRC_LENGTH_DATASIZE) || \
|
||||
((__LENGTH__) == SPI_CRC_LENGTH_8BIT) || \
|
||||
((__LENGTH__) == SPI_CRC_LENGTH_16BIT))
|
||||
|
||||
/** @brief Checks if SPI polynomial value to be used for the CRC calculation, is in allowed range.
|
||||
* @param __POLYNOMIAL__ specifies the SPI polynomial value to be used for the CRC calculation.
|
||||
* This parameter must be a number between Min_Data = 0 and Max_Data = 65535
|
||||
* @retval None
|
||||
*/
|
||||
#define IS_SPI_CRC_POLYNOMIAL(__POLYNOMIAL__) (((__POLYNOMIAL__) >= 0x1U) && \
|
||||
((__POLYNOMIAL__) <= 0xFFFFU) && \
|
||||
(((__POLYNOMIAL__)&0x1U) != 0U))
|
||||
|
||||
/** @brief Checks if DMA handle is valid.
|
||||
* @param __HANDLE__ specifies a DMA Handle.
|
||||
* @retval None
|
||||
*/
|
||||
#define IS_SPI_DMA_HANDLE(__HANDLE__) ((__HANDLE__) != NULL)
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/* Include SPI HAL Extended module */
|
||||
#include "stm32l4xx_hal_spi_ex.h"
|
||||
|
||||
/* Exported functions --------------------------------------------------------*/
|
||||
/** @addtogroup SPI_Exported_Functions
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @addtogroup SPI_Exported_Functions_Group1
|
||||
* @{
|
||||
*/
|
||||
/* Initialization/de-initialization functions ********************************/
|
||||
HAL_StatusTypeDef HAL_SPI_Init(SPI_HandleTypeDef *hspi);
|
||||
HAL_StatusTypeDef HAL_SPI_DeInit(SPI_HandleTypeDef *hspi);
|
||||
void HAL_SPI_MspInit(SPI_HandleTypeDef *hspi);
|
||||
void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi);
|
||||
|
||||
/* Callbacks Register/UnRegister functions ***********************************/
|
||||
#if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
|
||||
HAL_StatusTypeDef HAL_SPI_RegisterCallback(SPI_HandleTypeDef *hspi, HAL_SPI_CallbackIDTypeDef CallbackID,
|
||||
pSPI_CallbackTypeDef pCallback);
|
||||
HAL_StatusTypeDef HAL_SPI_UnRegisterCallback(SPI_HandleTypeDef *hspi, HAL_SPI_CallbackIDTypeDef CallbackID);
|
||||
#endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @addtogroup SPI_Exported_Functions_Group2
|
||||
* @{
|
||||
*/
|
||||
/* I/O operation functions ***************************************************/
|
||||
HAL_StatusTypeDef HAL_SPI_Transmit(SPI_HandleTypeDef *hspi, const uint8_t *pData, uint16_t Size, uint32_t Timeout);
|
||||
HAL_StatusTypeDef HAL_SPI_Receive(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size, uint32_t Timeout);
|
||||
HAL_StatusTypeDef HAL_SPI_TransmitReceive(SPI_HandleTypeDef *hspi, const uint8_t *pTxData, uint8_t *pRxData,
|
||||
uint16_t Size, uint32_t Timeout);
|
||||
HAL_StatusTypeDef HAL_SPI_Transmit_IT(SPI_HandleTypeDef *hspi, const uint8_t *pData, uint16_t Size);
|
||||
HAL_StatusTypeDef HAL_SPI_Receive_IT(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size);
|
||||
HAL_StatusTypeDef HAL_SPI_TransmitReceive_IT(SPI_HandleTypeDef *hspi, const uint8_t *pTxData, uint8_t *pRxData,
|
||||
uint16_t Size);
|
||||
HAL_StatusTypeDef HAL_SPI_Transmit_DMA(SPI_HandleTypeDef *hspi, const uint8_t *pData, uint16_t Size);
|
||||
HAL_StatusTypeDef HAL_SPI_Receive_DMA(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size);
|
||||
HAL_StatusTypeDef HAL_SPI_TransmitReceive_DMA(SPI_HandleTypeDef *hspi, const uint8_t *pTxData, uint8_t *pRxData,
|
||||
uint16_t Size);
|
||||
HAL_StatusTypeDef HAL_SPI_DMAPause(SPI_HandleTypeDef *hspi);
|
||||
HAL_StatusTypeDef HAL_SPI_DMAResume(SPI_HandleTypeDef *hspi);
|
||||
HAL_StatusTypeDef HAL_SPI_DMAStop(SPI_HandleTypeDef *hspi);
|
||||
/* Transfer Abort functions */
|
||||
HAL_StatusTypeDef HAL_SPI_Abort(SPI_HandleTypeDef *hspi);
|
||||
HAL_StatusTypeDef HAL_SPI_Abort_IT(SPI_HandleTypeDef *hspi);
|
||||
|
||||
void HAL_SPI_IRQHandler(SPI_HandleTypeDef *hspi);
|
||||
void HAL_SPI_TxCpltCallback(SPI_HandleTypeDef *hspi);
|
||||
void HAL_SPI_RxCpltCallback(SPI_HandleTypeDef *hspi);
|
||||
void HAL_SPI_TxRxCpltCallback(SPI_HandleTypeDef *hspi);
|
||||
void HAL_SPI_TxHalfCpltCallback(SPI_HandleTypeDef *hspi);
|
||||
void HAL_SPI_RxHalfCpltCallback(SPI_HandleTypeDef *hspi);
|
||||
void HAL_SPI_TxRxHalfCpltCallback(SPI_HandleTypeDef *hspi);
|
||||
void HAL_SPI_ErrorCallback(SPI_HandleTypeDef *hspi);
|
||||
void HAL_SPI_AbortCpltCallback(SPI_HandleTypeDef *hspi);
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @addtogroup SPI_Exported_Functions_Group3
|
||||
* @{
|
||||
*/
|
||||
/* Peripheral State and Error functions ***************************************/
|
||||
HAL_SPI_StateTypeDef HAL_SPI_GetState(const SPI_HandleTypeDef *hspi);
|
||||
uint32_t HAL_SPI_GetError(const SPI_HandleTypeDef *hspi);
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* STM32L4xx_HAL_SPI_H */
|
||||
|
||||
|
|
@ -0,0 +1,73 @@
|
|||
/**
|
||||
******************************************************************************
|
||||
* @file stm32l4xx_hal_spi_ex.h
|
||||
* @author MCD Application Team
|
||||
* @brief Header file of SPI HAL Extended module.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2017 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.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef STM32L4xx_HAL_SPI_EX_H
|
||||
#define STM32L4xx_HAL_SPI_EX_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32l4xx_hal_def.h"
|
||||
|
||||
/** @addtogroup STM32L4xx_HAL_Driver
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @addtogroup SPIEx
|
||||
* @{
|
||||
*/
|
||||
|
||||
/* Exported types ------------------------------------------------------------*/
|
||||
/* Exported constants --------------------------------------------------------*/
|
||||
/* Exported macros -----------------------------------------------------------*/
|
||||
/* Exported functions --------------------------------------------------------*/
|
||||
/** @addtogroup SPIEx_Exported_Functions
|
||||
* @{
|
||||
*/
|
||||
|
||||
/* Initialization and de-initialization functions ****************************/
|
||||
/* IO operation functions *****************************************************/
|
||||
/** @addtogroup SPIEx_Exported_Functions_Group1
|
||||
* @{
|
||||
*/
|
||||
HAL_StatusTypeDef HAL_SPIEx_FlushRxFifo(const SPI_HandleTypeDef *hspi);
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* STM32L4xx_HAL_SPI_EX_H */
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,112 @@
|
|||
/**
|
||||
******************************************************************************
|
||||
* @file stm32l4xx_hal_spi_ex.c
|
||||
* @author MCD Application Team
|
||||
* @brief Extended SPI HAL module driver.
|
||||
* This file provides firmware functions to manage the following
|
||||
* SPI peripheral extended functionalities :
|
||||
* + IO operation functions
|
||||
*
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2017 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.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32l4xx_hal.h"
|
||||
|
||||
/** @addtogroup STM32L4xx_HAL_Driver
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @defgroup SPIEx SPIEx
|
||||
* @brief SPI Extended HAL module driver
|
||||
* @{
|
||||
*/
|
||||
#ifdef HAL_SPI_MODULE_ENABLED
|
||||
|
||||
/* Private typedef -----------------------------------------------------------*/
|
||||
/* Private defines -----------------------------------------------------------*/
|
||||
/** @defgroup SPIEx_Private_Constants SPIEx Private Constants
|
||||
* @{
|
||||
*/
|
||||
#define SPI_FIFO_SIZE 4UL
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/* Private macros ------------------------------------------------------------*/
|
||||
/* Private variables ---------------------------------------------------------*/
|
||||
/* Private function prototypes -----------------------------------------------*/
|
||||
/* Exported functions --------------------------------------------------------*/
|
||||
|
||||
/** @defgroup SPIEx_Exported_Functions SPIEx Exported Functions
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @defgroup SPIEx_Exported_Functions_Group1 IO operation functions
|
||||
* @brief Data transfers functions
|
||||
*
|
||||
@verbatim
|
||||
==============================================================================
|
||||
##### IO operation functions #####
|
||||
===============================================================================
|
||||
[..]
|
||||
This subsection provides a set of extended functions to manage the SPI
|
||||
data transfers.
|
||||
|
||||
(#) Rx data flush function:
|
||||
(++) HAL_SPIEx_FlushRxFifo()
|
||||
|
||||
@endverbatim
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Flush the RX fifo.
|
||||
* @param hspi pointer to a SPI_HandleTypeDef structure that contains
|
||||
* the configuration information for the specified SPI module.
|
||||
* @retval HAL status
|
||||
*/
|
||||
HAL_StatusTypeDef HAL_SPIEx_FlushRxFifo(const SPI_HandleTypeDef *hspi)
|
||||
{
|
||||
__IO uint32_t tmpreg;
|
||||
uint8_t count = 0U;
|
||||
while ((hspi->Instance->SR & SPI_FLAG_FRLVL) != SPI_FRLVL_EMPTY)
|
||||
{
|
||||
count++;
|
||||
tmpreg = hspi->Instance->DR;
|
||||
UNUSED(tmpreg); /* To avoid GCC warning */
|
||||
if (count == SPI_FIFO_SIZE)
|
||||
{
|
||||
return HAL_TIMEOUT;
|
||||
}
|
||||
}
|
||||
return HAL_OK;
|
||||
}
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
#endif /* HAL_SPI_MODULE_ENABLED */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
@ -11,30 +11,37 @@ Mcu.Family=STM32L4
|
|||
Mcu.IP0=I2C1
|
||||
Mcu.IP1=NVIC
|
||||
Mcu.IP2=RCC
|
||||
Mcu.IP3=SYS
|
||||
Mcu.IP4=USART2
|
||||
Mcu.IPNb=5
|
||||
Mcu.IP3=SPI1
|
||||
Mcu.IP4=SYS
|
||||
Mcu.IP5=USART2
|
||||
Mcu.IPNb=6
|
||||
Mcu.Name=STM32L452RETxP
|
||||
Mcu.Package=LQFP64
|
||||
Mcu.Pin0=PC13
|
||||
Mcu.Pin1=PC14-OSC32_IN (PC14)
|
||||
Mcu.Pin10=PA7
|
||||
Mcu.Pin11=PB13
|
||||
Mcu.Pin12=PA13 (JTMS/SWDIO)
|
||||
Mcu.Pin13=PA14 (JTCK/SWCLK)
|
||||
Mcu.Pin14=PB3 (JTDO/TRACESWO)
|
||||
Mcu.Pin15=PB8
|
||||
Mcu.Pin16=PB9
|
||||
Mcu.Pin17=VP_SYS_VS_Systick
|
||||
Mcu.Pin10=PA6
|
||||
Mcu.Pin11=PA7
|
||||
Mcu.Pin12=PB0
|
||||
Mcu.Pin13=PB1
|
||||
Mcu.Pin14=PB2
|
||||
Mcu.Pin15=PB13
|
||||
Mcu.Pin16=PA11
|
||||
Mcu.Pin17=PA12
|
||||
Mcu.Pin18=PA13 (JTMS/SWDIO)
|
||||
Mcu.Pin19=PA14 (JTCK/SWCLK)
|
||||
Mcu.Pin2=PC15-OSC32_OUT (PC15)
|
||||
Mcu.Pin20=PB3 (JTDO/TRACESWO)
|
||||
Mcu.Pin21=PB8
|
||||
Mcu.Pin22=PB9
|
||||
Mcu.Pin23=VP_SYS_VS_Systick
|
||||
Mcu.Pin3=PH0-OSC_IN (PH0)
|
||||
Mcu.Pin4=PH1-OSC_OUT (PH1)
|
||||
Mcu.Pin5=PA2
|
||||
Mcu.Pin6=PA3
|
||||
Mcu.Pin7=PA4
|
||||
Mcu.Pin8=PA5
|
||||
Mcu.Pin9=PA6
|
||||
Mcu.PinsNb=18
|
||||
Mcu.Pin5=PA1
|
||||
Mcu.Pin6=PA2
|
||||
Mcu.Pin7=PA3
|
||||
Mcu.Pin8=PA4
|
||||
Mcu.Pin9=PA5
|
||||
Mcu.PinsNb=24
|
||||
Mcu.ThirdPartyNb=0
|
||||
Mcu.UserConstants=
|
||||
Mcu.UserName=STM32L452RETxP
|
||||
|
|
@ -51,6 +58,12 @@ NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
|||
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true\:true\:false\:false
|
||||
NVIC.SysTick_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:false
|
||||
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:true\:false\:false
|
||||
PA1.Mode=Full_Duplex_Master
|
||||
PA1.Signal=SPI1_SCK
|
||||
PA11.Mode=Full_Duplex_Master
|
||||
PA11.Signal=SPI1_MISO
|
||||
PA12.Mode=Full_Duplex_Master
|
||||
PA12.Signal=SPI1_MOSI
|
||||
PA13\ (JTMS/SWDIO).GPIOParameters=GPIO_Label
|
||||
PA13\ (JTMS/SWDIO).GPIO_Label=TMS
|
||||
PA13\ (JTMS/SWDIO).Locked=true
|
||||
|
|
@ -97,10 +110,24 @@ PA7.GPIOParameters=GPIO_Label
|
|||
PA7.GPIO_Label=SMPS_SW [TS3A44159PWR_IN1_2]
|
||||
PA7.Locked=true
|
||||
PA7.Signal=GPIO_Output
|
||||
PB0.GPIOParameters=GPIO_Speed,PinState
|
||||
PB0.GPIO_Speed=GPIO_SPEED_FREQ_VERY_HIGH
|
||||
PB0.Locked=true
|
||||
PB0.PinState=GPIO_PIN_SET
|
||||
PB0.Signal=GPIO_Output
|
||||
PB1.GPIOParameters=GPIO_Speed
|
||||
PB1.GPIO_Speed=GPIO_SPEED_FREQ_VERY_HIGH
|
||||
PB1.Locked=true
|
||||
PB1.Signal=GPIO_Output
|
||||
PB13.GPIOParameters=GPIO_Label
|
||||
PB13.GPIO_Label=LD4 [green Led]
|
||||
PB13.Locked=true
|
||||
PB13.Signal=GPIO_Output
|
||||
PB2.GPIOParameters=GPIO_Speed,PinState
|
||||
PB2.GPIO_Speed=GPIO_SPEED_FREQ_VERY_HIGH
|
||||
PB2.Locked=true
|
||||
PB2.PinState=GPIO_PIN_SET
|
||||
PB2.Signal=GPIO_Output
|
||||
PB3\ (JTDO/TRACESWO).GPIOParameters=GPIO_Label
|
||||
PB3\ (JTDO/TRACESWO).GPIO_Label=SWO
|
||||
PB3\ (JTDO/TRACESWO).Locked=true
|
||||
|
|
@ -152,8 +179,8 @@ ProjectManager.MainLocation=Core/Src
|
|||
ProjectManager.NoMain=false
|
||||
ProjectManager.PreviousToolchain=STM32CubeIDE
|
||||
ProjectManager.ProjectBuild=false
|
||||
ProjectManager.ProjectFileName=Scanner I2C.ioc
|
||||
ProjectManager.ProjectName=Scanner I2C
|
||||
ProjectManager.ProjectFileName=moto-perf.ioc
|
||||
ProjectManager.ProjectName=moto-perf
|
||||
ProjectManager.ProjectStructure=
|
||||
ProjectManager.RegisterCallBack=
|
||||
ProjectManager.StackSize=0x800
|
||||
|
|
@ -162,7 +189,7 @@ ProjectManager.ToolChainLocation=
|
|||
ProjectManager.UAScriptAfterPath=
|
||||
ProjectManager.UAScriptBeforePath=
|
||||
ProjectManager.UnderRoot=true
|
||||
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_I2C1_Init-I2C1-false-HAL-true,4-MX_USART2_UART_Init-USART2-false-HAL-true
|
||||
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_I2C1_Init-I2C1-false-HAL-true,4-MX_USART2_UART_Init-USART2-false-HAL-true,5-MX_SPI1_Init-SPI1-false-HAL-true
|
||||
RCC.ADCFreq_Value=64000000
|
||||
RCC.AHBFreq_Value=80000000
|
||||
RCC.APB1Freq_Value=80000000
|
||||
|
|
@ -217,6 +244,13 @@ RCC.VCOSAI1OutputFreq_Value=128000000
|
|||
RCC.VCOSAI2OutputFreq_Value=128000000
|
||||
SH.GPXTI13.0=GPIO_EXTI13
|
||||
SH.GPXTI13.ConfNb=1
|
||||
SPI1.BaudRatePrescaler=SPI_BAUDRATEPRESCALER_4
|
||||
SPI1.CalculateBaudRate=20.0 MBits/s
|
||||
SPI1.DataSize=SPI_DATASIZE_8BIT
|
||||
SPI1.Direction=SPI_DIRECTION_2LINES
|
||||
SPI1.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate,BaudRatePrescaler,DataSize
|
||||
SPI1.Mode=SPI_MODE_MASTER
|
||||
SPI1.VirtualType=VM_MASTER
|
||||
USART2.IPParameters=VirtualMode-Asynchronous
|
||||
USART2.VirtualMode-Asynchronous=VM_ASYNC
|
||||
VP_SYS_VS_Systick.Mode=SysTick
|
||||
|
|
|
|||
Loading…
Reference in New Issue