Regeneration CubeMX (Appli) preparant le driver ST67W611M1 et la carte SD : - SPI4 (PE12/13/14, CS PF8) + DMA GPDMA1 canaux 4/5, SPI_RDY (PD12/EXTI12), CHIP_EN (PD13) et BOOT (PD15) pour la X-NUCLEO-67W61M1 sur l'Arduino - SDMMC1 + FatFs (appels d'init non generes dans main, IRQ SDMMC1 prio 14), PM14 en open-drain ; I2S6_CK sur PA5 pour liberer PC12 (SDMMC1_CK) - HAL UART retire ; USE_BSP_COM_FEATURE=0 - Audio preserve : ADF 4/16/24, prio IRQ 2, DMA canal 0 en priorite haute, GPDMA1_Channel2_IRQHandler deplace dans audio_irq.c (hors fichiers generes), BSP_MX_I2S6_Init (renommage dans le BSP pour eviter le conflit avec CubeMX) - Middlewares/ST/ST67W6X_Network_Driver, FatFs et sources HAL SPI/SD ajoutes (driver ST67 pas encore integre au build) Build et debug sous Linux : - gcc/toolchain-env.sh, gdbserver.sh, arm-gdb.sh : outils de STM32CubeIDE par glob ; flash.sh les retrouve ; ruby_compat.rb pour Ruby >= 3.2 (TouchGFX) - makefile_appli : sources SD/SPI/FatFs/audio_irq ; chmod +x des .out TouchGFX - Objets de build (*.o, *.d, *.su) retires de l'index (deja dans .gitignore) - AGENTS.md : toolchain Linux, configs VS Code (cppdbg et ST stlinkgdbtarget), pieges de l'extension ST (.settings/ide.store.json, preRunCommands reset) Verifie sur carte : audio OK, debug Appli/Boot OK. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
68 lines
2.2 KiB
C
68 lines
2.2 KiB
C
/**
|
|
******************************************************************************
|
|
* @file w6x_version.h
|
|
* @author ST67 Application Team
|
|
* @brief This file provides the version of W6x_Network_Driver
|
|
******************************************************************************
|
|
* @attention
|
|
*
|
|
* Copyright (c) 2024 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 W6X_VERSION_H
|
|
#define W6X_VERSION_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
/* Exported constants --------------------------------------------------------*/
|
|
/** @addtogroup ST67W6X_API_System_Public_Constants
|
|
* @{
|
|
*/
|
|
|
|
#define W6X_VERSION_MAIN 1 /*!< [31:24] main version */
|
|
#define W6X_VERSION_SUB1 3 /*!< [23:16] sub1 version */
|
|
#define W6X_VERSION_SUB2 0 /*!< [15:8] sub2 version */
|
|
|
|
#define W6X_MAIN_SHIFT 24 /*!< main version shift */
|
|
#define W6X_SUB1_SHIFT 16 /*!< sub1 version shift */
|
|
#define W6X_SUB2_SHIFT 8 /*!< sub2 version shift */
|
|
|
|
/** ST67W61_Network_Driver version */
|
|
#define W6X_VERSION ((W6X_VERSION_MAIN << W6X_MAIN_SHIFT)\
|
|
|(W6X_VERSION_SUB1 << W6X_SUB1_SHIFT)\
|
|
|(W6X_VERSION_SUB2 << W6X_SUB2_SHIFT))
|
|
|
|
/** @} */
|
|
|
|
/* Exported macros -----------------------------------------------------------*/
|
|
/** @defgroup ST67W6X_API_System_Public_Macros ST67W6X System Macros
|
|
* @ingroup ST67W6X_API_System
|
|
* @{
|
|
*/
|
|
/** ST67W61_Network_Driver version preprocessor macro */
|
|
#define XSTR(x) #x
|
|
|
|
/** ST67W61_Network_Driver version preprocessor macro */
|
|
#define MSTR(x) XSTR(x)
|
|
|
|
/** ST67W61_Network_Driver version string */
|
|
#define W6X_VERSION_STR MSTR(W6X_VERSION_MAIN) "." MSTR(W6X_VERSION_SUB1) "." MSTR(W6X_VERSION_SUB2)
|
|
|
|
/** @} */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* W6X_VERSION_H */
|