<commit_before>{% set board = dictionary['/']['properties']['compatible'][0] %}
{% set pinController = dictionary['/']['nodes']['pin-controller'] %}
{% set stm32GpioVersion = pinController['properties']['compatible'][0][14] %}
#
# file: {{ outputFile.rpartition('/')[2] }}
#
# author: Copyright (C) 2014-{{ year }} <NAME> http://www.distortec.com http://www.freddiechopin.info
#
# This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not
# distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Automatically generated file - do not edit!
#

if BOARD_{{ (outputPath + '_' + board) | sanitize('[^0-9A-Za-z]') | upper }}

config KCONFIG_BOARDOPTIONS_{{ board | sanitize('[^0-9A-Za-z]') }}_STM32_GPIOV{{ stm32GpioVersion }}
	bool
	default y
{% for key, gpio in pinController['nodes'].items() %}
{% if gpio['properties']['status'][0] == 'okay' %}
	select CHIP_STM32_GPIOV{{ stm32GpioVersion }}_{{ gpio['properties']['ST,GPIO-bank-name'][0] }}_ENABLE
{% endif %}
{% endfor %}

endif	# BOARD_{{ (outputPath + '_' + board) | sanitize('[^0-9A-Za-z]') | upper }}<commit_msg>Simplify symbol name from Kconfig-boardOptions-STM32-GPIO.jinja<commit_after>{% set board = dictionary['/']['properties']['compatible'][0] %}
{% set pinController = dictionary['/']['nodes']['pin-controller'] %}
{% set stm32GpioVersion = pinController['properties']['compatible'][0][14] %}
#
# file: {{ outputFile.rpartition('/')[2] }}
#
# author: Copyright (C) 2014-{{ year }} <NAME> http://www.distortec.com http://www.freddiechopin.info
#
# This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not
# distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Automatically generated file - do not edit!
#

if BOARD_{{ (outputPath + '_' + board) | sanitize('[^0-9A-Za-z]') | upper }}

config KCONFIG_BOARDOPTIONS_STM32_GPIO
	bool
	default y
{% for key, gpio in pinController['nodes'].items() %}
{% if gpio['properties']['status'][0] == 'okay' %}
	select CHIP_STM32_GPIOV{{ stm32GpioVersion }}_{{ gpio['properties']['ST,GPIO-bank-name'][0] }}_ENABLE
{% endif %}
{% endfor %}

endif	# BOARD_{{ (outputPath + '_' + board) | sanitize('[^0-9A-Za-z]') | upper }}
{'fraction_non_alphanumeric': 0.20410839160839161, 'fraction_numerical': 0.026223776223776224, 'mean_word_length': 5.153225806451613, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6443666', 'n_tokens_mistral': 844, 'n_tokens_neox': 783, 'n_words': 192}