Merge branch 'hardware-rev2'

This commit is contained in:
2023-02-22 23:10:44 +03:00
77 changed files with 616751 additions and 459990 deletions

34
.gitignore vendored
View File

@@ -18,6 +18,34 @@
*.idb *.idb
*.pdb *.pdb
firmware/[Rr]elease/ firmware/PCB-Heater/[Rr]elease/
firmware/[Dd]ebug/ firmware/PCB-Heater/[Dd]ebug/
kicad/pcb-heater/*-backups/
# ---> KiCad
# For PCBs designed using KiCad: https://www.kicad.org/
# Format documentation: https://kicad.org/help/file-formats/
# Temporary files
*.000
*.bak
*.bck
*.kicad_pcb-bak
*.kicad_sch-bak
*-backups
*.kicad_prl
*.sch-bak
*~
_autosave-*
*.tmp
*-save.pro
*-save.kicad_pcb
fp-info-cache
# Netlist files (exported from Eeschema)
*.net
# Autorouter files (exported from Pcbnew)
*.dsn
*.ses

BIN
3D/Display cover.3mf Normal file

Binary file not shown.

Binary file not shown.

BIN
3D/PCB-Heater_2.f3z Normal file

Binary file not shown.

236187
3D/PCB-Heater_2.step Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

BIN
datasheets/5020_Buzzer.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

BIN
datasheets/HLK-5Mxx.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

File diff suppressed because one or more lines are too long

View File

@@ -5,7 +5,7 @@
<provider-reference id="org.eclipse.cdt.ui.UserLanguageSettingsProvider" ref="shared-provider"/> <provider-reference id="org.eclipse.cdt.ui.UserLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/> <provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/> <provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="-1274821953519665396" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true"> <provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="596919080754294639" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/> <language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/> <language-scope id="org.eclipse.cdt.core.g++"/>
</provider> </provider>
@@ -17,7 +17,7 @@
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/> <provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/> <provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/> <provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="-1274821953519665396" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true"> <provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="596919080754294639" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/> <language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/> <language-scope id="org.eclipse.cdt.core.g++"/>
</provider> </provider>

View File

@@ -1,3 +1,3 @@
8DF89ED150041C4CBC7CB9A9CAA90856=EDA52AC5F38E700E3B7C1D02E2738422 8DF89ED150041C4CBC7CB9A9CAA90856=DEB078C68ED7C3404713540BA3B0EF9A
DC22A860405A8BF2F2C095E5B6529F12=EDA52AC5F38E700E3B7C1D02E2738422 DC22A860405A8BF2F2C095E5B6529F12=DEB078C68ED7C3404713540BA3B0EF9A
eclipse.preferences.version=1 eclipse.preferences.version=1

View File

@@ -57,12 +57,16 @@ void Error_Handler(void);
/* USER CODE END EFP */ /* USER CODE END EFP */
/* Private defines -----------------------------------------------------------*/ /* Private defines -----------------------------------------------------------*/
#define FAN_PWM_Pin GPIO_PIN_12
#define FAN_PWM_GPIO_Port GPIOC
#define btnSTOP_Pin GPIO_PIN_13
#define btnSTOP_GPIO_Port GPIOC
#define LCD_LED_Pin GPIO_PIN_1 #define LCD_LED_Pin GPIO_PIN_1
#define LCD_LED_GPIO_Port GPIOC #define LCD_LED_GPIO_Port GPIOC
#define LED_Status_Pin GPIO_PIN_2 #define LED_Status_Pin GPIO_PIN_2
#define LED_Status_GPIO_Port GPIOC #define LED_Status_GPIO_Port GPIOC
#define btnSTOP_Pin GPIO_PIN_3 #define LCD_CS_Pin GPIO_PIN_3
#define btnSTOP_GPIO_Port GPIOC #define LCD_CS_GPIO_Port GPIOC
#define LCD_D0_Pin GPIO_PIN_0 #define LCD_D0_Pin GPIO_PIN_0
#define LCD_D0_GPIO_Port GPIOA #define LCD_D0_GPIO_Port GPIOA
#define LCD_D1_Pin GPIO_PIN_1 #define LCD_D1_Pin GPIO_PIN_1
@@ -87,6 +91,8 @@ void Error_Handler(void);
#define LCD_RS_GPIO_Port GPIOB #define LCD_RS_GPIO_Port GPIOB
#define LCD_WR_Pin GPIO_PIN_1 #define LCD_WR_Pin GPIO_PIN_1
#define LCD_WR_GPIO_Port GPIOB #define LCD_WR_GPIO_Port GPIOB
#define THERMISTOR_Pin GPIO_PIN_10
#define THERMISTOR_GPIO_Port GPIOB
#define MAX_SCK_Pin GPIO_PIN_13 #define MAX_SCK_Pin GPIO_PIN_13
#define MAX_SCK_GPIO_Port GPIOB #define MAX_SCK_GPIO_Port GPIOB
#define MAX_MISO_Pin GPIO_PIN_14 #define MAX_MISO_Pin GPIO_PIN_14
@@ -97,8 +103,6 @@ void Error_Handler(void);
#define TIM1_ZC_GPIO_Port GPIOA #define TIM1_ZC_GPIO_Port GPIOA
#define TIM1_GC_Pin GPIO_PIN_9 #define TIM1_GC_Pin GPIO_PIN_9
#define TIM1_GC_GPIO_Port GPIOA #define TIM1_GC_GPIO_Port GPIOA
#define LCD_CS_Pin GPIO_PIN_4
#define LCD_CS_GPIO_Port GPIOD
#define BUZZER_Pin GPIO_PIN_9 #define BUZZER_Pin GPIO_PIN_9
#define BUZZER_GPIO_Port GPIOB #define BUZZER_GPIO_Port GPIOB
/* USER CODE BEGIN Private defines */ /* USER CODE BEGIN Private defines */

View File

@@ -55,7 +55,7 @@ extern "C" {
/* #define HAL_SMBUS_MODULE_ENABLED */ /* #define HAL_SMBUS_MODULE_ENABLED */
#define HAL_SPI_MODULE_ENABLED #define HAL_SPI_MODULE_ENABLED
#define HAL_TIM_MODULE_ENABLED #define HAL_TIM_MODULE_ENABLED
/* #define HAL_UART_MODULE_ENABLED */ #define HAL_UART_MODULE_ENABLED
/* #define HAL_USART_MODULE_ENABLED */ /* #define HAL_USART_MODULE_ENABLED */
/* #define HAL_WWDG_MODULE_ENABLED */ /* #define HAL_WWDG_MODULE_ENABLED */
#define HAL_GPIO_MODULE_ENABLED #define HAL_GPIO_MODULE_ENABLED

View File

@@ -34,6 +34,8 @@ extern "C" {
extern TIM_HandleTypeDef htim1; extern TIM_HandleTypeDef htim1;
extern TIM_HandleTypeDef htim14;
extern TIM_HandleTypeDef htim15; extern TIM_HandleTypeDef htim15;
extern TIM_HandleTypeDef htim17; extern TIM_HandleTypeDef htim17;
@@ -43,6 +45,7 @@ extern TIM_HandleTypeDef htim17;
/* USER CODE END Private defines */ /* USER CODE END Private defines */
void MX_TIM1_Init(void); void MX_TIM1_Init(void);
void MX_TIM14_Init(void);
void MX_TIM15_Init(void); void MX_TIM15_Init(void);
void MX_TIM17_Init(void); void MX_TIM17_Init(void);

View File

@@ -0,0 +1,52 @@
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file usart.h
* @brief This file contains all the function prototypes for
* the usart.c file
******************************************************************************
* @attention
*
* Copyright (c) 2023 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 __USART_H__
#define __USART_H__
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "main.h"
/* USER CODE BEGIN Includes */
/* USER CODE END Includes */
extern UART_HandleTypeDef huart1;
/* USER CODE BEGIN Private defines */
/* USER CODE END Private defines */
void MX_USART1_UART_Init(void);
/* USER CODE BEGIN Prototypes */
/* USER CODE END Prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __USART_H__ */

View File

@@ -107,8 +107,9 @@ void HAL_ADC_MspInit(ADC_HandleTypeDef* adcHandle)
__HAL_RCC_GPIOB_CLK_ENABLE(); __HAL_RCC_GPIOB_CLK_ENABLE();
/**ADC1 GPIO Configuration /**ADC1 GPIO Configuration
PB2 ------> ADC1_IN10 PB2 ------> ADC1_IN10
PB10 ------> ADC1_IN11
*/ */
GPIO_InitStruct.Pin = GPIO_PIN_2; GPIO_InitStruct.Pin = GPIO_PIN_2|THERMISTOR_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG; GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
GPIO_InitStruct.Pull = GPIO_NOPULL; GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
@@ -132,8 +133,9 @@ void HAL_ADC_MspDeInit(ADC_HandleTypeDef* adcHandle)
/**ADC1 GPIO Configuration /**ADC1 GPIO Configuration
PB2 ------> ADC1_IN10 PB2 ------> ADC1_IN10
PB10 ------> ADC1_IN11
*/ */
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_2); HAL_GPIO_DeInit(GPIOB, GPIO_PIN_2|THERMISTOR_Pin);
/* USER CODE BEGIN ADC1_MspDeInit 1 */ /* USER CODE BEGIN ADC1_MspDeInit 1 */

View File

@@ -45,14 +45,13 @@ void MX_GPIO_Init(void)
GPIO_InitTypeDef GPIO_InitStruct = {0}; GPIO_InitTypeDef GPIO_InitStruct = {0};
/* GPIO Ports Clock Enable */ /* GPIO Ports Clock Enable */
__HAL_RCC_GPIOF_CLK_ENABLE();
__HAL_RCC_GPIOC_CLK_ENABLE(); __HAL_RCC_GPIOC_CLK_ENABLE();
__HAL_RCC_GPIOF_CLK_ENABLE();
__HAL_RCC_GPIOA_CLK_ENABLE(); __HAL_RCC_GPIOA_CLK_ENABLE();
__HAL_RCC_GPIOB_CLK_ENABLE(); __HAL_RCC_GPIOB_CLK_ENABLE();
__HAL_RCC_GPIOD_CLK_ENABLE();
/*Configure GPIO pin Output Level */ /*Configure GPIO pin Output Level */
HAL_GPIO_WritePin(GPIOC, LED_Status_Pin|LCD_RD_Pin|LCD_RST_Pin, GPIO_PIN_RESET); HAL_GPIO_WritePin(GPIOC, LED_Status_Pin|LCD_CS_Pin|LCD_RD_Pin|LCD_RST_Pin, GPIO_PIN_RESET);
/*Configure GPIO pin Output Level */ /*Configure GPIO pin Output Level */
HAL_GPIO_WritePin(GPIOA, LCD_D0_Pin|LCD_D1_Pin|LCD_D2_Pin|LCD_D3_Pin HAL_GPIO_WritePin(GPIOA, LCD_D0_Pin|LCD_D1_Pin|LCD_D2_Pin|LCD_D3_Pin
@@ -64,8 +63,11 @@ void MX_GPIO_Init(void)
/*Configure GPIO pin Output Level */ /*Configure GPIO pin Output Level */
HAL_GPIO_WritePin(MAX_CS_GPIO_Port, MAX_CS_Pin, GPIO_PIN_SET); HAL_GPIO_WritePin(MAX_CS_GPIO_Port, MAX_CS_Pin, GPIO_PIN_SET);
/*Configure GPIO pin Output Level */ /*Configure GPIO pin : PtPin */
HAL_GPIO_WritePin(LCD_CS_GPIO_Port, LCD_CS_Pin, GPIO_PIN_RESET); GPIO_InitStruct.Pin = btnSTOP_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
GPIO_InitStruct.Pull = GPIO_PULLUP;
HAL_GPIO_Init(btnSTOP_GPIO_Port, &GPIO_InitStruct);
/*Configure GPIO pin : PtPin */ /*Configure GPIO pin : PtPin */
GPIO_InitStruct.Pin = LED_Status_Pin; GPIO_InitStruct.Pin = LED_Status_Pin;
@@ -74,11 +76,12 @@ void MX_GPIO_Init(void)
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH; GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
HAL_GPIO_Init(LED_Status_GPIO_Port, &GPIO_InitStruct); HAL_GPIO_Init(LED_Status_GPIO_Port, &GPIO_InitStruct);
/*Configure GPIO pin : PtPin */ /*Configure GPIO pins : PCPin PCPin PCPin */
GPIO_InitStruct.Pin = btnSTOP_Pin; GPIO_InitStruct.Pin = LCD_CS_Pin|LCD_RD_Pin|LCD_RST_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT; GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_PULLUP; GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(btnSTOP_GPIO_Port, &GPIO_InitStruct); GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
/*Configure GPIO pins : PAPin PAPin PAPin PAPin /*Configure GPIO pins : PAPin PAPin PAPin PAPin
PAPin PAPin PAPin PAPin */ PAPin PAPin PAPin PAPin */
@@ -89,13 +92,6 @@ void MX_GPIO_Init(void)
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
/*Configure GPIO pins : PCPin PCPin */
GPIO_InitStruct.Pin = LCD_RD_Pin|LCD_RST_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
/*Configure GPIO pins : PBPin PBPin */ /*Configure GPIO pins : PBPin PBPin */
GPIO_InitStruct.Pin = LCD_RS_Pin|LCD_WR_Pin; GPIO_InitStruct.Pin = LCD_RS_Pin|LCD_WR_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
@@ -110,13 +106,6 @@ void MX_GPIO_Init(void)
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH; GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
/*Configure GPIO pin : PtPin */
GPIO_InitStruct.Pin = LCD_CS_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
HAL_GPIO_Init(LCD_CS_GPIO_Port, &GPIO_InitStruct);
} }
/* USER CODE BEGIN 2 */ /* USER CODE BEGIN 2 */

View File

@@ -22,6 +22,7 @@
#include "adc.h" #include "adc.h"
#include "spi.h" #include "spi.h"
#include "tim.h" #include "tim.h"
#include "usart.h"
#include "gpio.h" #include "gpio.h"
/* Private includes ----------------------------------------------------------*/ /* Private includes ----------------------------------------------------------*/
@@ -95,6 +96,8 @@ int main(void)
MX_SPI2_Init(); MX_SPI2_Init();
MX_TIM17_Init(); MX_TIM17_Init();
MX_TIM15_Init(); MX_TIM15_Init();
MX_TIM14_Init();
MX_USART1_UART_Init();
/* USER CODE BEGIN 2 */ /* USER CODE BEGIN 2 */
__HAL_TIM_CLEAR_FLAG(&htim17, TIM_SR_UIF); //clear the update flag so it wont trigger right away; __HAL_TIM_CLEAR_FLAG(&htim17, TIM_SR_UIF); //clear the update flag so it wont trigger right away;
if (ST7793_Init() != 0) { if (ST7793_Init() != 0) {

View File

@@ -25,6 +25,7 @@
/* USER CODE END 0 */ /* USER CODE END 0 */
TIM_HandleTypeDef htim1; TIM_HandleTypeDef htim1;
TIM_HandleTypeDef htim14;
TIM_HandleTypeDef htim15; TIM_HandleTypeDef htim15;
TIM_HandleTypeDef htim17; TIM_HandleTypeDef htim17;
@@ -131,6 +132,47 @@ void MX_TIM1_Init(void)
/* USER CODE END TIM1_Init 2 */ /* USER CODE END TIM1_Init 2 */
HAL_TIM_MspPostInit(&htim1); HAL_TIM_MspPostInit(&htim1);
}
/* TIM14 init function */
void MX_TIM14_Init(void)
{
/* USER CODE BEGIN TIM14_Init 0 */
/* USER CODE END TIM14_Init 0 */
TIM_OC_InitTypeDef sConfigOC = {0};
/* USER CODE BEGIN TIM14_Init 1 */
/* USER CODE END TIM14_Init 1 */
htim14.Instance = TIM14;
htim14.Init.Prescaler = 0;
htim14.Init.CounterMode = TIM_COUNTERMODE_UP;
htim14.Init.Period = 65535;
htim14.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
htim14.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
if (HAL_TIM_Base_Init(&htim14) != HAL_OK)
{
Error_Handler();
}
if (HAL_TIM_PWM_Init(&htim14) != HAL_OK)
{
Error_Handler();
}
sConfigOC.OCMode = TIM_OCMODE_PWM1;
sConfigOC.Pulse = 0;
sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH;
sConfigOC.OCFastMode = TIM_OCFAST_DISABLE;
if (HAL_TIM_PWM_ConfigChannel(&htim14, &sConfigOC, TIM_CHANNEL_1) != HAL_OK)
{
Error_Handler();
}
/* USER CODE BEGIN TIM14_Init 2 */
/* USER CODE END TIM14_Init 2 */
HAL_TIM_MspPostInit(&htim14);
} }
/* TIM15 init function */ /* TIM15 init function */
void MX_TIM15_Init(void) void MX_TIM15_Init(void)
@@ -262,6 +304,17 @@ void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* tim_baseHandle)
/* USER CODE END TIM1_MspInit 1 */ /* USER CODE END TIM1_MspInit 1 */
} }
else if(tim_baseHandle->Instance==TIM14)
{
/* USER CODE BEGIN TIM14_MspInit 0 */
/* USER CODE END TIM14_MspInit 0 */
/* TIM14 clock enable */
__HAL_RCC_TIM14_CLK_ENABLE();
/* USER CODE BEGIN TIM14_MspInit 1 */
/* USER CODE END TIM14_MspInit 1 */
}
else if(tim_baseHandle->Instance==TIM15) else if(tim_baseHandle->Instance==TIM15)
{ {
/* USER CODE BEGIN TIM15_MspInit 0 */ /* USER CODE BEGIN TIM15_MspInit 0 */
@@ -313,6 +366,27 @@ void HAL_TIM_MspPostInit(TIM_HandleTypeDef* timHandle)
/* USER CODE END TIM1_MspPostInit 1 */ /* USER CODE END TIM1_MspPostInit 1 */
} }
else if(timHandle->Instance==TIM14)
{
/* USER CODE BEGIN TIM14_MspPostInit 0 */
/* USER CODE END TIM14_MspPostInit 0 */
__HAL_RCC_GPIOC_CLK_ENABLE();
/**TIM14 GPIO Configuration
PC12 ------> TIM14_CH1
*/
GPIO_InitStruct.Pin = FAN_PWM_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Alternate = GPIO_AF2_TIM14;
HAL_GPIO_Init(FAN_PWM_GPIO_Port, &GPIO_InitStruct);
/* USER CODE BEGIN TIM14_MspPostInit 1 */
/* USER CODE END TIM14_MspPostInit 1 */
}
else if(timHandle->Instance==TIM15) else if(timHandle->Instance==TIM15)
{ {
/* USER CODE BEGIN TIM15_MspPostInit 0 */ /* USER CODE BEGIN TIM15_MspPostInit 0 */
@@ -358,6 +432,17 @@ void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef* tim_baseHandle)
/* USER CODE END TIM1_MspDeInit 1 */ /* USER CODE END TIM1_MspDeInit 1 */
} }
else if(tim_baseHandle->Instance==TIM14)
{
/* USER CODE BEGIN TIM14_MspDeInit 0 */
/* USER CODE END TIM14_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_TIM14_CLK_DISABLE();
/* USER CODE BEGIN TIM14_MspDeInit 1 */
/* USER CODE END TIM14_MspDeInit 1 */
}
else if(tim_baseHandle->Instance==TIM15) else if(tim_baseHandle->Instance==TIM15)
{ {
/* USER CODE BEGIN TIM15_MspDeInit 0 */ /* USER CODE BEGIN TIM15_MspDeInit 0 */

View File

@@ -0,0 +1,140 @@
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file usart.c
* @brief This file provides code for the configuration
* of the USART instances.
******************************************************************************
* @attention
*
* Copyright (c) 2023 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* USER CODE END Header */
/* Includes ------------------------------------------------------------------*/
#include "usart.h"
/* USER CODE BEGIN 0 */
/* USER CODE END 0 */
UART_HandleTypeDef huart1;
/* USART1 init function */
void MX_USART1_UART_Init(void)
{
/* USER CODE BEGIN USART1_Init 0 */
/* USER CODE END USART1_Init 0 */
/* USER CODE BEGIN USART1_Init 1 */
/* USER CODE END USART1_Init 1 */
huart1.Instance = USART1;
huart1.Init.BaudRate = 115200;
huart1.Init.WordLength = UART_WORDLENGTH_8B;
huart1.Init.StopBits = UART_STOPBITS_1;
huart1.Init.Parity = UART_PARITY_NONE;
huart1.Init.Mode = UART_MODE_TX_RX;
huart1.Init.HwFlowCtl = UART_HWCONTROL_NONE;
huart1.Init.OverSampling = UART_OVERSAMPLING_16;
huart1.Init.OneBitSampling = UART_ONE_BIT_SAMPLE_DISABLE;
huart1.Init.ClockPrescaler = UART_PRESCALER_DIV1;
huart1.AdvancedInit.AdvFeatureInit = UART_ADVFEATURE_NO_INIT;
if (HAL_UART_Init(&huart1) != HAL_OK)
{
Error_Handler();
}
if (HAL_UARTEx_SetTxFifoThreshold(&huart1, UART_TXFIFO_THRESHOLD_1_8) != HAL_OK)
{
Error_Handler();
}
if (HAL_UARTEx_SetRxFifoThreshold(&huart1, UART_RXFIFO_THRESHOLD_1_8) != HAL_OK)
{
Error_Handler();
}
if (HAL_UARTEx_DisableFifoMode(&huart1) != HAL_OK)
{
Error_Handler();
}
/* USER CODE BEGIN USART1_Init 2 */
/* USER CODE END USART1_Init 2 */
}
void HAL_UART_MspInit(UART_HandleTypeDef* uartHandle)
{
GPIO_InitTypeDef GPIO_InitStruct = {0};
RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
if(uartHandle->Instance==USART1)
{
/* USER CODE BEGIN USART1_MspInit 0 */
/* USER CODE END USART1_MspInit 0 */
/** Initializes the peripherals clocks
*/
PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_USART1;
PeriphClkInit.Usart1ClockSelection = RCC_USART1CLKSOURCE_PCLK1;
if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
{
Error_Handler();
}
/* USART1 clock enable */
__HAL_RCC_USART1_CLK_ENABLE();
__HAL_RCC_GPIOB_CLK_ENABLE();
/**USART1 GPIO Configuration
PB6 ------> USART1_TX
PB7 ------> USART1_RX
*/
GPIO_InitStruct.Pin = GPIO_PIN_6|GPIO_PIN_7;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Alternate = GPIO_AF0_USART1;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
/* USER CODE BEGIN USART1_MspInit 1 */
/* USER CODE END USART1_MspInit 1 */
}
}
void HAL_UART_MspDeInit(UART_HandleTypeDef* uartHandle)
{
if(uartHandle->Instance==USART1)
{
/* USER CODE BEGIN USART1_MspDeInit 0 */
/* USER CODE END USART1_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_USART1_CLK_DISABLE();
/**USART1 GPIO Configuration
PB6 ------> USART1_TX
PB7 ------> USART1_RX
*/
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_6|GPIO_PIN_7);
/* USER CODE BEGIN USART1_MspDeInit 1 */
/* USER CODE END USART1_MspDeInit 1 */
}
}
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */

View File

@@ -1,69 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (10.3-2021.10)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Core/Src/adc.c \
../Core/Src/app_freertos.c \
../Core/Src/gpio.c \
../Core/Src/main.c \
../Core/Src/max6675.c \
../Core/Src/pid.c \
../Core/Src/spi.c \
../Core/Src/st7793_8bit.c \
../Core/Src/stm32g0xx_hal_msp.c \
../Core/Src/stm32g0xx_hal_timebase_tim.c \
../Core/Src/stm32g0xx_it.c \
../Core/Src/syscalls.c \
../Core/Src/sysmem.c \
../Core/Src/system_stm32g0xx.c \
../Core/Src/tim.c
OBJS += \
./Core/Src/adc.o \
./Core/Src/app_freertos.o \
./Core/Src/gpio.o \
./Core/Src/main.o \
./Core/Src/max6675.o \
./Core/Src/pid.o \
./Core/Src/spi.o \
./Core/Src/st7793_8bit.o \
./Core/Src/stm32g0xx_hal_msp.o \
./Core/Src/stm32g0xx_hal_timebase_tim.o \
./Core/Src/stm32g0xx_it.o \
./Core/Src/syscalls.o \
./Core/Src/sysmem.o \
./Core/Src/system_stm32g0xx.o \
./Core/Src/tim.o
C_DEPS += \
./Core/Src/adc.d \
./Core/Src/app_freertos.d \
./Core/Src/gpio.d \
./Core/Src/main.d \
./Core/Src/max6675.d \
./Core/Src/pid.d \
./Core/Src/spi.d \
./Core/Src/st7793_8bit.d \
./Core/Src/stm32g0xx_hal_msp.d \
./Core/Src/stm32g0xx_hal_timebase_tim.d \
./Core/Src/stm32g0xx_it.d \
./Core/Src/syscalls.d \
./Core/Src/sysmem.d \
./Core/Src/system_stm32g0xx.d \
./Core/Src/tim.d
# Each subdirectory must supply rules for building sources it contributes
Core/Src/%.o Core/Src/%.su: ../Core/Src/%.c Core/Src/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG '-DCMSIS_device_header=<stm32g0xx.h>' -DUSE_HAL_DRIVER -DSTM32G070xx -c -I../Core/Inc -I../Drivers/STM32G0xx_HAL_Driver/Inc -I../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
clean: clean-Core-2f-Src
clean-Core-2f-Src:
-$(RM) ./Core/Src/adc.d ./Core/Src/adc.o ./Core/Src/adc.su ./Core/Src/app_freertos.d ./Core/Src/app_freertos.o ./Core/Src/app_freertos.su ./Core/Src/gpio.d ./Core/Src/gpio.o ./Core/Src/gpio.su ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/max6675.d ./Core/Src/max6675.o ./Core/Src/max6675.su ./Core/Src/pid.d ./Core/Src/pid.o ./Core/Src/pid.su ./Core/Src/spi.d ./Core/Src/spi.o ./Core/Src/spi.su ./Core/Src/st7793_8bit.d ./Core/Src/st7793_8bit.o ./Core/Src/st7793_8bit.su ./Core/Src/stm32g0xx_hal_msp.d ./Core/Src/stm32g0xx_hal_msp.o ./Core/Src/stm32g0xx_hal_msp.su ./Core/Src/stm32g0xx_hal_timebase_tim.d ./Core/Src/stm32g0xx_hal_timebase_tim.o ./Core/Src/stm32g0xx_hal_timebase_tim.su ./Core/Src/stm32g0xx_it.d ./Core/Src/stm32g0xx_it.o ./Core/Src/stm32g0xx_it.su ./Core/Src/syscalls.d ./Core/Src/syscalls.o ./Core/Src/syscalls.su ./Core/Src/sysmem.d ./Core/Src/sysmem.o ./Core/Src/sysmem.su ./Core/Src/system_stm32g0xx.d ./Core/Src/system_stm32g0xx.o ./Core/Src/system_stm32g0xx.su ./Core/Src/tim.d ./Core/Src/tim.o ./Core/Src/tim.su
.PHONY: clean-Core-2f-Src

View File

@@ -1,27 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (10.3-2021.10)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
S_SRCS += \
../Core/Startup/startup_stm32g070rbtx.s
OBJS += \
./Core/Startup/startup_stm32g070rbtx.o
S_DEPS += \
./Core/Startup/startup_stm32g070rbtx.d
# Each subdirectory must supply rules for building sources it contributes
Core/Startup/%.o: ../Core/Startup/%.s Core/Startup/subdir.mk
arm-none-eabi-gcc -mcpu=cortex-m0plus -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" "$<"
clean: clean-Core-2f-Startup
clean-Core-2f-Startup:
-$(RM) ./Core/Startup/startup_stm32g070rbtx.d ./Core/Startup/startup_stm32g070rbtx.o
.PHONY: clean-Core-2f-Startup

View File

@@ -1,87 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (10.3-2021.10)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_spi.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_spi_ex.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.c \
../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.c
OBJS += \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_spi.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_spi_ex.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.o \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.o
C_DEPS += \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_spi.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_spi_ex.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.d \
./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.d
# Each subdirectory must supply rules for building sources it contributes
Drivers/STM32G0xx_HAL_Driver/Src/%.o Drivers/STM32G0xx_HAL_Driver/Src/%.su: ../Drivers/STM32G0xx_HAL_Driver/Src/%.c Drivers/STM32G0xx_HAL_Driver/Src/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG '-DCMSIS_device_header=<stm32g0xx.h>' -DUSE_HAL_DRIVER -DSTM32G070xx -c -I../Core/Inc -I../Drivers/STM32G0xx_HAL_Driver/Inc -I../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
clean: clean-Drivers-2f-STM32G0xx_HAL_Driver-2f-Src
clean-Drivers-2f-STM32G0xx_HAL_Driver-2f-Src:
-$(RM) ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_spi.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_spi.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_spi.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_spi_ex.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_spi_ex.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_spi_ex.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.su
.PHONY: clean-Drivers-2f-STM32G0xx_HAL_Driver-2f-Src

View File

@@ -1,27 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (10.3-2021.10)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c
OBJS += \
./Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.o
C_DEPS += \
./Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.d
# Each subdirectory must supply rules for building sources it contributes
Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/%.o Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/%.su: ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/%.c Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG '-DCMSIS_device_header=<stm32g0xx.h>' -DUSE_HAL_DRIVER -DSTM32G070xx -c -I../Core/Inc -I../Drivers/STM32G0xx_HAL_Driver/Inc -I../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
clean: clean-Middlewares-2f-Third_Party-2f-FreeRTOS-2f-Source-2f-CMSIS_RTOS_V2
clean-Middlewares-2f-Third_Party-2f-FreeRTOS-2f-Source-2f-CMSIS_RTOS_V2:
-$(RM) ./Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.d ./Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.o ./Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.su
.PHONY: clean-Middlewares-2f-Third_Party-2f-FreeRTOS-2f-Source-2f-CMSIS_RTOS_V2

View File

@@ -1,27 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (10.3-2021.10)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.c
OBJS += \
./Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.o
C_DEPS += \
./Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.d
# Each subdirectory must supply rules for building sources it contributes
Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/%.o Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/%.su: ../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/%.c Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG '-DCMSIS_device_header=<stm32g0xx.h>' -DUSE_HAL_DRIVER -DSTM32G070xx -c -I../Core/Inc -I../Drivers/STM32G0xx_HAL_Driver/Inc -I../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
clean: clean-Middlewares-2f-Third_Party-2f-FreeRTOS-2f-Source-2f-portable-2f-GCC-2f-ARM_CM0
clean-Middlewares-2f-Third_Party-2f-FreeRTOS-2f-Source-2f-portable-2f-GCC-2f-ARM_CM0:
-$(RM) ./Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.d ./Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.o ./Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.su
.PHONY: clean-Middlewares-2f-Third_Party-2f-FreeRTOS-2f-Source-2f-portable-2f-GCC-2f-ARM_CM0

View File

@@ -1,27 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (10.3-2021.10)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c
OBJS += \
./Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o
C_DEPS += \
./Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.d
# Each subdirectory must supply rules for building sources it contributes
Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/%.o Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/%.su: ../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/%.c Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG '-DCMSIS_device_header=<stm32g0xx.h>' -DUSE_HAL_DRIVER -DSTM32G070xx -c -I../Core/Inc -I../Drivers/STM32G0xx_HAL_Driver/Inc -I../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
clean: clean-Middlewares-2f-Third_Party-2f-FreeRTOS-2f-Source-2f-portable-2f-MemMang
clean-Middlewares-2f-Third_Party-2f-FreeRTOS-2f-Source-2f-portable-2f-MemMang:
-$(RM) ./Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.d ./Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o ./Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.su
.PHONY: clean-Middlewares-2f-Third_Party-2f-FreeRTOS-2f-Source-2f-portable-2f-MemMang

View File

@@ -1,45 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (10.3-2021.10)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Middlewares/Third_Party/FreeRTOS/Source/croutine.c \
../Middlewares/Third_Party/FreeRTOS/Source/event_groups.c \
../Middlewares/Third_Party/FreeRTOS/Source/list.c \
../Middlewares/Third_Party/FreeRTOS/Source/queue.c \
../Middlewares/Third_Party/FreeRTOS/Source/stream_buffer.c \
../Middlewares/Third_Party/FreeRTOS/Source/tasks.c \
../Middlewares/Third_Party/FreeRTOS/Source/timers.c
OBJS += \
./Middlewares/Third_Party/FreeRTOS/Source/croutine.o \
./Middlewares/Third_Party/FreeRTOS/Source/event_groups.o \
./Middlewares/Third_Party/FreeRTOS/Source/list.o \
./Middlewares/Third_Party/FreeRTOS/Source/queue.o \
./Middlewares/Third_Party/FreeRTOS/Source/stream_buffer.o \
./Middlewares/Third_Party/FreeRTOS/Source/tasks.o \
./Middlewares/Third_Party/FreeRTOS/Source/timers.o
C_DEPS += \
./Middlewares/Third_Party/FreeRTOS/Source/croutine.d \
./Middlewares/Third_Party/FreeRTOS/Source/event_groups.d \
./Middlewares/Third_Party/FreeRTOS/Source/list.d \
./Middlewares/Third_Party/FreeRTOS/Source/queue.d \
./Middlewares/Third_Party/FreeRTOS/Source/stream_buffer.d \
./Middlewares/Third_Party/FreeRTOS/Source/tasks.d \
./Middlewares/Third_Party/FreeRTOS/Source/timers.d
# Each subdirectory must supply rules for building sources it contributes
Middlewares/Third_Party/FreeRTOS/Source/%.o Middlewares/Third_Party/FreeRTOS/Source/%.su: ../Middlewares/Third_Party/FreeRTOS/Source/%.c Middlewares/Third_Party/FreeRTOS/Source/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG '-DCMSIS_device_header=<stm32g0xx.h>' -DUSE_HAL_DRIVER -DSTM32G070xx -c -I../Core/Inc -I../Drivers/STM32G0xx_HAL_Driver/Inc -I../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
clean: clean-Middlewares-2f-Third_Party-2f-FreeRTOS-2f-Source
clean-Middlewares-2f-Third_Party-2f-FreeRTOS-2f-Source:
-$(RM) ./Middlewares/Third_Party/FreeRTOS/Source/croutine.d ./Middlewares/Third_Party/FreeRTOS/Source/croutine.o ./Middlewares/Third_Party/FreeRTOS/Source/croutine.su ./Middlewares/Third_Party/FreeRTOS/Source/event_groups.d ./Middlewares/Third_Party/FreeRTOS/Source/event_groups.o ./Middlewares/Third_Party/FreeRTOS/Source/event_groups.su ./Middlewares/Third_Party/FreeRTOS/Source/list.d ./Middlewares/Third_Party/FreeRTOS/Source/list.o ./Middlewares/Third_Party/FreeRTOS/Source/list.su ./Middlewares/Third_Party/FreeRTOS/Source/queue.d ./Middlewares/Third_Party/FreeRTOS/Source/queue.o ./Middlewares/Third_Party/FreeRTOS/Source/queue.su ./Middlewares/Third_Party/FreeRTOS/Source/stream_buffer.d ./Middlewares/Third_Party/FreeRTOS/Source/stream_buffer.o ./Middlewares/Third_Party/FreeRTOS/Source/stream_buffer.su ./Middlewares/Third_Party/FreeRTOS/Source/tasks.d ./Middlewares/Third_Party/FreeRTOS/Source/tasks.o ./Middlewares/Third_Party/FreeRTOS/Source/tasks.su ./Middlewares/Third_Party/FreeRTOS/Source/timers.d ./Middlewares/Third_Party/FreeRTOS/Source/timers.o ./Middlewares/Third_Party/FreeRTOS/Source/timers.su
.PHONY: clean-Middlewares-2f-Third_Party-2f-FreeRTOS-2f-Source

File diff suppressed because it is too large Load Diff

View File

@@ -1,98 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (10.3-2021.10)
################################################################################
-include ../makefile.init
RM := rm -rf
# All of the sources participating in the build are defined here
-include sources.mk
-include Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/subdir.mk
-include Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/subdir.mk
-include Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/subdir.mk
-include Middlewares/Third_Party/FreeRTOS/Source/subdir.mk
-include Drivers/STM32G0xx_HAL_Driver/Src/subdir.mk
-include Core/Startup/subdir.mk
-include Core/Src/subdir.mk
-include objects.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(S_DEPS)),)
-include $(S_DEPS)
endif
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
endif
-include ../makefile.defs
OPTIONAL_TOOL_DEPS := \
$(wildcard ../makefile.defs) \
$(wildcard ../makefile.init) \
$(wildcard ../makefile.targets) \
BUILD_ARTIFACT_NAME := PCB-Heater
BUILD_ARTIFACT_EXTENSION := elf
BUILD_ARTIFACT_PREFIX :=
BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME)$(if $(BUILD_ARTIFACT_EXTENSION),.$(BUILD_ARTIFACT_EXTENSION),)
# Add inputs and outputs from these tool invocations to the build variables
EXECUTABLES += \
PCB-Heater.elf \
MAP_FILES += \
PCB-Heater.map \
SIZE_OUTPUT += \
default.size.stdout \
OBJDUMP_LIST += \
PCB-Heater.list \
# All Target
all: main-build
# Main-build Target
main-build: PCB-Heater.elf secondary-outputs
# Tool invocations
PCB-Heater.elf PCB-Heater.map: $(OBJS) $(USER_OBJS) G:\YandexDisk\Projects\PCB-Heater\firmware\PCB-Heater\STM32G070RBTX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-gcc -o "PCB-Heater.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m0plus -T"G:\YandexDisk\Projects\PCB-Heater\firmware\PCB-Heater\STM32G070RBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="PCB-Heater.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
@echo 'Finished building target: $@'
@echo ' '
default.size.stdout: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-size $(EXECUTABLES)
@echo 'Finished building: $@'
@echo ' '
PCB-Heater.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-objdump -h -S $(EXECUTABLES) > "PCB-Heater.list"
@echo 'Finished building: $@'
@echo ' '
# Other Targets
clean:
-$(RM) PCB-Heater.elf PCB-Heater.list PCB-Heater.map default.size.stdout
-@echo ' '
secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST)
fail-specified-linker-script-missing:
@echo 'Error: Cannot find the specified linker script. Check the linker settings in the build configuration.'
@exit 2
warn-no-linker-script-specified:
@echo 'Warning: No linker script specified. Check the linker settings in the build configuration.'
.PHONY: all clean dependents main-build fail-specified-linker-script-missing warn-no-linker-script-specified
-include ../makefile.targets

View File

@@ -1,47 +0,0 @@
"./Core/Src/adc.o"
"./Core/Src/app_freertos.o"
"./Core/Src/gpio.o"
"./Core/Src/main.o"
"./Core/Src/max6675.o"
"./Core/Src/pid.o"
"./Core/Src/spi.o"
"./Core/Src/st7793_8bit.o"
"./Core/Src/stm32g0xx_hal_msp.o"
"./Core/Src/stm32g0xx_hal_timebase_tim.o"
"./Core/Src/stm32g0xx_it.o"
"./Core/Src/syscalls.o"
"./Core/Src/sysmem.o"
"./Core/Src/system_stm32g0xx.o"
"./Core/Src/tim.o"
"./Core/Startup/startup_stm32g070rbtx.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_spi.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_spi_ex.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.o"
"./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.o"
"./Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.o"
"./Middlewares/Third_Party/FreeRTOS/Source/croutine.o"
"./Middlewares/Third_Party/FreeRTOS/Source/event_groups.o"
"./Middlewares/Third_Party/FreeRTOS/Source/list.o"
"./Middlewares/Third_Party/FreeRTOS/Source/queue.o"
"./Middlewares/Third_Party/FreeRTOS/Source/stream_buffer.o"
"./Middlewares/Third_Party/FreeRTOS/Source/tasks.o"
"./Middlewares/Third_Party/FreeRTOS/Source/timers.o"
"./Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.o"
"./Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o"

View File

@@ -1,9 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (10.3-2021.10)
################################################################################
USER_OBJS :=
LIBS :=

View File

@@ -1,31 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (10.3-2021.10)
################################################################################
ELF_SRCS :=
OBJ_SRCS :=
S_SRCS :=
C_SRCS :=
S_UPPER_SRCS :=
O_SRCS :=
SIZE_OUTPUT :=
OBJDUMP_LIST :=
SU_FILES :=
EXECUTABLES :=
OBJS :=
MAP_FILES :=
S_DEPS :=
S_UPPER_DEPS :=
C_DEPS :=
# Every subdirectory with source files must be described here
SUBDIRS := \
Core/Src \
Core/Startup \
Drivers/STM32G0xx_HAL_Driver/Src \
Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 \
Middlewares/Third_Party/FreeRTOS/Source \
Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 \
Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang \

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,771 @@
/**
******************************************************************************
* @file stm32g0xx_hal_uart_ex.h
* @author MCD Application Team
* @brief Header file of UART HAL Extended module.
******************************************************************************
* @attention
*
* Copyright (c) 2018 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 STM32G0xx_HAL_UART_EX_H
#define STM32G0xx_HAL_UART_EX_H
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "stm32g0xx_hal_def.h"
/** @addtogroup STM32G0xx_HAL_Driver
* @{
*/
/** @addtogroup UARTEx
* @{
*/
/* Exported types ------------------------------------------------------------*/
/** @defgroup UARTEx_Exported_Types UARTEx Exported Types
* @{
*/
/**
* @brief UART wake up from stop mode parameters
*/
typedef struct
{
uint32_t WakeUpEvent; /*!< Specifies which event will activate the Wakeup from Stop mode flag (WUF).
This parameter can be a value of @ref UART_WakeUp_from_Stop_Selection.
If set to UART_WAKEUP_ON_ADDRESS, the two other fields below must
be filled up. */
uint16_t AddressLength; /*!< Specifies whether the address is 4 or 7-bit long.
This parameter can be a value of @ref UARTEx_WakeUp_Address_Length. */
uint8_t Address; /*!< UART/USART node address (7-bit long max). */
} UART_WakeUpTypeDef;
/**
* @}
*/
/* Exported constants --------------------------------------------------------*/
/** @defgroup UARTEx_Exported_Constants UARTEx Exported Constants
* @{
*/
/** @defgroup UARTEx_Word_Length UARTEx Word Length
* @{
*/
#define UART_WORDLENGTH_7B USART_CR1_M1 /*!< 7-bit long UART frame */
#define UART_WORDLENGTH_8B 0x00000000U /*!< 8-bit long UART frame */
#define UART_WORDLENGTH_9B USART_CR1_M0 /*!< 9-bit long UART frame */
/**
* @}
*/
/** @defgroup UARTEx_WakeUp_Address_Length UARTEx WakeUp Address Length
* @{
*/
#define UART_ADDRESS_DETECT_4B 0x00000000U /*!< 4-bit long wake-up address */
#define UART_ADDRESS_DETECT_7B USART_CR2_ADDM7 /*!< 7-bit long wake-up address */
/**
* @}
*/
/** @defgroup UARTEx_FIFO_mode UARTEx FIFO mode
* @brief UART FIFO mode
* @{
*/
#define UART_FIFOMODE_DISABLE 0x00000000U /*!< FIFO mode disable */
#define UART_FIFOMODE_ENABLE USART_CR1_FIFOEN /*!< FIFO mode enable */
/**
* @}
*/
/** @defgroup UARTEx_TXFIFO_threshold_level UARTEx TXFIFO threshold level
* @brief UART TXFIFO threshold level
* @{
*/
#define UART_TXFIFO_THRESHOLD_1_8 0x00000000U /*!< TX FIFO reaches 1/8 of its depth */
#define UART_TXFIFO_THRESHOLD_1_4 USART_CR3_TXFTCFG_0 /*!< TX FIFO reaches 1/4 of its depth */
#define UART_TXFIFO_THRESHOLD_1_2 USART_CR3_TXFTCFG_1 /*!< TX FIFO reaches 1/2 of its depth */
#define UART_TXFIFO_THRESHOLD_3_4 (USART_CR3_TXFTCFG_0|USART_CR3_TXFTCFG_1) /*!< TX FIFO reaches 3/4 of its depth */
#define UART_TXFIFO_THRESHOLD_7_8 USART_CR3_TXFTCFG_2 /*!< TX FIFO reaches 7/8 of its depth */
#define UART_TXFIFO_THRESHOLD_8_8 (USART_CR3_TXFTCFG_2|USART_CR3_TXFTCFG_0) /*!< TX FIFO becomes empty */
/**
* @}
*/
/** @defgroup UARTEx_RXFIFO_threshold_level UARTEx RXFIFO threshold level
* @brief UART RXFIFO threshold level
* @{
*/
#define UART_RXFIFO_THRESHOLD_1_8 0x00000000U /*!< RX FIFO reaches 1/8 of its depth */
#define UART_RXFIFO_THRESHOLD_1_4 USART_CR3_RXFTCFG_0 /*!< RX FIFO reaches 1/4 of its depth */
#define UART_RXFIFO_THRESHOLD_1_2 USART_CR3_RXFTCFG_1 /*!< RX FIFO reaches 1/2 of its depth */
#define UART_RXFIFO_THRESHOLD_3_4 (USART_CR3_RXFTCFG_0|USART_CR3_RXFTCFG_1) /*!< RX FIFO reaches 3/4 of its depth */
#define UART_RXFIFO_THRESHOLD_7_8 USART_CR3_RXFTCFG_2 /*!< RX FIFO reaches 7/8 of its depth */
#define UART_RXFIFO_THRESHOLD_8_8 (USART_CR3_RXFTCFG_2|USART_CR3_RXFTCFG_0) /*!< RX FIFO becomes full */
/**
* @}
*/
/**
* @}
*/
/* Exported macros -----------------------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
/** @addtogroup UARTEx_Exported_Functions
* @{
*/
/** @addtogroup UARTEx_Exported_Functions_Group1
* @{
*/
/* Initialization and de-initialization functions ****************************/
HAL_StatusTypeDef HAL_RS485Ex_Init(UART_HandleTypeDef *huart, uint32_t Polarity, uint32_t AssertionTime,
uint32_t DeassertionTime);
/**
* @}
*/
/** @addtogroup UARTEx_Exported_Functions_Group2
* @{
*/
void HAL_UARTEx_WakeupCallback(UART_HandleTypeDef *huart);
void HAL_UARTEx_RxFifoFullCallback(UART_HandleTypeDef *huart);
void HAL_UARTEx_TxFifoEmptyCallback(UART_HandleTypeDef *huart);
/**
* @}
*/
/** @addtogroup UARTEx_Exported_Functions_Group3
* @{
*/
/* Peripheral Control functions **********************************************/
HAL_StatusTypeDef HAL_UARTEx_StopModeWakeUpSourceConfig(UART_HandleTypeDef *huart, UART_WakeUpTypeDef WakeUpSelection);
HAL_StatusTypeDef HAL_UARTEx_EnableStopMode(UART_HandleTypeDef *huart);
HAL_StatusTypeDef HAL_UARTEx_DisableStopMode(UART_HandleTypeDef *huart);
HAL_StatusTypeDef HAL_MultiProcessorEx_AddressLength_Set(UART_HandleTypeDef *huart, uint32_t AddressLength);
HAL_StatusTypeDef HAL_UARTEx_EnableFifoMode(UART_HandleTypeDef *huart);
HAL_StatusTypeDef HAL_UARTEx_DisableFifoMode(UART_HandleTypeDef *huart);
HAL_StatusTypeDef HAL_UARTEx_SetTxFifoThreshold(UART_HandleTypeDef *huart, uint32_t Threshold);
HAL_StatusTypeDef HAL_UARTEx_SetRxFifoThreshold(UART_HandleTypeDef *huart, uint32_t Threshold);
HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint16_t *RxLen,
uint32_t Timeout);
HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size);
HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size);
HAL_UART_RxEventTypeTypeDef HAL_UARTEx_GetRxEventType(UART_HandleTypeDef *huart);
/**
* @}
*/
/**
* @}
*/
/* Private macros ------------------------------------------------------------*/
/** @defgroup UARTEx_Private_Macros UARTEx Private Macros
* @{
*/
#if defined(STM32G0C1xx) || defined(STM32G0B1xx)
/** @brief Report the UART clock source.
* @param __HANDLE__ specifies the UART Handle.
* @param __CLOCKSOURCE__ output variable.
* @retval UART clocking source, written in __CLOCKSOURCE__.
*/
#define UART_GETCLOCKSOURCE(__HANDLE__,__CLOCKSOURCE__) \
do { \
if((__HANDLE__)->Instance == USART1) \
{ \
switch(__HAL_RCC_GET_USART1_SOURCE()) \
{ \
case RCC_USART1CLKSOURCE_PCLK1: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
break; \
case RCC_USART1CLKSOURCE_HSI: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_HSI; \
break; \
case RCC_USART1CLKSOURCE_SYSCLK: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_SYSCLK; \
break; \
case RCC_USART1CLKSOURCE_LSE: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_LSE; \
break; \
default: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
break; \
} \
} \
else if((__HANDLE__)->Instance == USART2) \
{ \
switch(__HAL_RCC_GET_USART2_SOURCE()) \
{ \
case RCC_USART2CLKSOURCE_PCLK1: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
break; \
case RCC_USART2CLKSOURCE_HSI: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_HSI; \
break; \
case RCC_USART2CLKSOURCE_SYSCLK: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_SYSCLK; \
break; \
case RCC_USART2CLKSOURCE_LSE: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_LSE; \
break; \
default: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
break; \
} \
} \
else if((__HANDLE__)->Instance == USART3) \
{ \
switch(__HAL_RCC_GET_USART3_SOURCE()) \
{ \
case RCC_USART3CLKSOURCE_PCLK1: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
break; \
case RCC_USART3CLKSOURCE_HSI: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_HSI; \
break; \
case RCC_USART3CLKSOURCE_SYSCLK: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_SYSCLK; \
break; \
case RCC_USART3CLKSOURCE_LSE: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_LSE; \
break; \
default: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
break; \
} \
} \
else if((__HANDLE__)->Instance == USART4) \
{ \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
} \
else if((__HANDLE__)->Instance == USART5) \
{ \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
} \
else if((__HANDLE__)->Instance == USART6) \
{ \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
} \
else if((__HANDLE__)->Instance == LPUART1) \
{ \
switch(__HAL_RCC_GET_LPUART1_SOURCE()) \
{ \
case RCC_LPUART1CLKSOURCE_PCLK1: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
break; \
case RCC_LPUART1CLKSOURCE_HSI: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_HSI; \
break; \
case RCC_LPUART1CLKSOURCE_SYSCLK: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_SYSCLK; \
break; \
case RCC_LPUART1CLKSOURCE_LSE: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_LSE; \
break; \
default: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
break; \
} \
} \
else if((__HANDLE__)->Instance == LPUART2) \
{ \
switch(__HAL_RCC_GET_LPUART2_SOURCE()) \
{ \
case RCC_LPUART2CLKSOURCE_PCLK1: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
break; \
case RCC_LPUART2CLKSOURCE_HSI: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_HSI; \
break; \
case RCC_LPUART2CLKSOURCE_SYSCLK: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_SYSCLK; \
break; \
case RCC_LPUART2CLKSOURCE_LSE: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_LSE; \
break; \
default: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
break; \
} \
} \
else \
{ \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
} \
} while(0U)
#elif defined(STM32G0B0xx)
/** @brief Report the UART clock source.
* @param __HANDLE__ specifies the UART Handle.
* @param __CLOCKSOURCE__ output variable.
* @retval UART clocking source, written in __CLOCKSOURCE__.
*/
#define UART_GETCLOCKSOURCE(__HANDLE__,__CLOCKSOURCE__) \
do { \
if((__HANDLE__)->Instance == USART1) \
{ \
switch(__HAL_RCC_GET_USART1_SOURCE()) \
{ \
case RCC_USART1CLKSOURCE_PCLK1: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
break; \
case RCC_USART1CLKSOURCE_HSI: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_HSI; \
break; \
case RCC_USART1CLKSOURCE_SYSCLK: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_SYSCLK; \
break; \
case RCC_USART1CLKSOURCE_LSE: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_LSE; \
break; \
default: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
break; \
} \
} \
else if((__HANDLE__)->Instance == USART2) \
{ \
switch(__HAL_RCC_GET_USART2_SOURCE()) \
{ \
case RCC_USART2CLKSOURCE_PCLK1: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
break; \
case RCC_USART2CLKSOURCE_HSI: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_HSI; \
break; \
case RCC_USART2CLKSOURCE_SYSCLK: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_SYSCLK; \
break; \
case RCC_USART2CLKSOURCE_LSE: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_LSE; \
break; \
default: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
break; \
} \
} \
else if((__HANDLE__)->Instance == USART3) \
{ \
switch(__HAL_RCC_GET_USART3_SOURCE()) \
{ \
case RCC_USART3CLKSOURCE_PCLK1: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
break; \
case RCC_USART3CLKSOURCE_HSI: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_HSI; \
break; \
case RCC_USART3CLKSOURCE_SYSCLK: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_SYSCLK; \
break; \
case RCC_USART3CLKSOURCE_LSE: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_LSE; \
break; \
default: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
break; \
} \
} \
else if((__HANDLE__)->Instance == USART4) \
{ \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
} \
else if((__HANDLE__)->Instance == USART5) \
{ \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
} \
else if((__HANDLE__)->Instance == USART6) \
{ \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
} \
else \
{ \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
} \
} while(0U)
#elif defined(STM32G081xx) || defined(STM32G071xx)
/** @brief Report the UART clock source.
* @param __HANDLE__ specifies the UART Handle.
* @param __CLOCKSOURCE__ output variable.
* @retval UART clocking source, written in __CLOCKSOURCE__.
*/
#define UART_GETCLOCKSOURCE(__HANDLE__,__CLOCKSOURCE__) \
do { \
if((__HANDLE__)->Instance == USART1) \
{ \
switch(__HAL_RCC_GET_USART1_SOURCE()) \
{ \
case RCC_USART1CLKSOURCE_PCLK1: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
break; \
case RCC_USART1CLKSOURCE_HSI: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_HSI; \
break; \
case RCC_USART1CLKSOURCE_SYSCLK: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_SYSCLK; \
break; \
case RCC_USART1CLKSOURCE_LSE: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_LSE; \
break; \
default: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
break; \
} \
} \
else if((__HANDLE__)->Instance == USART2) \
{ \
switch(__HAL_RCC_GET_USART2_SOURCE()) \
{ \
case RCC_USART2CLKSOURCE_PCLK1: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
break; \
case RCC_USART2CLKSOURCE_HSI: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_HSI; \
break; \
case RCC_USART2CLKSOURCE_SYSCLK: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_SYSCLK; \
break; \
case RCC_USART2CLKSOURCE_LSE: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_LSE; \
break; \
default: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
break; \
} \
} \
else if((__HANDLE__)->Instance == USART3) \
{ \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
} \
else if((__HANDLE__)->Instance == USART4) \
{ \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
} \
else if((__HANDLE__)->Instance == LPUART1) \
{ \
switch(__HAL_RCC_GET_LPUART1_SOURCE()) \
{ \
case RCC_LPUART1CLKSOURCE_PCLK1: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
break; \
case RCC_LPUART1CLKSOURCE_HSI: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_HSI; \
break; \
case RCC_LPUART1CLKSOURCE_SYSCLK: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_SYSCLK; \
break; \
case RCC_LPUART1CLKSOURCE_LSE: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_LSE; \
break; \
default: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
break; \
} \
} \
else \
{ \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
} \
} while(0U)
#elif defined(STM32G070xx)
/** @brief Report the UART clock source.
* @param __HANDLE__ specifies the UART Handle.
* @param __CLOCKSOURCE__ output variable.
* @retval UART clocking source, written in __CLOCKSOURCE__.
*/
#define UART_GETCLOCKSOURCE(__HANDLE__,__CLOCKSOURCE__) \
do { \
if((__HANDLE__)->Instance == USART1) \
{ \
switch(__HAL_RCC_GET_USART1_SOURCE()) \
{ \
case RCC_USART1CLKSOURCE_PCLK1: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
break; \
case RCC_USART1CLKSOURCE_HSI: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_HSI; \
break; \
case RCC_USART1CLKSOURCE_SYSCLK: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_SYSCLK; \
break; \
case RCC_USART1CLKSOURCE_LSE: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_LSE; \
break; \
default: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
break; \
} \
} \
else if((__HANDLE__)->Instance == USART2) \
{ \
switch(__HAL_RCC_GET_USART2_SOURCE()) \
{ \
case RCC_USART2CLKSOURCE_PCLK1: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
break; \
case RCC_USART2CLKSOURCE_HSI: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_HSI; \
break; \
case RCC_USART2CLKSOURCE_SYSCLK: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_SYSCLK; \
break; \
case RCC_USART2CLKSOURCE_LSE: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_LSE; \
break; \
default: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
break; \
} \
} \
else if((__HANDLE__)->Instance == USART3) \
{ \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
} \
else if((__HANDLE__)->Instance == USART4) \
{ \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
} \
else \
{ \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
} \
} while(0U)
#elif defined(STM32G041xx) || defined(STM32G031xx) || defined(STM32G051xx) || defined(STM32G061xx)
/** @brief Report the UART clock source.
* @param __HANDLE__ specifies the UART Handle.
* @param __CLOCKSOURCE__ output variable.
* @retval UART clocking source, written in __CLOCKSOURCE__.
*/
#define UART_GETCLOCKSOURCE(__HANDLE__,__CLOCKSOURCE__) \
do { \
if((__HANDLE__)->Instance == USART1) \
{ \
switch(__HAL_RCC_GET_USART1_SOURCE()) \
{ \
case RCC_USART1CLKSOURCE_PCLK1: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
break; \
case RCC_USART1CLKSOURCE_HSI: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_HSI; \
break; \
case RCC_USART1CLKSOURCE_SYSCLK: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_SYSCLK; \
break; \
case RCC_USART1CLKSOURCE_LSE: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_LSE; \
break; \
default: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
break; \
} \
} \
else if((__HANDLE__)->Instance == USART2) \
{ \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
} \
else if((__HANDLE__)->Instance == LPUART1) \
{ \
switch(__HAL_RCC_GET_LPUART1_SOURCE()) \
{ \
case RCC_LPUART1CLKSOURCE_PCLK1: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
break; \
case RCC_LPUART1CLKSOURCE_HSI: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_HSI; \
break; \
case RCC_LPUART1CLKSOURCE_SYSCLK: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_SYSCLK; \
break; \
case RCC_LPUART1CLKSOURCE_LSE: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_LSE; \
break; \
default: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
break; \
} \
} \
else \
{ \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
} \
} while(0U)
#elif defined(STM32G030xx) || defined(STM32G050xx)
/** @brief Report the UART clock source.
* @param __HANDLE__ specifies the UART Handle.
* @param __CLOCKSOURCE__ output variable.
* @retval UART clocking source, written in __CLOCKSOURCE__.
*/
#define UART_GETCLOCKSOURCE(__HANDLE__,__CLOCKSOURCE__) \
do { \
if((__HANDLE__)->Instance == USART1) \
{ \
switch(__HAL_RCC_GET_USART1_SOURCE()) \
{ \
case RCC_USART1CLKSOURCE_PCLK1: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
break; \
case RCC_USART1CLKSOURCE_HSI: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_HSI; \
break; \
case RCC_USART1CLKSOURCE_SYSCLK: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_SYSCLK; \
break; \
case RCC_USART1CLKSOURCE_LSE: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_LSE; \
break; \
default: \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
break; \
} \
} \
else if((__HANDLE__)->Instance == USART2) \
{ \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_PCLK1; \
} \
else \
{ \
(__CLOCKSOURCE__) = UART_CLOCKSOURCE_UNDEFINED; \
} \
} while(0U)
#endif /* STM32G0C1xx || STM32G0B1xx */
/** @brief Report the UART mask to apply to retrieve the received data
* according to the word length and to the parity bits activation.
* @note If PCE = 1, the parity bit is not included in the data extracted
* by the reception API().
* This masking operation is not carried out in the case of
* DMA transfers.
* @param __HANDLE__ specifies the UART Handle.
* @retval None, the mask to apply to UART RDR register is stored in (__HANDLE__)->Mask field.
*/
#define UART_MASK_COMPUTATION(__HANDLE__) \
do { \
if ((__HANDLE__)->Init.WordLength == UART_WORDLENGTH_9B) \
{ \
if ((__HANDLE__)->Init.Parity == UART_PARITY_NONE) \
{ \
(__HANDLE__)->Mask = 0x01FFU ; \
} \
else \
{ \
(__HANDLE__)->Mask = 0x00FFU ; \
} \
} \
else if ((__HANDLE__)->Init.WordLength == UART_WORDLENGTH_8B) \
{ \
if ((__HANDLE__)->Init.Parity == UART_PARITY_NONE) \
{ \
(__HANDLE__)->Mask = 0x00FFU ; \
} \
else \
{ \
(__HANDLE__)->Mask = 0x007FU ; \
} \
} \
else if ((__HANDLE__)->Init.WordLength == UART_WORDLENGTH_7B) \
{ \
if ((__HANDLE__)->Init.Parity == UART_PARITY_NONE) \
{ \
(__HANDLE__)->Mask = 0x007FU ; \
} \
else \
{ \
(__HANDLE__)->Mask = 0x003FU ; \
} \
} \
else \
{ \
(__HANDLE__)->Mask = 0x0000U; \
} \
} while(0U)
/**
* @brief Ensure that UART frame length is valid.
* @param __LENGTH__ UART frame length.
* @retval SET (__LENGTH__ is valid) or RESET (__LENGTH__ is invalid)
*/
#define IS_UART_WORD_LENGTH(__LENGTH__) (((__LENGTH__) == UART_WORDLENGTH_7B) || \
((__LENGTH__) == UART_WORDLENGTH_8B) || \
((__LENGTH__) == UART_WORDLENGTH_9B))
/**
* @brief Ensure that UART wake-up address length is valid.
* @param __ADDRESS__ UART wake-up address length.
* @retval SET (__ADDRESS__ is valid) or RESET (__ADDRESS__ is invalid)
*/
#define IS_UART_ADDRESSLENGTH_DETECT(__ADDRESS__) (((__ADDRESS__) == UART_ADDRESS_DETECT_4B) || \
((__ADDRESS__) == UART_ADDRESS_DETECT_7B))
/**
* @brief Ensure that UART TXFIFO threshold level is valid.
* @param __THRESHOLD__ UART TXFIFO threshold level.
* @retval SET (__THRESHOLD__ is valid) or RESET (__THRESHOLD__ is invalid)
*/
#define IS_UART_TXFIFO_THRESHOLD(__THRESHOLD__) (((__THRESHOLD__) == UART_TXFIFO_THRESHOLD_1_8) || \
((__THRESHOLD__) == UART_TXFIFO_THRESHOLD_1_4) || \
((__THRESHOLD__) == UART_TXFIFO_THRESHOLD_1_2) || \
((__THRESHOLD__) == UART_TXFIFO_THRESHOLD_3_4) || \
((__THRESHOLD__) == UART_TXFIFO_THRESHOLD_7_8) || \
((__THRESHOLD__) == UART_TXFIFO_THRESHOLD_8_8))
/**
* @brief Ensure that UART RXFIFO threshold level is valid.
* @param __THRESHOLD__ UART RXFIFO threshold level.
* @retval SET (__THRESHOLD__ is valid) or RESET (__THRESHOLD__ is invalid)
*/
#define IS_UART_RXFIFO_THRESHOLD(__THRESHOLD__) (((__THRESHOLD__) == UART_RXFIFO_THRESHOLD_1_8) || \
((__THRESHOLD__) == UART_RXFIFO_THRESHOLD_1_4) || \
((__THRESHOLD__) == UART_RXFIFO_THRESHOLD_1_2) || \
((__THRESHOLD__) == UART_RXFIFO_THRESHOLD_3_4) || \
((__THRESHOLD__) == UART_RXFIFO_THRESHOLD_7_8) || \
((__THRESHOLD__) == UART_RXFIFO_THRESHOLD_8_8))
/**
* @}
*/
/* Private functions ---------------------------------------------------------*/
/**
* @}
*/
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* STM32G0xx_HAL_UART_EX_H */

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,15 +1,18 @@
#MicroXplorer Configuration settings - do not modify #MicroXplorer Configuration settings - do not modify
ADC1.Channel-1\#ChannelRegularConversion=ADC_CHANNEL_10 ADC1.Channel-1\#ChannelRegularConversion=ADC_CHANNEL_10
ADC1.ClockPrescaler=ADC_CLOCK_ASYNC_DIV6 ADC1.ClockPrescaler=ADC_CLOCK_ASYNC_DIV6
ADC1.IPParameters=Rank-1\#ChannelRegularConversion,Channel-1\#ChannelRegularConversion,SamplingTime-1\#ChannelRegularConversion,NbrOfConversionFlag,Resolution,ClockPrescaler,master,SelectedChannel,SamplingTimeCommon1,SamplingTimeCommon2 ADC1.IPParameters=Rank-1\#ChannelRegularConversion,Channel-1\#ChannelRegularConversion,SamplingTime-1\#ChannelRegularConversion,NbrOfConversionFlag,Resolution,ClockPrescaler,SamplingTimeCommon1,SamplingTimeCommon2,master,SelectedChannel
ADC1.NbrOfConversionFlag=1 ADC1.NbrOfConversionFlag=1
ADC1.Rank-1\#ChannelRegularConversion=1 ADC1.Rank-1\#ChannelRegularConversion=1
ADC1.Resolution=ADC_RESOLUTION_10B ADC1.Resolution=ADC_RESOLUTION_10B
ADC1.SamplingTime-1\#ChannelRegularConversion=ADC_SAMPLINGTIME_COMMON_1 ADC1.SamplingTime-1\#ChannelRegularConversion=ADC_SAMPLINGTIME_COMMON_1
ADC1.SamplingTimeCommon1=ADC_SAMPLETIME_3CYCLES_5 ADC1.SamplingTimeCommon1=ADC_SAMPLETIME_3CYCLES_5
ADC1.SamplingTimeCommon2=ADC_SAMPLETIME_3CYCLES_5 ADC1.SamplingTimeCommon2=ADC_SAMPLETIME_3CYCLES_5
ADC1.SelectedChannel=ADC_CHANNEL_10 ADC1.SelectedChannel=ADC_CHANNEL_10|ADC_CHANNEL_11
ADC1.master=1 ADC1.master=1
CAD.formats=
CAD.pinconfig=
CAD.provider=
FREERTOS.FootprintOK=true FREERTOS.FootprintOK=true
FREERTOS.IPParameters=Tasks01,FootprintOK,configTOTAL_HEAP_SIZE,Queues01,Mutexes01,configUSE_NEWLIB_REENTRANT,Timers01 FREERTOS.IPParameters=Tasks01,FootprintOK,configTOTAL_HEAP_SIZE,Queues01,Mutexes01,configUSE_NEWLIB_REENTRANT,Timers01
FREERTOS.Mutexes01=mutScreen,Dynamic,NULL FREERTOS.Mutexes01=mutScreen,Dynamic,NULL
@@ -25,53 +28,60 @@ Mcu.CPN=STM32G070RBT6
Mcu.Family=STM32G0 Mcu.Family=STM32G0
Mcu.IP0=ADC1 Mcu.IP0=ADC1
Mcu.IP1=FREERTOS Mcu.IP1=FREERTOS
Mcu.IP10=USART1
Mcu.IP2=NVIC Mcu.IP2=NVIC
Mcu.IP3=RCC Mcu.IP3=RCC
Mcu.IP4=SPI2 Mcu.IP4=SPI2
Mcu.IP5=SYS Mcu.IP5=SYS
Mcu.IP6=TIM1 Mcu.IP6=TIM1
Mcu.IP7=TIM15 Mcu.IP7=TIM14
Mcu.IP8=TIM17 Mcu.IP8=TIM15
Mcu.IPNb=9 Mcu.IP9=TIM17
Mcu.IPNb=11
Mcu.Name=STM32G070RBTx Mcu.Name=STM32G070RBTx
Mcu.Package=LQFP64 Mcu.Package=LQFP64
Mcu.Pin0=PF0-OSC_IN (PF0) Mcu.Pin0=PC12
Mcu.Pin1=PF1-OSC_OUT (PF1) Mcu.Pin1=PC13
Mcu.Pin10=PA5 Mcu.Pin10=PA3
Mcu.Pin11=PA6 Mcu.Pin11=PA4
Mcu.Pin12=PA7 Mcu.Pin12=PA5
Mcu.Pin13=PC4 Mcu.Pin13=PA6
Mcu.Pin14=PC5 Mcu.Pin14=PA7
Mcu.Pin15=PB0 Mcu.Pin15=PC4
Mcu.Pin16=PB1 Mcu.Pin16=PC5
Mcu.Pin17=PB2 Mcu.Pin17=PB0
Mcu.Pin18=PB13 Mcu.Pin18=PB1
Mcu.Pin19=PB14 Mcu.Pin19=PB2
Mcu.Pin2=PC1 Mcu.Pin2=PF0-OSC_IN (PF0)
Mcu.Pin20=PB15 Mcu.Pin20=PB10
Mcu.Pin21=PA8 Mcu.Pin21=PB13
Mcu.Pin22=PA9 Mcu.Pin22=PB14
Mcu.Pin23=PA13 Mcu.Pin23=PB15
Mcu.Pin24=PA14-BOOT0 Mcu.Pin24=PA8
Mcu.Pin25=PD4 Mcu.Pin25=PA9
Mcu.Pin26=PB9 Mcu.Pin26=PA13
Mcu.Pin27=VP_FREERTOS_VS_CMSIS_V2 Mcu.Pin27=PA14-BOOT0
Mcu.Pin28=VP_SYS_VS_tim6 Mcu.Pin28=PB6
Mcu.Pin29=VP_SYS_VS_DBSignals Mcu.Pin29=PB7
Mcu.Pin3=PC2 Mcu.Pin3=PF1-OSC_OUT (PF1)
Mcu.Pin30=VP_TIM1_VS_ControllerModeCombinedResetTrigger Mcu.Pin30=PB9
Mcu.Pin31=VP_TIM1_VS_ClockSourceINT Mcu.Pin31=VP_FREERTOS_VS_CMSIS_V2
Mcu.Pin32=VP_TIM1_VS_OPM Mcu.Pin32=VP_SYS_VS_tim6
Mcu.Pin33=VP_TIM15_VS_ClockSourceINT Mcu.Pin33=VP_SYS_VS_DBSignals
Mcu.Pin34=VP_TIM17_VS_ClockSourceINT Mcu.Pin34=VP_TIM1_VS_ControllerModeCombinedResetTrigger
Mcu.Pin35=VP_TIM17_VS_OPM Mcu.Pin35=VP_TIM1_VS_ClockSourceINT
Mcu.Pin4=PC3 Mcu.Pin36=VP_TIM1_VS_OPM
Mcu.Pin5=PA0 Mcu.Pin37=VP_TIM14_VS_ClockSourceINT
Mcu.Pin6=PA1 Mcu.Pin38=VP_TIM15_VS_ClockSourceINT
Mcu.Pin7=PA2 Mcu.Pin39=VP_TIM17_VS_ClockSourceINT
Mcu.Pin8=PA3 Mcu.Pin4=PC1
Mcu.Pin9=PA4 Mcu.Pin40=VP_TIM17_VS_OPM
Mcu.PinsNb=36 Mcu.Pin5=PC2
Mcu.Pin6=PC3
Mcu.Pin7=PA0
Mcu.Pin8=PA1
Mcu.Pin9=PA2
Mcu.PinsNb=41
Mcu.ThirdPartyNb=0 Mcu.ThirdPartyNb=0
Mcu.UserConstants= Mcu.UserConstants=
Mcu.UserName=STM32G070RBTx Mcu.UserName=STM32G070RBTx
@@ -150,6 +160,10 @@ PB1.GPIO_Label=LCD_WR
PB1.GPIO_Speed=GPIO_SPEED_FREQ_VERY_HIGH PB1.GPIO_Speed=GPIO_SPEED_FREQ_VERY_HIGH
PB1.Locked=true PB1.Locked=true
PB1.Signal=GPIO_Output PB1.Signal=GPIO_Output
PB10.GPIOParameters=GPIO_Label
PB10.GPIO_Label=THERMISTOR
PB10.Mode=IN11
PB10.Signal=ADC1_IN11
PB13.GPIOParameters=GPIO_Label PB13.GPIOParameters=GPIO_Label
PB13.GPIO_Label=MAX_SCK PB13.GPIO_Label=MAX_SCK
PB13.Locked=true PB13.Locked=true
@@ -169,6 +183,12 @@ PB15.Signal=GPIO_Output
PB2.Locked=true PB2.Locked=true
PB2.Mode=IN10 PB2.Mode=IN10
PB2.Signal=ADC1_IN10 PB2.Signal=ADC1_IN10
PB6.Locked=true
PB6.Mode=Asynchronous
PB6.Signal=USART1_TX
PB7.Locked=true
PB7.Mode=Asynchronous
PB7.Signal=USART1_RX
PB9.GPIOParameters=GPIO_Speed,GPIO_Label PB9.GPIOParameters=GPIO_Speed,GPIO_Label
PB9.GPIO_Label=BUZZER PB9.GPIO_Label=BUZZER
PB9.GPIO_Speed=GPIO_SPEED_FREQ_HIGH PB9.GPIO_Speed=GPIO_SPEED_FREQ_HIGH
@@ -177,16 +197,24 @@ PB9.Signal=GPIO_Output
PC1.GPIOParameters=GPIO_Label PC1.GPIOParameters=GPIO_Label
PC1.GPIO_Label=LCD_LED PC1.GPIO_Label=LCD_LED
PC1.Signal=S_TIM15_CH1 PC1.Signal=S_TIM15_CH1
PC12.GPIOParameters=GPIO_Label
PC12.GPIO_Label=FAN_PWM
PC12.Signal=S_TIM14_CH1
PC13.GPIOParameters=GPIO_PuPd,GPIO_Label
PC13.GPIO_Label=btnSTOP
PC13.GPIO_PuPd=GPIO_PULLUP
PC13.Locked=true
PC13.Signal=GPIO_Input
PC2.GPIOParameters=GPIO_Speed,GPIO_Label PC2.GPIOParameters=GPIO_Speed,GPIO_Label
PC2.GPIO_Label=LED_Status PC2.GPIO_Label=LED_Status
PC2.GPIO_Speed=GPIO_SPEED_FREQ_HIGH PC2.GPIO_Speed=GPIO_SPEED_FREQ_HIGH
PC2.Locked=true PC2.Locked=true
PC2.Signal=GPIO_Output PC2.Signal=GPIO_Output
PC3.GPIOParameters=GPIO_PuPd,GPIO_Label PC3.GPIOParameters=GPIO_Speed,GPIO_Label
PC3.GPIO_Label=btnSTOP PC3.GPIO_Label=LCD_CS
PC3.GPIO_PuPd=GPIO_PULLUP PC3.GPIO_Speed=GPIO_SPEED_FREQ_VERY_HIGH
PC3.Locked=true PC3.Locked=true
PC3.Signal=GPIO_Input PC3.Signal=GPIO_Output
PC4.GPIOParameters=GPIO_Speed,GPIO_Label PC4.GPIOParameters=GPIO_Speed,GPIO_Label
PC4.GPIO_Label=LCD_RD PC4.GPIO_Label=LCD_RD
PC4.GPIO_Speed=GPIO_SPEED_FREQ_VERY_HIGH PC4.GPIO_Speed=GPIO_SPEED_FREQ_VERY_HIGH
@@ -197,11 +225,6 @@ PC5.GPIO_Label=LCD_RST
PC5.GPIO_Speed=GPIO_SPEED_FREQ_VERY_HIGH PC5.GPIO_Speed=GPIO_SPEED_FREQ_VERY_HIGH
PC5.Locked=true PC5.Locked=true
PC5.Signal=GPIO_Output PC5.Signal=GPIO_Output
PD4.GPIOParameters=GPIO_Speed,GPIO_Label
PD4.GPIO_Label=LCD_CS
PD4.GPIO_Speed=GPIO_SPEED_FREQ_VERY_HIGH
PD4.Locked=true
PD4.Signal=GPIO_Output
PF0-OSC_IN\ (PF0).Mode=HSE-External-Oscillator PF0-OSC_IN\ (PF0).Mode=HSE-External-Oscillator
PF0-OSC_IN\ (PF0).Signal=RCC_OSC_IN PF0-OSC_IN\ (PF0).Signal=RCC_OSC_IN
PF1-OSC_OUT\ (PF1).Mode=HSE-External-Oscillator PF1-OSC_OUT\ (PF1).Mode=HSE-External-Oscillator
@@ -234,7 +257,7 @@ ProjectManager.StackSize=0x400
ProjectManager.TargetToolchain=STM32CubeIDE ProjectManager.TargetToolchain=STM32CubeIDE
ProjectManager.ToolChainLocation= ProjectManager.ToolChainLocation=
ProjectManager.UnderRoot=true ProjectManager.UnderRoot=true
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_TIM1_Init-TIM1-false-HAL-true,4-MX_ADC1_Init-ADC1-false-HAL-true,5-MX_SPI2_Init-SPI2-false-HAL-true,6-MX_TIM17_Init-TIM17-false-HAL-true,7-MX_TIM15_Init-TIM15-false-HAL-true ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_TIM1_Init-TIM1-false-HAL-true,4-MX_ADC1_Init-ADC1-false-HAL-true,5-MX_SPI2_Init-SPI2-false-HAL-true,6-MX_TIM17_Init-TIM17-false-HAL-true,7-MX_TIM15_Init-TIM15-false-HAL-true,8-MX_TIM14_Init-TIM14-false-HAL-true,9-MX_USART1_UART_Init-USART1-false-HAL-true
RCC.ADCFreq_Value=64000000 RCC.ADCFreq_Value=64000000
RCC.AHBFreq_Value=64000000 RCC.AHBFreq_Value=64000000
RCC.APBFreq_Value=64000000 RCC.APBFreq_Value=64000000
@@ -262,6 +285,8 @@ RCC.USART1Freq_Value=64000000
RCC.USART2Freq_Value=64000000 RCC.USART2Freq_Value=64000000
RCC.VCOInputFreq_Value=16000000 RCC.VCOInputFreq_Value=16000000
RCC.VCOOutputFreq_Value=128000000 RCC.VCOOutputFreq_Value=128000000
SH.S_TIM14_CH1.0=TIM14_CH1,PWM Generation1 CH1
SH.S_TIM14_CH1.ConfNb=1
SH.S_TIM15_CH1.0=TIM15_CH1,PWM Generation1 CH1 SH.S_TIM15_CH1.0=TIM15_CH1,PWM Generation1 CH1
SH.S_TIM15_CH1.ConfNb=1 SH.S_TIM15_CH1.ConfNb=1
SH.S_TIM1_CH1.0=TIM1_CH1,Input_Capture1_from_TI1 SH.S_TIM1_CH1.0=TIM1_CH1,Input_Capture1_from_TI1
@@ -289,6 +314,8 @@ TIM1.OCPolarity_2=TIM_OCPOLARITY_HIGH
TIM1.Period=999 TIM1.Period=999
TIM1.Prescaler=640-1 TIM1.Prescaler=640-1
TIM1.Pulse-PWM\ Generation2\ CH2=1020 TIM1.Pulse-PWM\ Generation2\ CH2=1020
TIM14.Channel=TIM_CHANNEL_1
TIM14.IPParameters=Channel
TIM15.Channel-PWM\ Generation1\ CH1=TIM_CHANNEL_1 TIM15.Channel-PWM\ Generation1\ CH1=TIM_CHANNEL_1
TIM15.IPParameters=Channel-PWM Generation1 CH1,Prescaler,Period TIM15.IPParameters=Channel-PWM Generation1 CH1,Prescaler,Period
TIM15.Period=100-1 TIM15.Period=100-1
@@ -297,12 +324,16 @@ TIM17.AutoReloadPreload=TIM_AUTORELOAD_PRELOAD_DISABLE
TIM17.IPParameters=Prescaler,Period,AutoReloadPreload TIM17.IPParameters=Prescaler,Period,AutoReloadPreload
TIM17.Period=999 TIM17.Period=999
TIM17.Prescaler=64000-1 TIM17.Prescaler=64000-1
USART1.IPParameters=VirtualMode-Asynchronous
USART1.VirtualMode-Asynchronous=VM_ASYNC
VP_FREERTOS_VS_CMSIS_V2.Mode=CMSIS_V2 VP_FREERTOS_VS_CMSIS_V2.Mode=CMSIS_V2
VP_FREERTOS_VS_CMSIS_V2.Signal=FREERTOS_VS_CMSIS_V2 VP_FREERTOS_VS_CMSIS_V2.Signal=FREERTOS_VS_CMSIS_V2
VP_SYS_VS_DBSignals.Mode=DisableDeadBatterySignals VP_SYS_VS_DBSignals.Mode=DisableDeadBatterySignals
VP_SYS_VS_DBSignals.Signal=SYS_VS_DBSignals VP_SYS_VS_DBSignals.Signal=SYS_VS_DBSignals
VP_SYS_VS_tim6.Mode=TIM6 VP_SYS_VS_tim6.Mode=TIM6
VP_SYS_VS_tim6.Signal=SYS_VS_tim6 VP_SYS_VS_tim6.Signal=SYS_VS_tim6
VP_TIM14_VS_ClockSourceINT.Mode=Enable_Timer
VP_TIM14_VS_ClockSourceINT.Signal=TIM14_VS_ClockSourceINT
VP_TIM15_VS_ClockSourceINT.Mode=Internal VP_TIM15_VS_ClockSourceINT.Mode=Internal
VP_TIM15_VS_ClockSourceINT.Signal=TIM15_VS_ClockSourceINT VP_TIM15_VS_ClockSourceINT.Signal=TIM15_VS_ClockSourceINT
VP_TIM17_VS_ClockSourceINT.Mode=Enable_Timer VP_TIM17_VS_ClockSourceINT.Mode=Enable_Timer

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 KiB

BIN
images/pcb-heater-PCB1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
images/pcb-heater-PCB2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,26 +0,0 @@
%TF.GenerationSoftware,KiCad,Pcbnew,(5.1.9)-1*%
%TF.CreationDate,2021-12-16T02:45:32+03:00*%
%TF.ProjectId,pcb-heater,7063622d-6865-4617-9465-722e6b696361,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Profile,NP*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW (5.1.9)-1) date 2021-12-16 02:45:32*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
%TA.AperFunction,Profile*%
%ADD10C,0.050000*%
%TD*%
G04 APERTURE END LIST*
D10*
X143510000Y-76200000D02*
X143510000Y-123190000D01*
X43815000Y-76200000D02*
X143510000Y-76200000D01*
X43815000Y-123190000D02*
X43815000Y-76200000D01*
X43815000Y-123190000D02*
X143510000Y-123190000D01*
M02*

File diff suppressed because it is too large Load Diff

View File

@@ -1,649 +0,0 @@
%TF.GenerationSoftware,KiCad,Pcbnew,(5.1.9)-1*%
%TF.CreationDate,2021-12-16T02:45:32+03:00*%
%TF.ProjectId,pcb-heater,7063622d-6865-4617-9465-722e6b696361,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Soldermask,Top*%
%TF.FilePolarity,Negative*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW (5.1.9)-1) date 2021-12-16 02:45:32*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
%ADD10C,0.800000*%
%ADD11C,6.400000*%
%ADD12C,1.600000*%
%ADD13C,6.000000*%
%ADD14O,1.905000X2.000000*%
%ADD15R,1.905000X2.000000*%
%ADD16C,2.300000*%
%ADD17R,2.300000X2.000000*%
%ADD18R,0.740000X2.400000*%
%ADD19O,1.700000X1.700000*%
%ADD20R,1.700000X1.700000*%
%ADD21C,2.600000*%
%ADD22R,2.600000X2.600000*%
%ADD23C,1.800000*%
%ADD24R,1.800000X1.800000*%
G04 APERTURE END LIST*
D10*
%TO.C,H3*%
X135047056Y-79582944D03*
X133350000Y-78880000D03*
X131652944Y-79582944D03*
X130950000Y-81280000D03*
X131652944Y-82977056D03*
X133350000Y-83680000D03*
X135047056Y-82977056D03*
X135750000Y-81280000D03*
D11*
X133350000Y-81280000D03*
%TD*%
D10*
%TO.C,H2*%
X135047056Y-116412944D03*
X133350000Y-115710000D03*
X131652944Y-116412944D03*
X130950000Y-118110000D03*
X131652944Y-119807056D03*
X133350000Y-120510000D03*
X135047056Y-119807056D03*
X135750000Y-118110000D03*
D11*
X133350000Y-118110000D03*
%TD*%
D10*
%TO.C,H1*%
X50592056Y-103077944D03*
X48895000Y-102375000D03*
X47197944Y-103077944D03*
X46495000Y-104775000D03*
X47197944Y-106472056D03*
X48895000Y-107175000D03*
X50592056Y-106472056D03*
X51295000Y-104775000D03*
D11*
X48895000Y-104775000D03*
%TD*%
D12*
%TO.C,R16*%
X58230000Y-104775000D03*
X66230000Y-104775000D03*
%TD*%
D13*
%TO.C,HS1*%
X74930000Y-115570000D03*
X49530000Y-115570000D03*
%TD*%
D12*
%TO.C,Y1*%
X126365000Y-93255000D03*
X126365000Y-88355000D03*
%TD*%
%TO.C,R19*%
G36*
G01*
X112210001Y-86976000D02*
X111309999Y-86976000D01*
G75*
G02*
X111060000Y-86726001I0J249999D01*
G01*
X111060000Y-86025999D01*
G75*
G02*
X111309999Y-85776000I249999J0D01*
G01*
X112210001Y-85776000D01*
G75*
G02*
X112460000Y-86025999I0J-249999D01*
G01*
X112460000Y-86726001D01*
G75*
G02*
X112210001Y-86976000I-249999J0D01*
G01*
G37*
G36*
G01*
X112210001Y-88976000D02*
X111309999Y-88976000D01*
G75*
G02*
X111060000Y-88726001I0J249999D01*
G01*
X111060000Y-88025999D01*
G75*
G02*
X111309999Y-87776000I249999J0D01*
G01*
X112210001Y-87776000D01*
G75*
G02*
X112460000Y-88025999I0J-249999D01*
G01*
X112460000Y-88726001D01*
G75*
G02*
X112210001Y-88976000I-249999J0D01*
G01*
G37*
%TD*%
%TO.C,R18*%
G36*
G01*
X115512001Y-86976000D02*
X114611999Y-86976000D01*
G75*
G02*
X114362000Y-86726001I0J249999D01*
G01*
X114362000Y-86025999D01*
G75*
G02*
X114611999Y-85776000I249999J0D01*
G01*
X115512001Y-85776000D01*
G75*
G02*
X115762000Y-86025999I0J-249999D01*
G01*
X115762000Y-86726001D01*
G75*
G02*
X115512001Y-86976000I-249999J0D01*
G01*
G37*
G36*
G01*
X115512001Y-88976000D02*
X114611999Y-88976000D01*
G75*
G02*
X114362000Y-88726001I0J249999D01*
G01*
X114362000Y-88025999D01*
G75*
G02*
X114611999Y-87776000I249999J0D01*
G01*
X115512001Y-87776000D01*
G75*
G02*
X115762000Y-88025999I0J-249999D01*
G01*
X115762000Y-88726001D01*
G75*
G02*
X115512001Y-88976000I-249999J0D01*
G01*
G37*
%TD*%
%TO.C,R17*%
G36*
G01*
X117798001Y-86976000D02*
X116897999Y-86976000D01*
G75*
G02*
X116648000Y-86726001I0J249999D01*
G01*
X116648000Y-86025999D01*
G75*
G02*
X116897999Y-85776000I249999J0D01*
G01*
X117798001Y-85776000D01*
G75*
G02*
X118048000Y-86025999I0J-249999D01*
G01*
X118048000Y-86726001D01*
G75*
G02*
X117798001Y-86976000I-249999J0D01*
G01*
G37*
G36*
G01*
X117798001Y-88976000D02*
X116897999Y-88976000D01*
G75*
G02*
X116648000Y-88726001I0J249999D01*
G01*
X116648000Y-88025999D01*
G75*
G02*
X116897999Y-87776000I249999J0D01*
G01*
X117798001Y-87776000D01*
G75*
G02*
X118048000Y-88025999I0J-249999D01*
G01*
X118048000Y-88726001D01*
G75*
G02*
X117798001Y-88976000I-249999J0D01*
G01*
G37*
%TD*%
%TO.C,R7*%
X70295000Y-100965000D03*
X78295000Y-100965000D03*
%TD*%
%TO.C,R6*%
X70295000Y-104775000D03*
X78295000Y-104775000D03*
%TD*%
%TO.C,R2*%
G36*
G01*
X121469999Y-84220000D02*
X122370001Y-84220000D01*
G75*
G02*
X122620000Y-84469999I0J-249999D01*
G01*
X122620000Y-85170001D01*
G75*
G02*
X122370001Y-85420000I-249999J0D01*
G01*
X121469999Y-85420000D01*
G75*
G02*
X121220000Y-85170001I0J249999D01*
G01*
X121220000Y-84469999D01*
G75*
G02*
X121469999Y-84220000I249999J0D01*
G01*
G37*
G36*
G01*
X121469999Y-82220000D02*
X122370001Y-82220000D01*
G75*
G02*
X122620000Y-82469999I0J-249999D01*
G01*
X122620000Y-83170001D01*
G75*
G02*
X122370001Y-83420000I-249999J0D01*
G01*
X121469999Y-83420000D01*
G75*
G02*
X121220000Y-83170001I0J249999D01*
G01*
X121220000Y-82469999D01*
G75*
G02*
X121469999Y-82220000I249999J0D01*
G01*
G37*
%TD*%
D14*
%TO.C,Q3*%
X59690000Y-111125000D03*
X62230000Y-111125000D03*
D15*
X64770000Y-111125000D03*
%TD*%
D16*
%TO.C,PS1*%
X91630000Y-95290000D03*
X62230000Y-90090000D03*
D17*
X62230000Y-85090000D03*
D16*
X91630000Y-79890000D03*
%TD*%
D18*
%TO.C,J9*%
X110490000Y-83039500D03*
X110490000Y-79139500D03*
X111760000Y-83039500D03*
X111760000Y-79139500D03*
X113030000Y-83039500D03*
X113030000Y-79139500D03*
X114300000Y-83039500D03*
X114300000Y-79139500D03*
X115570000Y-83039500D03*
X115570000Y-79139500D03*
X116840000Y-83039500D03*
X116840000Y-79139500D03*
X118110000Y-83039500D03*
X118110000Y-79139500D03*
%TD*%
D19*
%TO.C,J8*%
X100330000Y-100330000D03*
X100330000Y-97790000D03*
X100330000Y-95250000D03*
D20*
X100330000Y-92710000D03*
%TD*%
D19*
%TO.C,J7*%
X100330000Y-115570000D03*
X100330000Y-113030000D03*
X100330000Y-110490000D03*
X100330000Y-107950000D03*
D20*
X100330000Y-105410000D03*
%TD*%
D21*
%TO.C,J6*%
X126365000Y-116840000D03*
D22*
X121285000Y-116840000D03*
%TD*%
D21*
%TO.C,J5*%
X50419000Y-97155000D03*
D22*
X50419000Y-92075000D03*
%TD*%
D21*
%TO.C,J4*%
X50419000Y-85471000D03*
D22*
X50419000Y-80391000D03*
%TD*%
D19*
%TO.C,J3*%
X106680000Y-115570000D03*
X106680000Y-113030000D03*
D20*
X106680000Y-110490000D03*
%TD*%
D19*
%TO.C,J2*%
X140970000Y-117475000D03*
X140970000Y-114935000D03*
X140970000Y-112395000D03*
X140970000Y-109855000D03*
X140970000Y-107315000D03*
X140970000Y-104775000D03*
X140970000Y-102235000D03*
X140970000Y-99695000D03*
X140970000Y-97155000D03*
X140970000Y-94615000D03*
X140970000Y-92075000D03*
X140970000Y-89535000D03*
X140970000Y-86995000D03*
X140970000Y-84455000D03*
X140970000Y-81915000D03*
D20*
X140970000Y-79375000D03*
%TD*%
D19*
%TO.C,J1*%
X127000000Y-79375000D03*
D20*
X127000000Y-81915000D03*
%TD*%
%TO.C,D1*%
G36*
G01*
X121469999Y-79825000D02*
X122370001Y-79825000D01*
G75*
G02*
X122620000Y-80074999I0J-249999D01*
G01*
X122620000Y-80725001D01*
G75*
G02*
X122370001Y-80975000I-249999J0D01*
G01*
X121469999Y-80975000D01*
G75*
G02*
X121220000Y-80725001I0J249999D01*
G01*
X121220000Y-80074999D01*
G75*
G02*
X121469999Y-79825000I249999J0D01*
G01*
G37*
G36*
G01*
X121469999Y-77775000D02*
X122370001Y-77775000D01*
G75*
G02*
X122620000Y-78024999I0J-249999D01*
G01*
X122620000Y-78675001D01*
G75*
G02*
X122370001Y-78925000I-249999J0D01*
G01*
X121469999Y-78925000D01*
G75*
G02*
X121220000Y-78675001I0J249999D01*
G01*
X121220000Y-78024999D01*
G75*
G02*
X121469999Y-77775000I249999J0D01*
G01*
G37*
%TD*%
%TO.C,C8*%
G36*
G01*
X109822000Y-86926000D02*
X108872000Y-86926000D01*
G75*
G02*
X108622000Y-86676000I0J250000D01*
G01*
X108622000Y-86001000D01*
G75*
G02*
X108872000Y-85751000I250000J0D01*
G01*
X109822000Y-85751000D01*
G75*
G02*
X110072000Y-86001000I0J-250000D01*
G01*
X110072000Y-86676000D01*
G75*
G02*
X109822000Y-86926000I-250000J0D01*
G01*
G37*
G36*
G01*
X109822000Y-89001000D02*
X108872000Y-89001000D01*
G75*
G02*
X108622000Y-88751000I0J250000D01*
G01*
X108622000Y-88076000D01*
G75*
G02*
X108872000Y-87826000I250000J0D01*
G01*
X109822000Y-87826000D01*
G75*
G02*
X110072000Y-88076000I0J-250000D01*
G01*
X110072000Y-88751000D01*
G75*
G02*
X109822000Y-89001000I-250000J0D01*
G01*
G37*
%TD*%
%TO.C,C5*%
G36*
G01*
X114750000Y-119220000D02*
X114750000Y-118270000D01*
G75*
G02*
X115000000Y-118020000I250000J0D01*
G01*
X115675000Y-118020000D01*
G75*
G02*
X115925000Y-118270000I0J-250000D01*
G01*
X115925000Y-119220000D01*
G75*
G02*
X115675000Y-119470000I-250000J0D01*
G01*
X115000000Y-119470000D01*
G75*
G02*
X114750000Y-119220000I0J250000D01*
G01*
G37*
G36*
G01*
X112675000Y-119220000D02*
X112675000Y-118270000D01*
G75*
G02*
X112925000Y-118020000I250000J0D01*
G01*
X113600000Y-118020000D01*
G75*
G02*
X113850000Y-118270000I0J-250000D01*
G01*
X113850000Y-119220000D01*
G75*
G02*
X113600000Y-119470000I-250000J0D01*
G01*
X112925000Y-119470000D01*
G75*
G02*
X112675000Y-119220000I0J250000D01*
G01*
G37*
%TD*%
%TO.C,C2*%
G36*
G01*
X129888000Y-94440500D02*
X128938000Y-94440500D01*
G75*
G02*
X128688000Y-94190500I0J250000D01*
G01*
X128688000Y-93515500D01*
G75*
G02*
X128938000Y-93265500I250000J0D01*
G01*
X129888000Y-93265500D01*
G75*
G02*
X130138000Y-93515500I0J-250000D01*
G01*
X130138000Y-94190500D01*
G75*
G02*
X129888000Y-94440500I-250000J0D01*
G01*
G37*
G36*
G01*
X129888000Y-92365500D02*
X128938000Y-92365500D01*
G75*
G02*
X128688000Y-92115500I0J250000D01*
G01*
X128688000Y-91440500D01*
G75*
G02*
X128938000Y-91190500I250000J0D01*
G01*
X129888000Y-91190500D01*
G75*
G02*
X130138000Y-91440500I0J-250000D01*
G01*
X130138000Y-92115500D01*
G75*
G02*
X129888000Y-92365500I-250000J0D01*
G01*
G37*
%TD*%
%TO.C,C1*%
G36*
G01*
X128938000Y-89223000D02*
X129888000Y-89223000D01*
G75*
G02*
X130138000Y-89473000I0J-250000D01*
G01*
X130138000Y-90148000D01*
G75*
G02*
X129888000Y-90398000I-250000J0D01*
G01*
X128938000Y-90398000D01*
G75*
G02*
X128688000Y-90148000I0J250000D01*
G01*
X128688000Y-89473000D01*
G75*
G02*
X128938000Y-89223000I250000J0D01*
G01*
G37*
G36*
G01*
X128938000Y-87148000D02*
X129888000Y-87148000D01*
G75*
G02*
X130138000Y-87398000I0J-250000D01*
G01*
X130138000Y-88073000D01*
G75*
G02*
X129888000Y-88323000I-250000J0D01*
G01*
X128938000Y-88323000D01*
G75*
G02*
X128688000Y-88073000I0J250000D01*
G01*
X128688000Y-87398000D01*
G75*
G02*
X128938000Y-87148000I250000J0D01*
G01*
G37*
%TD*%
D23*
%TO.C,BZ1*%
X98465000Y-81915000D03*
D24*
X103465000Y-81915000D03*
%TD*%
M02*

View File

@@ -1,483 +0,0 @@
%TF.GenerationSoftware,KiCad,Pcbnew,(5.1.9)-1*%
%TF.CreationDate,2021-12-16T02:45:32+03:00*%
%TF.ProjectId,pcb-heater,7063622d-6865-4617-9465-722e6b696361,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Paste,Top*%
%TF.FilePolarity,Positive*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW (5.1.9)-1) date 2021-12-16 02:45:32*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
%ADD10R,0.740000X2.400000*%
G04 APERTURE END LIST*
%TO.C,R19*%
G36*
G01*
X112210001Y-86976000D02*
X111309999Y-86976000D01*
G75*
G02*
X111060000Y-86726001I0J249999D01*
G01*
X111060000Y-86025999D01*
G75*
G02*
X111309999Y-85776000I249999J0D01*
G01*
X112210001Y-85776000D01*
G75*
G02*
X112460000Y-86025999I0J-249999D01*
G01*
X112460000Y-86726001D01*
G75*
G02*
X112210001Y-86976000I-249999J0D01*
G01*
G37*
G36*
G01*
X112210001Y-88976000D02*
X111309999Y-88976000D01*
G75*
G02*
X111060000Y-88726001I0J249999D01*
G01*
X111060000Y-88025999D01*
G75*
G02*
X111309999Y-87776000I249999J0D01*
G01*
X112210001Y-87776000D01*
G75*
G02*
X112460000Y-88025999I0J-249999D01*
G01*
X112460000Y-88726001D01*
G75*
G02*
X112210001Y-88976000I-249999J0D01*
G01*
G37*
%TD*%
%TO.C,R18*%
G36*
G01*
X115512001Y-86976000D02*
X114611999Y-86976000D01*
G75*
G02*
X114362000Y-86726001I0J249999D01*
G01*
X114362000Y-86025999D01*
G75*
G02*
X114611999Y-85776000I249999J0D01*
G01*
X115512001Y-85776000D01*
G75*
G02*
X115762000Y-86025999I0J-249999D01*
G01*
X115762000Y-86726001D01*
G75*
G02*
X115512001Y-86976000I-249999J0D01*
G01*
G37*
G36*
G01*
X115512001Y-88976000D02*
X114611999Y-88976000D01*
G75*
G02*
X114362000Y-88726001I0J249999D01*
G01*
X114362000Y-88025999D01*
G75*
G02*
X114611999Y-87776000I249999J0D01*
G01*
X115512001Y-87776000D01*
G75*
G02*
X115762000Y-88025999I0J-249999D01*
G01*
X115762000Y-88726001D01*
G75*
G02*
X115512001Y-88976000I-249999J0D01*
G01*
G37*
%TD*%
%TO.C,R17*%
G36*
G01*
X117798001Y-86976000D02*
X116897999Y-86976000D01*
G75*
G02*
X116648000Y-86726001I0J249999D01*
G01*
X116648000Y-86025999D01*
G75*
G02*
X116897999Y-85776000I249999J0D01*
G01*
X117798001Y-85776000D01*
G75*
G02*
X118048000Y-86025999I0J-249999D01*
G01*
X118048000Y-86726001D01*
G75*
G02*
X117798001Y-86976000I-249999J0D01*
G01*
G37*
G36*
G01*
X117798001Y-88976000D02*
X116897999Y-88976000D01*
G75*
G02*
X116648000Y-88726001I0J249999D01*
G01*
X116648000Y-88025999D01*
G75*
G02*
X116897999Y-87776000I249999J0D01*
G01*
X117798001Y-87776000D01*
G75*
G02*
X118048000Y-88025999I0J-249999D01*
G01*
X118048000Y-88726001D01*
G75*
G02*
X117798001Y-88976000I-249999J0D01*
G01*
G37*
%TD*%
%TO.C,R2*%
G36*
G01*
X121469999Y-84220000D02*
X122370001Y-84220000D01*
G75*
G02*
X122620000Y-84469999I0J-249999D01*
G01*
X122620000Y-85170001D01*
G75*
G02*
X122370001Y-85420000I-249999J0D01*
G01*
X121469999Y-85420000D01*
G75*
G02*
X121220000Y-85170001I0J249999D01*
G01*
X121220000Y-84469999D01*
G75*
G02*
X121469999Y-84220000I249999J0D01*
G01*
G37*
G36*
G01*
X121469999Y-82220000D02*
X122370001Y-82220000D01*
G75*
G02*
X122620000Y-82469999I0J-249999D01*
G01*
X122620000Y-83170001D01*
G75*
G02*
X122370001Y-83420000I-249999J0D01*
G01*
X121469999Y-83420000D01*
G75*
G02*
X121220000Y-83170001I0J249999D01*
G01*
X121220000Y-82469999D01*
G75*
G02*
X121469999Y-82220000I249999J0D01*
G01*
G37*
%TD*%
D10*
%TO.C,J9*%
X110490000Y-83039500D03*
X110490000Y-79139500D03*
X111760000Y-83039500D03*
X111760000Y-79139500D03*
X113030000Y-83039500D03*
X113030000Y-79139500D03*
X114300000Y-83039500D03*
X114300000Y-79139500D03*
X115570000Y-83039500D03*
X115570000Y-79139500D03*
X116840000Y-83039500D03*
X116840000Y-79139500D03*
X118110000Y-83039500D03*
X118110000Y-79139500D03*
%TD*%
%TO.C,D1*%
G36*
G01*
X121469999Y-79825000D02*
X122370001Y-79825000D01*
G75*
G02*
X122620000Y-80074999I0J-249999D01*
G01*
X122620000Y-80725001D01*
G75*
G02*
X122370001Y-80975000I-249999J0D01*
G01*
X121469999Y-80975000D01*
G75*
G02*
X121220000Y-80725001I0J249999D01*
G01*
X121220000Y-80074999D01*
G75*
G02*
X121469999Y-79825000I249999J0D01*
G01*
G37*
G36*
G01*
X121469999Y-77775000D02*
X122370001Y-77775000D01*
G75*
G02*
X122620000Y-78024999I0J-249999D01*
G01*
X122620000Y-78675001D01*
G75*
G02*
X122370001Y-78925000I-249999J0D01*
G01*
X121469999Y-78925000D01*
G75*
G02*
X121220000Y-78675001I0J249999D01*
G01*
X121220000Y-78024999D01*
G75*
G02*
X121469999Y-77775000I249999J0D01*
G01*
G37*
%TD*%
%TO.C,C8*%
G36*
G01*
X109822000Y-86926000D02*
X108872000Y-86926000D01*
G75*
G02*
X108622000Y-86676000I0J250000D01*
G01*
X108622000Y-86001000D01*
G75*
G02*
X108872000Y-85751000I250000J0D01*
G01*
X109822000Y-85751000D01*
G75*
G02*
X110072000Y-86001000I0J-250000D01*
G01*
X110072000Y-86676000D01*
G75*
G02*
X109822000Y-86926000I-250000J0D01*
G01*
G37*
G36*
G01*
X109822000Y-89001000D02*
X108872000Y-89001000D01*
G75*
G02*
X108622000Y-88751000I0J250000D01*
G01*
X108622000Y-88076000D01*
G75*
G02*
X108872000Y-87826000I250000J0D01*
G01*
X109822000Y-87826000D01*
G75*
G02*
X110072000Y-88076000I0J-250000D01*
G01*
X110072000Y-88751000D01*
G75*
G02*
X109822000Y-89001000I-250000J0D01*
G01*
G37*
%TD*%
%TO.C,C5*%
G36*
G01*
X114750000Y-119220000D02*
X114750000Y-118270000D01*
G75*
G02*
X115000000Y-118020000I250000J0D01*
G01*
X115675000Y-118020000D01*
G75*
G02*
X115925000Y-118270000I0J-250000D01*
G01*
X115925000Y-119220000D01*
G75*
G02*
X115675000Y-119470000I-250000J0D01*
G01*
X115000000Y-119470000D01*
G75*
G02*
X114750000Y-119220000I0J250000D01*
G01*
G37*
G36*
G01*
X112675000Y-119220000D02*
X112675000Y-118270000D01*
G75*
G02*
X112925000Y-118020000I250000J0D01*
G01*
X113600000Y-118020000D01*
G75*
G02*
X113850000Y-118270000I0J-250000D01*
G01*
X113850000Y-119220000D01*
G75*
G02*
X113600000Y-119470000I-250000J0D01*
G01*
X112925000Y-119470000D01*
G75*
G02*
X112675000Y-119220000I0J250000D01*
G01*
G37*
%TD*%
%TO.C,C2*%
G36*
G01*
X129888000Y-94440500D02*
X128938000Y-94440500D01*
G75*
G02*
X128688000Y-94190500I0J250000D01*
G01*
X128688000Y-93515500D01*
G75*
G02*
X128938000Y-93265500I250000J0D01*
G01*
X129888000Y-93265500D01*
G75*
G02*
X130138000Y-93515500I0J-250000D01*
G01*
X130138000Y-94190500D01*
G75*
G02*
X129888000Y-94440500I-250000J0D01*
G01*
G37*
G36*
G01*
X129888000Y-92365500D02*
X128938000Y-92365500D01*
G75*
G02*
X128688000Y-92115500I0J250000D01*
G01*
X128688000Y-91440500D01*
G75*
G02*
X128938000Y-91190500I250000J0D01*
G01*
X129888000Y-91190500D01*
G75*
G02*
X130138000Y-91440500I0J-250000D01*
G01*
X130138000Y-92115500D01*
G75*
G02*
X129888000Y-92365500I-250000J0D01*
G01*
G37*
%TD*%
%TO.C,C1*%
G36*
G01*
X128938000Y-89223000D02*
X129888000Y-89223000D01*
G75*
G02*
X130138000Y-89473000I0J-250000D01*
G01*
X130138000Y-90148000D01*
G75*
G02*
X129888000Y-90398000I-250000J0D01*
G01*
X128938000Y-90398000D01*
G75*
G02*
X128688000Y-90148000I0J250000D01*
G01*
X128688000Y-89473000D01*
G75*
G02*
X128938000Y-89223000I250000J0D01*
G01*
G37*
G36*
G01*
X128938000Y-87148000D02*
X129888000Y-87148000D01*
G75*
G02*
X130138000Y-87398000I0J-250000D01*
G01*
X130138000Y-88073000D01*
G75*
G02*
X129888000Y-88323000I-250000J0D01*
G01*
X128938000Y-88323000D01*
G75*
G02*
X128688000Y-88073000I0J250000D01*
G01*
X128688000Y-87398000D01*
G75*
G02*
X128938000Y-87148000I250000J0D01*
G01*
G37*
%TD*%
M02*

File diff suppressed because it is too large Load Diff

View File

@@ -1,108 +0,0 @@
%FSLAX45Y45*%
G04 Gerber Fmt 4.5, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW (5.1.9)-1) date 2021-12-16 02:45:17*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
%TA.AperFunction,Profile*%
%ADD10C,0.050000*%
%TD*%
%ADD11C,0.200000*%
%ADD12C,0.300000*%
G04 APERTURE END LIST*
D10*
X14351000Y-7620000D02*
X14351000Y-12319000D01*
X4381500Y-7620000D02*
X14351000Y-7620000D01*
X4381500Y-12319000D02*
X4381500Y-7620000D01*
X4381500Y-12319000D02*
X14351000Y-12319000D01*
D11*
D12*
X4665428Y-12787214D02*
X4665428Y-12487214D01*
X4736857Y-12487214D01*
X4779714Y-12501500D01*
X4808286Y-12530071D01*
X4822571Y-12558643D01*
X4836857Y-12615786D01*
X4836857Y-12658643D01*
X4822571Y-12715786D01*
X4808286Y-12744357D01*
X4779714Y-12772929D01*
X4736857Y-12787214D01*
X4665428Y-12787214D01*
X4965428Y-12787214D02*
X4965428Y-12587214D01*
X4965428Y-12644357D02*
X4979714Y-12615786D01*
X4994000Y-12601500D01*
X5022571Y-12587214D01*
X5051143Y-12587214D01*
X5151143Y-12787214D02*
X5151143Y-12587214D01*
X5151143Y-12487214D02*
X5136857Y-12501500D01*
X5151143Y-12515786D01*
X5165428Y-12501500D01*
X5151143Y-12487214D01*
X5151143Y-12515786D01*
X5336857Y-12787214D02*
X5308286Y-12772929D01*
X5294000Y-12744357D01*
X5294000Y-12487214D01*
X5494000Y-12787214D02*
X5465428Y-12772929D01*
X5451143Y-12744357D01*
X5451143Y-12487214D01*
X5836857Y-12787214D02*
X5836857Y-12487214D01*
X5936857Y-12701500D01*
X6036857Y-12487214D01*
X6036857Y-12787214D01*
X6308286Y-12787214D02*
X6308286Y-12630071D01*
X6294000Y-12601500D01*
X6265428Y-12587214D01*
X6208286Y-12587214D01*
X6179714Y-12601500D01*
X6308286Y-12772929D02*
X6279714Y-12787214D01*
X6208286Y-12787214D01*
X6179714Y-12772929D01*
X6165428Y-12744357D01*
X6165428Y-12715786D01*
X6179714Y-12687214D01*
X6208286Y-12672929D01*
X6279714Y-12672929D01*
X6308286Y-12658643D01*
X6451143Y-12587214D02*
X6451143Y-12887214D01*
X6451143Y-12601500D02*
X6479714Y-12587214D01*
X6536857Y-12587214D01*
X6565428Y-12601500D01*
X6579714Y-12615786D01*
X6594000Y-12644357D01*
X6594000Y-12730071D01*
X6579714Y-12758643D01*
X6565428Y-12772929D01*
X6536857Y-12787214D01*
X6479714Y-12787214D01*
X6451143Y-12772929D01*
X6722571Y-12758643D02*
X6736857Y-12772929D01*
X6722571Y-12787214D01*
X6708286Y-12772929D01*
X6722571Y-12758643D01*
X6722571Y-12787214D01*
X6722571Y-12601500D02*
X6736857Y-12615786D01*
X6722571Y-12630071D01*
X6708286Y-12615786D01*
X6722571Y-12601500D01*
X6722571Y-12630071D01*
M02*

View File

@@ -1,197 +0,0 @@
%!PS-Adobe-3.0
%%Creator: PCBNEW
%%CreationDate: Thu Dec 16 02:45:11 2021
%%Title: G:\ownCloud\Projects\PCB-Heater\kicad\pcb-heater\gerber\pcb-heater-NPTH-drl_map.ps
%%Pages: 1
%%PageOrder: Ascend
%%BoundingBox: 0 0 596 842
%%DocumentMedia: A4 595 842 0 () ()
%%Orientation: Landscape
%%EndComments
%%BeginProlog
/line { newpath moveto lineto stroke } bind def
/cir0 { newpath 0 360 arc stroke } bind def
/cir1 { newpath 0 360 arc gsave fill grestore stroke } bind def
/cir2 { newpath 0 360 arc gsave fill grestore stroke } bind def
/arc0 { newpath arc stroke } bind def
/arc1 { newpath 4 index 4 index moveto arc closepath gsave fill
grestore stroke } bind def
/arc2 { newpath 4 index 4 index moveto arc closepath gsave fill
grestore stroke } bind def
/poly0 { stroke } bind def
/poly1 { closepath gsave fill grestore stroke } bind def
/poly2 { closepath gsave fill grestore stroke } bind def
/rect0 { rectstroke } bind def
/rect1 { rectfill } bind def
/rect2 { rectfill } bind def
/linemode0 { 0 setlinecap 0 setlinejoin 0 setlinewidth } bind def
/linemode1 { 1 setlinecap 1 setlinejoin } bind def
/dashedline { [200] 100 setdash } bind def
/solidline { [] 0 setdash } bind def
/phantomshow { moveto
/KicadFont findfont 0.000001 scalefont setfont
show } bind def
/textshow { gsave
findfont exch scalefont setfont concat 1 scale 0 0 moveto show
} bind def
/reencodefont {
findfont dup length dict begin
{ 1 index /FID ne
{ def }
{ pop pop } ifelse
} forall
/Encoding ISOLatin1Encoding def
currentdict
end } bind def
/KicadFont /Helvetica reencodefont definefont pop
/KicadFont-Bold /Helvetica-Bold reencodefont definefont pop
/KicadFont-Oblique /Helvetica-Oblique reencodefont definefont pop
/KicadFont-BoldOblique /Helvetica-BoldOblique reencodefont definefont pop
%%EndProlog
%%Page: 1 1
%%BeginPageSetup
gsave
0.0072 0.0072 scale
linemode1
82680 0 translate 90 rotate
112.675 setlinewidth
%%EndPageSetup
0 0 0 setrgbcolor
44.3601 setlinewidth
newpath
102690 78720.8 moveto
102690 37031.2 lineto
stroke
0 0 0 setrgbcolor
newpath
14240.2 78720.8 moveto
102690 78720.8 lineto
stroke
0 0 0 setrgbcolor
newpath
14240.2 37031.2 moveto
14240.2 78720.8 lineto
stroke
0 0 0 setrgbcolor
newpath
14240.2 37031.2 moveto
102690 37031.2 lineto
stroke
78.7401 setlinewidth
118.111 setlinewidth
0 0 0 setrgbcolor
0 0 0 setrgbcolor
newpath
15345.7 35175.5 moveto
15345.7 36356.6 lineto
15626.9 36356.6 lineto
15795.6 36300.3 lineto
15908.1 36187.9 lineto
15964.4 36075.4 lineto
16020.6 35850.4 lineto
16020.6 35681.7 lineto
15964.4 35456.7 lineto
15908.1 35344.2 lineto
15795.6 35231.7 lineto
15626.9 35175.5 lineto
15345.7 35175.5 lineto
stroke
newpath
16526.8 35175.5 moveto
16526.8 35962.9 lineto
stroke
newpath
16526.8 35737.9 moveto
16583 35850.4 lineto
16639.3 35906.6 lineto
16751.8 35962.9 lineto
16864.2 35962.9 lineto
stroke
newpath
17258 35175.5 moveto
17258 35962.9 lineto
stroke
newpath
17258 36356.6 moveto
17201.7 36300.3 lineto
17258 36244.1 lineto
17314.2 36300.3 lineto
17258 36356.6 lineto
17258 36244.1 lineto
stroke
newpath
17989.1 35175.5 moveto
17876.6 35231.7 lineto
17820.4 35344.2 lineto
17820.4 36356.6 lineto
stroke
newpath
18607.8 35175.5 moveto
18495.3 35231.7 lineto
18439.1 35344.2 lineto
18439.1 36356.6 lineto
stroke
newpath
19957.6 35175.5 moveto
19957.6 36356.6 lineto
20351.3 35512.9 lineto
20745 36356.6 lineto
20745 35175.5 lineto
stroke
newpath
21813.6 35175.5 moveto
21813.6 35794.2 lineto
21757.4 35906.6 lineto
21644.9 35962.9 lineto
21419.9 35962.9 lineto
21307.4 35906.6 lineto
stroke
newpath
21813.6 35231.7 moveto
21701.1 35175.5 lineto
21419.9 35175.5 lineto
21307.4 35231.7 lineto
21251.2 35344.2 lineto
21251.2 35456.7 lineto
21307.4 35569.2 lineto
21419.9 35625.4 lineto
21701.1 35625.4 lineto
21813.6 35681.7 lineto
stroke
newpath
22376.1 35962.9 moveto
22376.1 34781.8 lineto
stroke
newpath
22376.1 35906.6 moveto
22488.5 35962.9 lineto
22713.5 35962.9 lineto
22826 35906.6 lineto
22882.2 35850.4 lineto
22938.5 35737.9 lineto
22938.5 35400.5 lineto
22882.2 35288 lineto
22826 35231.7 lineto
22713.5 35175.5 lineto
22488.5 35175.5 lineto
22376.1 35231.7 lineto
stroke
newpath
23444.7 35288 moveto
23500.9 35231.7 lineto
23444.7 35175.5 lineto
23388.4 35231.7 lineto
23444.7 35288 lineto
23444.7 35175.5 lineto
stroke
newpath
23444.7 35906.6 moveto
23500.9 35850.4 lineto
23444.7 35794.2 lineto
23388.4 35850.4 lineto
23444.7 35906.6 lineto
23444.7 35794.2 lineto
stroke
showpage
grestore
%%EOF

View File

@@ -1,13 +0,0 @@
M48
; DRILL file {KiCad (5.1.9)-1} date 12/16/21 02:45:20
; FORMAT={-:-/ absolute / metric / decimal}
; #@! TF.CreationDate,2021-12-16T02:45:20+03:00
; #@! TF.GenerationSoftware,Kicad,Pcbnew,(5.1.9)-1
; #@! TF.FileFunction,NonPlated,1,2,NPTH
FMAT,2
METRIC
%
G90
G05
T0
M30

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,171 +0,0 @@
M48
; DRILL file {KiCad (5.1.9)-1} date 12/16/21 02:45:20
; FORMAT={-:-/ absolute / metric / decimal}
; #@! TF.CreationDate,2021-12-16T02:45:20+03:00
; #@! TF.GenerationSoftware,Kicad,Pcbnew,(5.1.9)-1
; #@! TF.FileFunction,Plated,1,2,PTH
FMAT,2
METRIC
T1C0.300
T2C0.500
T3C0.700
T4C0.800
T5C0.900
T6C1.000
T7C1.100
T8C1.300
T9C2.500
T10C3.200
%
G90
G05
T1
X94.488Y-112.522
X94.488Y-114.046
X94.488Y-115.57
X94.488Y-117.094
X95.504Y-111.76
X95.504Y-113.284
X95.504Y-114.808
X95.504Y-116.332
X95.504Y-117.856
X96.52Y-112.522
X96.52Y-114.046
X96.52Y-115.57
X96.52Y-117.094
X96.901Y-102.679
X96.901Y-106.617
X106.299Y-80.772
X106.299Y-83.058
X107.188Y-80.772
X107.188Y-83.058
X108.077Y-80.772
X108.077Y-83.058
X113.284Y-120.459
X114.109Y-100.076
X114.744Y-105.727
X115.379Y-120.459
X116.84Y-77.216
X117.348Y-105.727
X118.745Y-110.934
X118.999Y-107.378
X120.713Y-99.377
X121.031Y-102.743
X121.412Y-87.122
X121.412Y-88.392
X122.428Y-97.472
X128.016Y-107.95
X128.778Y-106.934
X128.778Y-108.966
X129.54Y-107.95
X130.302Y-106.934
X130.302Y-108.966
X131.064Y-89.916
X131.064Y-90.805
X131.064Y-91.694
X131.064Y-107.95
X131.826Y-106.934
X131.826Y-108.966
X132.461Y-85.979
X132.588Y-107.95
X133.35Y-85.979
X133.35Y-106.934
X133.35Y-108.966
X134.112Y-107.95
X134.239Y-104.905
X134.239Y-105.705
X136.359Y-103.905
X136.359Y-104.705
T2
X46.495Y-104.775
X47.198Y-103.078
X47.198Y-106.472
X48.895Y-102.375
X48.895Y-107.175
X50.592Y-103.078
X50.592Y-106.472
X51.295Y-104.775
X130.95Y-81.28
X130.95Y-118.11
X131.653Y-79.583
X131.653Y-82.977
X131.653Y-116.413
X131.653Y-119.807
X133.35Y-78.88
X133.35Y-83.68
X133.35Y-115.71
X133.35Y-120.51
X135.047Y-79.583
X135.047Y-82.977
X135.047Y-116.413
X135.047Y-119.807
X135.75Y-81.28
X135.75Y-118.11
T3
X126.365Y-88.355
X126.365Y-93.255
T4
X58.23Y-104.775
X66.23Y-104.775
X70.295Y-100.965
X70.295Y-104.775
X78.295Y-100.965
X78.295Y-104.775
T5
X98.465Y-81.915
X103.465Y-81.915
T6
X62.23Y-85.09
X62.23Y-90.09
X91.63Y-79.89
X91.63Y-95.29
X100.33Y-92.71
X100.33Y-95.25
X100.33Y-97.79
X100.33Y-100.33
X100.33Y-105.41
X100.33Y-107.95
X100.33Y-110.49
X100.33Y-113.03
X100.33Y-115.57
X106.68Y-110.49
X106.68Y-113.03
X106.68Y-115.57
X127.0Y-79.375
X127.0Y-81.915
X140.97Y-79.375
X140.97Y-81.915
X140.97Y-84.455
X140.97Y-86.995
X140.97Y-89.535
X140.97Y-92.075
X140.97Y-94.615
X140.97Y-97.155
X140.97Y-99.695
X140.97Y-102.235
X140.97Y-104.775
X140.97Y-107.315
X140.97Y-109.855
X140.97Y-112.395
X140.97Y-114.935
X140.97Y-117.475
T7
X59.69Y-111.125
X62.23Y-111.125
X64.77Y-111.125
T8
X50.419Y-80.391
X50.419Y-85.471
X50.419Y-92.075
X50.419Y-97.155
X121.285Y-116.84
X126.365Y-116.84
T9
X49.53Y-115.57
X74.93Y-115.57
T10
X48.895Y-104.775
X133.35Y-81.28
X133.35Y-118.11
T0
M30

View File

@@ -1,128 +0,0 @@
{
"Header":
{
"GenerationSoftware":
{
"Vendor": "KiCad",
"Application": "Pcbnew",
"Version": "(5.1.9)-1"
},
"CreationDate": "2021-12-16T02:45:32+03:00"
},
"GeneralSpecs":
{
"ProjectId":
{
"Name": "pcb-heater",
"GUID": "7063622d-6865-4617-9465-722e6b696361",
"Revision": "rev?"
},
"Size":
{
"X": 99.745,
"Y": 47.040
},
"LayerNumber": 2,
"BoardThickness": 1.600
},
"DesignRules":
[
{
"Layers": "Outer",
"PadToPad": 0.200,
"PadToTrack": 0.200,
"TrackToTrack": 0.200,
"MinLineWidth": 0.300,
"TrackToRegion": 0.300,
"RegionToRegion": 0.300
}
],
"FilesAttributes":
[
{
"Path": "pcb-heater-F_Cu.gbr",
"FileFunction": "Copper,L1,Top",
"FilePolarity": "Positive"
},
{
"Path": "pcb-heater-B_Cu.gbr",
"FileFunction": "Copper,L2,Bot",
"FilePolarity": "Positive"
},
{
"Path": "pcb-heater-F_Paste.gbr",
"FileFunction": "SolderPaste,Top",
"FilePolarity": "Positive"
},
{
"Path": "pcb-heater-B_Paste.gbr",
"FileFunction": "SolderPaste,Bot",
"FilePolarity": "Positive"
},
{
"Path": "pcb-heater-F_SilkS.gbr",
"FileFunction": "Legend,Top",
"FilePolarity": "Positive"
},
{
"Path": "pcb-heater-B_SilkS.gbr",
"FileFunction": "Legend,Bot",
"FilePolarity": "Positive"
},
{
"Path": "pcb-heater-F_Mask.gbr",
"FileFunction": "SolderMask,Top",
"FilePolarity": "Negative"
},
{
"Path": "pcb-heater-B_Mask.gbr",
"FileFunction": "SolderMask,Bot",
"FilePolarity": "Negative"
},
{
"Path": "pcb-heater-Edge_Cuts.gbr",
"FileFunction": "Profile",
"FilePolarity": "Positive"
}
],
"MaterialStackup":
[
{
"Type": "Legend",
"Notes": "Layer F.SilkS"
},
{
"Type": "SolderPaste",
"Notes": "Layer F.Paste"
},
{
"Type": "SolderMask",
"Notes": "Layer F.Mask"
},
{
"Type": "Copper",
"Notes": "Layer F.Cu"
},
{
"Type": "Dielectric",
"Material": "FR4",
"Notes": "Layers L1/L2"
},
{
"Type": "Copper",
"Notes": "Layer B.Cu"
},
{
"Type": "SolderMask",
"Notes": "Layer B.Mask"
},
{
"Type": "SolderPaste",
"Notes": "Layer B.Paste"
},
{
"Type": "Legend",
"Notes": "Layer B.SilkS"
}
]
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,77 +0,0 @@
{
"board": {
"active_layer": 0,
"active_layer_preset": "",
"auto_track_width": true,
"hidden_nets": [],
"high_contrast_mode": 0,
"net_color_mode": 1,
"opacity": {
"pads": 1.0,
"tracks": 1.0,
"vias": 1.0,
"zones": 0.6
},
"ratsnest_display_mode": 0,
"selection_filter": {
"dimensions": true,
"footprints": true,
"graphics": true,
"keepouts": true,
"lockedItems": true,
"otherItems": true,
"pads": true,
"text": true,
"tracks": true,
"vias": true,
"zones": true
},
"visible_items": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
32,
33,
34,
35,
36
],
"visible_layers": "0003fff_80000001",
"zone_display_mode": 0
},
"meta": {
"filename": "pcb-heater.kicad_prl",
"version": 3
},
"project": {
"files": []
}
}

View File

@@ -1,5 +1,6 @@
{ {
"board": { "board": {
"3dviewports": [],
"design_settings": { "design_settings": {
"defaults": { "defaults": {
"board_outline_line_width": 0.049999999999999996, "board_outline_line_width": 0.049999999999999996,
@@ -45,10 +46,16 @@
"silk_text_upright": false, "silk_text_upright": false,
"zones": { "zones": {
"45_degree_only": false, "45_degree_only": false,
"min_clearance": 0.3 "min_clearance": 0.19999999999999998
} }
}, },
"diff_pair_dimensions": [], "diff_pair_dimensions": [
{
"gap": 0.0,
"via_gap": 0.0,
"width": 0.0
}
],
"drc_exclusions": [], "drc_exclusions": [],
"meta": { "meta": {
"filename": "board_design_settings.json", "filename": "board_design_settings.json",
@@ -57,20 +64,26 @@
"rule_severities": { "rule_severities": {
"annular_width": "error", "annular_width": "error",
"clearance": "error", "clearance": "error",
"connection_width": "warning",
"copper_edge_clearance": "error", "copper_edge_clearance": "error",
"copper_sliver": "warning",
"courtyards_overlap": "error", "courtyards_overlap": "error",
"diff_pair_gap_out_of_range": "error", "diff_pair_gap_out_of_range": "error",
"diff_pair_uncoupled_length_too_long": "error", "diff_pair_uncoupled_length_too_long": "error",
"drill_out_of_range": "error", "drill_out_of_range": "error",
"duplicate_footprints": "warning", "duplicate_footprints": "warning",
"extra_footprint": "warning", "extra_footprint": "warning",
"footprint": "error",
"footprint_type_mismatch": "error", "footprint_type_mismatch": "error",
"hole_clearance": "error", "hole_clearance": "error",
"hole_near_hole": "error", "hole_near_hole": "error",
"invalid_outline": "error", "invalid_outline": "error",
"isolated_copper": "warning",
"item_on_disabled_layer": "error", "item_on_disabled_layer": "error",
"items_not_allowed": "error", "items_not_allowed": "error",
"length_out_of_range": "error", "length_out_of_range": "error",
"lib_footprint_issues": "warning",
"lib_footprint_mismatch": "warning",
"malformed_courtyard": "error", "malformed_courtyard": "error",
"microvia_drill_out_of_range": "error", "microvia_drill_out_of_range": "error",
"missing_courtyard": "ignore", "missing_courtyard": "ignore",
@@ -80,9 +93,14 @@
"padstack": "error", "padstack": "error",
"pth_inside_courtyard": "ignore", "pth_inside_courtyard": "ignore",
"shorting_items": "error", "shorting_items": "error",
"silk_edge_clearance": "warning",
"silk_over_copper": "warning", "silk_over_copper": "warning",
"silk_overlap": "warning", "silk_overlap": "warning",
"skew_out_of_range": "error", "skew_out_of_range": "error",
"solder_mask_bridge": "error",
"starved_thermal": "error",
"text_height": "warning",
"text_thickness": "warning",
"through_hole_pad_without_hole": "error", "through_hole_pad_without_hole": "error",
"too_many_vias": "error", "too_many_vias": "error",
"track_dangling": "warning", "track_dangling": "warning",
@@ -91,7 +109,6 @@
"unconnected_items": "error", "unconnected_items": "error",
"unresolved_variable": "error", "unresolved_variable": "error",
"via_dangling": "warning", "via_dangling": "warning",
"zone_has_empty_net": "error",
"zones_intersect": "error" "zones_intersect": "error"
}, },
"rule_severitieslegacy_courtyards_overlap": true, "rule_severitieslegacy_courtyards_overlap": true,
@@ -100,19 +117,64 @@
"allow_blind_buried_vias": false, "allow_blind_buried_vias": false,
"allow_microvias": false, "allow_microvias": false,
"max_error": 0.005, "max_error": 0.005,
"min_clearance": 0.0, "min_clearance": 0.19999999999999998,
"min_copper_edge_clearance": 0.024999999999999998, "min_connection": 0.0,
"min_hole_clearance": 0.25, "min_copper_edge_clearance": 0.19999999999999998,
"min_hole_to_hole": 0.25, "min_hole_clearance": 0.254,
"min_hole_to_hole": 0.5,
"min_microvia_diameter": 0.19999999999999998, "min_microvia_diameter": 0.19999999999999998,
"min_microvia_drill": 0.09999999999999999, "min_microvia_drill": 0.09999999999999999,
"min_resolved_spokes": 2,
"min_silk_clearance": 0.0, "min_silk_clearance": 0.0,
"min_through_hole_diameter": 0.3, "min_text_height": 0.7999999999999999,
"min_text_thickness": 0.08,
"min_through_hole_diameter": 0.19999999999999998,
"min_track_width": 0.19999999999999998, "min_track_width": 0.19999999999999998,
"min_via_annular_width": 0.049999999999999996, "min_via_annular_width": 0.13,
"min_via_diameter": 0.39999999999999997, "min_via_diameter": 0.45999999999999996,
"solder_mask_to_copper_clearance": 0.0,
"use_height_for_length_calcs": true "use_height_for_length_calcs": true
}, },
"teardrop_options": [
{
"td_allow_use_two_tracks": true,
"td_curve_segcount": 5,
"td_on_pad_in_zone": false,
"td_onpadsmd": true,
"td_onroundshapesonly": false,
"td_ontrackend": false,
"td_onviapad": true
}
],
"teardrop_parameters": [
{
"td_curve_segcount": 0,
"td_height_ratio": 1.0,
"td_length_ratio": 0.5,
"td_maxheight": 2.0,
"td_maxlen": 1.0,
"td_target_name": "td_round_shape",
"td_width_to_size_filter_ratio": 0.9
},
{
"td_curve_segcount": 0,
"td_height_ratio": 1.0,
"td_length_ratio": 0.5,
"td_maxheight": 2.0,
"td_maxlen": 1.0,
"td_target_name": "td_rect_shape",
"td_width_to_size_filter_ratio": 0.9
},
{
"td_curve_segcount": 0,
"td_height_ratio": 1.0,
"td_length_ratio": 0.5,
"td_maxheight": 2.0,
"td_maxlen": 1.0,
"td_target_name": "td_track_end",
"td_width_to_size_filter_ratio": 0.9
}
],
"track_widths": [ "track_widths": [
0.0, 0.0,
0.25, 0.25,
@@ -144,7 +206,8 @@
"zones_allow_external_fillets": false, "zones_allow_external_fillets": false,
"zones_use_no_outline": true "zones_use_no_outline": true
}, },
"layer_presets": [] "layer_presets": [],
"viewports": []
}, },
"boards": [], "boards": [],
"cvpcb": { "cvpcb": {
@@ -366,7 +429,7 @@
"net_settings": { "net_settings": {
"classes": [ "classes": [
{ {
"bus_width": 12.0, "bus_width": 12,
"clearance": 0.2, "clearance": 0.2,
"diff_pair_gap": 0.25, "diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25, "diff_pair_via_gap": 0.25,
@@ -378,15 +441,17 @@
"pcb_color": "rgba(0, 0, 0, 0.000)", "pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)", "schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.25, "track_width": 0.25,
"via_diameter": 0.8, "via_diameter": 0.6,
"via_drill": 0.4, "via_drill": 0.3,
"wire_width": 6.0 "wire_width": 6
} }
], ],
"meta": { "meta": {
"version": 2 "version": 3
}, },
"net_colors": null "net_colors": null,
"netclass_assignments": null,
"netclass_patterns": []
}, },
"pcbnew": { "pcbnew": {
"last_paths": { "last_paths": {
@@ -394,7 +459,7 @@
"idf": "", "idf": "",
"netlist": "", "netlist": "",
"specctra_dsn": "", "specctra_dsn": "",
"step": "", "step": "pcb-heater.step",
"vrml": "" "vrml": ""
}, },
"page_layout_descr_file": "" "page_layout_descr_file": ""

File diff suppressed because it is too large Load Diff

View File

@@ -1,263 +0,0 @@
update=16.12.2021 1:11:24
version=1
last_client=kicad
[general]
version=1
RootSch=
BoardNm=
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries]
[schematic_editor]
version=1
PageLayoutDescrFile=
PlotDirectoryName=
SubpartIdSeparator=0
SubpartFirstId=65
NetFmtName=Pcbnew
SpiceAjustPassiveValues=0
LabSize=50
ERC_TestSimilarLabels=1
[pcbnew]
version=1
PageLayoutDescrFile=
LastNetListRead=
CopperLayerCount=2
BoardThickness=1.6
AllowMicroVias=0
AllowBlindVias=0
RequireCourtyardDefinitions=0
ProhibitOverlappingCourtyards=1
MinTrackWidth=0.2
MinViaDiameter=0.4
MinViaDrill=0.3
MinMicroViaDiameter=0.2
MinMicroViaDrill=0.09999999999999999
MinHoleToHole=0.25
TrackWidth1=0.25
TrackWidth2=0.25
TrackWidth3=0.3
TrackWidth4=0.5
TrackWidth5=0.7
TrackWidth6=1
TrackWidth7=1.25
TrackWidth8=1.5
TrackWidth9=1.75
TrackWidth10=1.905
TrackWidth11=2
TrackWidth12=2.5
ViaDiameter1=0.8
ViaDrill1=0.4
ViaDiameter2=0.6
ViaDrill2=0.3
ViaDiameter3=0.8
ViaDrill3=0.4
dPairWidth1=0.2
dPairGap1=0.25
dPairViaGap1=0.25
SilkLineWidth=0.12
SilkTextSizeV=1
SilkTextSizeH=1
SilkTextSizeThickness=0.15
SilkTextItalic=0
SilkTextUpright=1
CopperLineWidth=0.2
CopperTextSizeV=1.5
CopperTextSizeH=1.5
CopperTextThickness=0.3
CopperTextItalic=0
CopperTextUpright=1
EdgeCutLineWidth=0.05
CourtyardLineWidth=0.05
OthersLineWidth=0.15
OthersTextSizeV=1
OthersTextSizeH=1
OthersTextSizeThickness=0.15
OthersTextItalic=0
OthersTextUpright=1
SolderMaskClearance=0
SolderMaskMinWidth=0
SolderPasteClearance=0
SolderPasteRatio=-0
[pcbnew/Layer.F.Cu]
Name=F.Cu
Type=0
Enabled=1
[pcbnew/Layer.In1.Cu]
Name=In1.Cu
Type=0
Enabled=0
[pcbnew/Layer.In2.Cu]
Name=In2.Cu
Type=0
Enabled=0
[pcbnew/Layer.In3.Cu]
Name=In3.Cu
Type=0
Enabled=0
[pcbnew/Layer.In4.Cu]
Name=In4.Cu
Type=0
Enabled=0
[pcbnew/Layer.In5.Cu]
Name=In5.Cu
Type=0
Enabled=0
[pcbnew/Layer.In6.Cu]
Name=In6.Cu
Type=0
Enabled=0
[pcbnew/Layer.In7.Cu]
Name=In7.Cu
Type=0
Enabled=0
[pcbnew/Layer.In8.Cu]
Name=In8.Cu
Type=0
Enabled=0
[pcbnew/Layer.In9.Cu]
Name=In9.Cu
Type=0
Enabled=0
[pcbnew/Layer.In10.Cu]
Name=In10.Cu
Type=0
Enabled=0
[pcbnew/Layer.In11.Cu]
Name=In11.Cu
Type=0
Enabled=0
[pcbnew/Layer.In12.Cu]
Name=In12.Cu
Type=0
Enabled=0
[pcbnew/Layer.In13.Cu]
Name=In13.Cu
Type=0
Enabled=0
[pcbnew/Layer.In14.Cu]
Name=In14.Cu
Type=0
Enabled=0
[pcbnew/Layer.In15.Cu]
Name=In15.Cu
Type=0
Enabled=0
[pcbnew/Layer.In16.Cu]
Name=In16.Cu
Type=0
Enabled=0
[pcbnew/Layer.In17.Cu]
Name=In17.Cu
Type=0
Enabled=0
[pcbnew/Layer.In18.Cu]
Name=In18.Cu
Type=0
Enabled=0
[pcbnew/Layer.In19.Cu]
Name=In19.Cu
Type=0
Enabled=0
[pcbnew/Layer.In20.Cu]
Name=In20.Cu
Type=0
Enabled=0
[pcbnew/Layer.In21.Cu]
Name=In21.Cu
Type=0
Enabled=0
[pcbnew/Layer.In22.Cu]
Name=In22.Cu
Type=0
Enabled=0
[pcbnew/Layer.In23.Cu]
Name=In23.Cu
Type=0
Enabled=0
[pcbnew/Layer.In24.Cu]
Name=In24.Cu
Type=0
Enabled=0
[pcbnew/Layer.In25.Cu]
Name=In25.Cu
Type=0
Enabled=0
[pcbnew/Layer.In26.Cu]
Name=In26.Cu
Type=0
Enabled=0
[pcbnew/Layer.In27.Cu]
Name=In27.Cu
Type=0
Enabled=0
[pcbnew/Layer.In28.Cu]
Name=In28.Cu
Type=0
Enabled=0
[pcbnew/Layer.In29.Cu]
Name=In29.Cu
Type=0
Enabled=0
[pcbnew/Layer.In30.Cu]
Name=In30.Cu
Type=0
Enabled=0
[pcbnew/Layer.B.Cu]
Name=B.Cu
Type=0
Enabled=1
[pcbnew/Layer.B.Adhes]
Enabled=1
[pcbnew/Layer.F.Adhes]
Enabled=1
[pcbnew/Layer.B.Paste]
Enabled=1
[pcbnew/Layer.F.Paste]
Enabled=1
[pcbnew/Layer.B.SilkS]
Enabled=1
[pcbnew/Layer.F.SilkS]
Enabled=1
[pcbnew/Layer.B.Mask]
Enabled=1
[pcbnew/Layer.F.Mask]
Enabled=1
[pcbnew/Layer.Dwgs.User]
Enabled=1
[pcbnew/Layer.Cmts.User]
Enabled=1
[pcbnew/Layer.Eco1.User]
Enabled=1
[pcbnew/Layer.Eco2.User]
Enabled=1
[pcbnew/Layer.Edge.Cuts]
Enabled=1
[pcbnew/Layer.Margin]
Enabled=1
[pcbnew/Layer.B.CrtYd]
Enabled=1
[pcbnew/Layer.F.CrtYd]
Enabled=1
[pcbnew/Layer.B.Fab]
Enabled=1
[pcbnew/Layer.F.Fab]
Enabled=1
[pcbnew/Layer.Rescue]
Enabled=0
[pcbnew/Netclasses]
[pcbnew/Netclasses/Default]
Name=Default
Clearance=0.2
TrackWidth=0.25
ViaDiameter=0.8
ViaDrill=0.4
uViaDiameter=0.3
uViaDrill=0.1
dPairWidth=0.2
dPairGap=0.25
dPairViaGap=0.25

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff