Skip to content

Commit

Permalink
regen and reconfigure with stm32f405
Browse files Browse the repository at this point in the history
- sans jtag, conf for pi debug probe
- shockpot on PA0 (may be different)
- using hse
- using dma
  • Loading branch information
jr1221 committed May 23, 2024
1 parent 02a6315 commit d0d3748
Show file tree
Hide file tree
Showing 1,823 changed files with 337,732 additions and 534,151 deletions.
26 changes: 13 additions & 13 deletions .mxproject

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Core/Inc/FreeRTOSConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
void xPortSysTickHandler(void);
#endif
#ifndef CMSIS_device_header
#define CMSIS_device_header "stm32g4xx.h"
#define CMSIS_device_header "stm32f4xx.h"
#endif /* CMSIS_device_header */

#define configENABLE_FPU 0
Expand All @@ -69,7 +69,7 @@
#define configTICK_RATE_HZ ((TickType_t)1000)
#define configMAX_PRIORITIES ( 56 )
#define configMINIMAL_STACK_SIZE ((uint16_t)128)
#define configTOTAL_HEAP_SIZE ((size_t)3072)
#define configTOTAL_HEAP_SIZE ((size_t)15360)
#define configMAX_TASK_NAME_LEN ( 16 )
#define configUSE_TRACE_FACILITY 1
#define configUSE_16_BIT_TICKS 0
Expand Down
18 changes: 17 additions & 1 deletion Core/Inc/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "stm32g4xx_hal.h"
#include "stm32f4xx_hal.h"

/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
Expand Down Expand Up @@ -57,6 +57,22 @@ void Error_Handler(void);
/* USER CODE END EFP */

/* Private defines -----------------------------------------------------------*/
#define VCC5_En_Pin GPIO_PIN_2
#define VCC5_En_GPIO_Port GPIOC
#define Strain1_Pin GPIO_PIN_5
#define Strain1_GPIO_Port GPIOA
#define Strain2_Pin GPIO_PIN_6
#define Strain2_GPIO_Port GPIOA
#define Debug_LED_1_Pin GPIO_PIN_4
#define Debug_LED_1_GPIO_Port GPIOC
#define Debug_LED_2_Pin GPIO_PIN_5
#define Debug_LED_2_GPIO_Port GPIOC
#define Addr0_Pin GPIO_PIN_10
#define Addr0_GPIO_Port GPIOC
#define Addr1_Pin GPIO_PIN_11
#define Addr1_GPIO_Port GPIOC
#define Addr2_Pin GPIO_PIN_12
#define Addr2_GPIO_Port GPIOC

/* USER CODE BEGIN Private defines */

Expand Down
495 changes: 495 additions & 0 deletions Core/Inc/stm32f4xx_hal_conf.h

Large diffs are not rendered by default.

66 changes: 66 additions & 0 deletions Core/Inc/stm32f4xx_it.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file stm32f4xx_it.h
* @brief This file contains the headers of the interrupt handlers.
******************************************************************************
* @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.
*
******************************************************************************
*/
/* USER CODE END Header */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __STM32F4xx_IT_H
#define __STM32F4xx_IT_H

#ifdef __cplusplus
extern "C" {
#endif

/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */

/* USER CODE END Includes */

/* Exported types ------------------------------------------------------------*/
/* USER CODE BEGIN ET */

/* USER CODE END ET */

/* Exported constants --------------------------------------------------------*/
/* USER CODE BEGIN EC */

/* USER CODE END EC */

/* Exported macro ------------------------------------------------------------*/
/* USER CODE BEGIN EM */

/* USER CODE END EM */

/* Exported functions prototypes ---------------------------------------------*/
void NMI_Handler(void);
void HardFault_Handler(void);
void MemManage_Handler(void);
void BusFault_Handler(void);
void UsageFault_Handler(void);
void DebugMon_Handler(void);
void SysTick_Handler(void);
void CAN1_RX0_IRQHandler(void);
void DMA2_Stream0_IRQHandler(void);
/* USER CODE BEGIN EFP */

/* USER CODE END EFP */

#ifdef __cplusplus
}
#endif

#endif /* __STM32F4xx_IT_H */
Loading

0 comments on commit d0d3748

Please sign in to comment.