-
Notifications
You must be signed in to change notification settings - Fork 48
PWM optimization for RA6M5 #561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
IvanRuzavin
merged 4 commits into
new-feature/ra6m5-sdk-support
from
new-feature/ra6m5-sdk-gpio
Dec 8, 2025
Merged
Changes from 1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,71 @@ | ||
| /**************************************************************************** | ||
| ** | ||
| ** Copyright (C) MikroElektronika d.o.o. | ||
| ** Contact: https://www.mikroe.com/contact | ||
| ** | ||
| ** Commercial License Usage | ||
| ** | ||
| ** Licensees holding valid commercial NECTO compilers AI licenses may use this | ||
| ** file in accordance with the commercial license agreement provided with the | ||
| ** Software or, alternatively, in accordance with the terms contained in | ||
| ** a written agreement between you and The MikroElektronika Company. | ||
| ** For licensing terms and conditions see | ||
| ** https://www.mikroe.com/legal/software-license-agreement. | ||
| ** For further information use the contact form at | ||
| ** https://www.mikroe.com/contact. | ||
| ** | ||
| ** | ||
| ** GNU Lesser General Public License Usage | ||
| ** | ||
| ** Alternatively, this file may be used for | ||
| ** non-commercial projects under the terms of the GNU Lesser | ||
| ** General Public License version 3 as published by the Free Software | ||
| ** Foundation: https://www.gnu.org/licenses/lgpl-3.0.html. | ||
| ** | ||
| ** The above copyright notice and this permission notice shall be | ||
| ** included in all copies or substantial portions of the Software. | ||
| ** | ||
| ** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
| ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
| ** OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
| ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | ||
| ** DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT | ||
| ** OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE | ||
| ** OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
| ** | ||
| ****************************************************************************/ | ||
| /*! | ||
| * @file flatten_me.h | ||
| * @brief mikroSDK code flattener level selection. | ||
| */ | ||
|
|
||
| #ifndef __FLATTEN_ME_H__ | ||
| #define __FLATTEN_ME_H__ | ||
|
|
||
| #ifdef __cplusplus | ||
| extern "C" { | ||
| #endif | ||
|
|
||
| /** | ||
| * @brief Flattening levels. | ||
| * @ref FLATTEN_ME_LEVEL_NONE - no code flattening done. | ||
| * @ref FLATTEN_ME_LEVEL_LOW - flatten only HAL_LL APIs. | ||
| * @ref FLATTEN_ME_LEVEL_MID - flatten only HAL_LL and HAL APIs. | ||
| * @ref FLATTEN_ME_LEVEL_HIGH - flatten all layered APIs (HAL_LL, HAL and DRV). | ||
| */ | ||
| #define FLATTEN_ME_LEVEL_NONE (0) | ||
| #define FLATTEN_ME_LEVEL_LOW (1) | ||
| #define FLATTEN_ME_LEVEL_MID (2) | ||
| #define FLATTEN_ME_LEVEL_HIGH (3) | ||
|
|
||
| // Flatten code or not? | ||
| #define FLATTEN_ME | ||
|
|
||
| // Flatten level selection. | ||
| #define FLATTEN_ME_LEVEL FLATTEN_ME_LEVEL_HIGH | ||
|
|
||
| #ifdef __cplusplus | ||
| } | ||
| #endif | ||
|
|
||
| #endif // __FLATTEN_ME_H__ | ||
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.