-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replaced pwm cube project with c++ project
- Loading branch information
Showing
22 changed files
with
15,577 additions
and
488 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>servo-p1-pwm</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> | ||
<triggers>clean,full,incremental,</triggers> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name> | ||
<triggers>full,incremental,</triggers> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>com.st.stm32cube.ide.mcu.MCUProjectNature</nature> | ||
<nature>com.st.stm32cube.ide.mcu.MCUCubeProjectNature</nature> | ||
<nature>org.eclipse.cdt.core.cnature</nature> | ||
<nature>org.eclipse.cdt.core.ccnature</nature> | ||
<nature>com.st.stm32cube.ide.mcu.MCUCubeIdeServicesRevAev2ProjectNature</nature> | ||
<nature>com.st.stm32cube.ide.mcu.MCUAdvancedStructureProjectNature</nature> | ||
<nature>com.st.stm32cube.ide.mcu.MCUSingleCpuProjectNature</nature> | ||
<nature>com.st.stm32cube.ide.mcu.MCURootProjectNature</nature> | ||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature> | ||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature> | ||
</natures> | ||
</projectDescription> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>servo-p1-pwm-cpp</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> | ||
<triggers>clean,full,incremental,</triggers> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name> | ||
<triggers>full,incremental,</triggers> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>com.st.stm32cube.ide.mcu.MCUProjectNature</nature> | ||
<nature>com.st.stm32cube.ide.mcu.MCUCubeProjectNature</nature> | ||
<nature>org.eclipse.cdt.core.cnature</nature> | ||
<nature>org.eclipse.cdt.core.ccnature</nature> | ||
<nature>com.st.stm32cube.ide.mcu.MCUCubeIdeServicesRevAev2ProjectNature</nature> | ||
<nature>com.st.stm32cube.ide.mcu.MCUAdvancedStructureProjectNature</nature> | ||
<nature>com.st.stm32cube.ide.mcu.MCUSingleCpuProjectNature</nature> | ||
<nature>com.st.stm32cube.ide.mcu.MCURootProjectNature</nature> | ||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature> | ||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78 changes: 78 additions & 0 deletions
78
starter-projects/servo/p1-pwm/Core/Inc/stm32g4xx_nucleo_conf.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
|
||
/** | ||
****************************************************************************** | ||
* @file stm32g4xx_nucleo_conf.h | ||
* @author MCD Application Team | ||
* @brief STM32G4xx_Nucleo board configuration file. | ||
* This file should be copied to the application folder and renamed | ||
* to stm32g4xx_nucleo_conf.h | ||
****************************************************************************** | ||
* @attention | ||
* | ||
* Copyright (c) 2022 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 STM32G4XX_NUCLEO_CONF_H | ||
#define STM32G4XX_NUCLEO_CONF_H | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/* Includes ------------------------------------------------------------------*/ | ||
#include "stm32g4xx_hal.h" | ||
|
||
/** @addtogroup BSP | ||
* @{ | ||
*/ | ||
|
||
/** @addtogroup STM32G4XX_NUCLEO | ||
* @{ | ||
*/ | ||
|
||
/** @defgroup STM32G4XX_NUCLEO_CONFIG Config | ||
* @{ | ||
*/ | ||
|
||
/** @defgroup STM32C0XX_NUCLEO_CONFIG_Exported_Constants Exported Constants | ||
* @{ | ||
*/ | ||
/* Nucleo pin and part number defines */ | ||
#define USE_STM32G4XX_NUCLEO | ||
|
||
/* COM define */ | ||
#define USE_COM_LOG 1U | ||
#define USE_BSP_COM_FEATURE 1U | ||
|
||
/* IRQ priorities */ | ||
#define BSP_BUTTON_USER_IT_PRIORITY 15U | ||
|
||
/** | ||
* @} | ||
*/ | ||
|
||
/** | ||
* @} | ||
*/ | ||
|
||
/** | ||
* @} | ||
*/ | ||
|
||
/** | ||
* @} | ||
*/ | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* STM32G4XX_NUCLEO_CONF_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.