This commit is contained in:
2025-10-16 13:20:26 -05:00
parent e6cc3b5eee
commit 0d605ee023
18 changed files with 4362 additions and 3984 deletions

View File

@@ -309,3 +309,4 @@
2025-10-16 06:40:25,340 [INFO] IntegrityCheckThread:100 - exiting critical section [integrity check]
2025-10-16 06:40:25,340 [INFO] IntegrityCheckThread:103 - End integrity checks thread
2025-10-16 06:40:25,461 [INFO] WebApp:191 - Connection restablished
2025-10-16 13:20:11,462 [ERROR] LogOutputStream:75 - [STDERR_REDIRECT]

View File

@@ -27,3 +27,4 @@
*** SESSION Oct 13, 2025 23:56:38.08 -------------------------------------------
*** SESSION Oct 14, 2025 20:35:21.375 ------------------------------------------
*** SESSION Oct 14, 2025 22:46:25.379 ------------------------------------------
*** SESSION Oct 16, 2025 06:40:11.796 ------------------------------------------

View File

@@ -1,10 +1,17 @@
04:06:28 **** Incremental Build of configuration Debug for project TrafficLightsPlusPlus ****
06:41:34 **** Build of configuration Debug for project TrafficLightsPlusPlus ****
make -j8 all
arm-none-eabi-g++ "../Core/Src/main.cpp" -mcpu=cortex-m4 -std=gnu++14 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/main.o"
arm-none-eabi-g++ -o "TrafficLightsPlusPlus.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/ja/st/Home/TrafficLightsPlusPlus/STM32F429ZITX_FLASH.ld" --specs=nosys.specs -Wl,-Map="TrafficLightsPlusPlus.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -lstdc++ -lsupc++ -Wl,--end-group
Finished building target: TrafficLightsPlusPlus.elf
arm-none-eabi-size TrafficLightsPlusPlus.elf
arm-none-eabi-objdump -h -S TrafficLightsPlusPlus.elf > "TrafficLightsPlusPlus.list"
text data bss dec hex filename
9328 8 1832 11168 2ba0 TrafficLightsPlusPlus.elf
9392 12 1836 11240 2be8 TrafficLightsPlusPlus.elf
Finished building: default.size.stdout
Finished building: TrafficLightsPlusPlus.list
04:06:28 Build Finished. 0 errors, 0 warnings. (took 134ms)
06:41:35 Build Finished. 0 errors, 0 warnings. (took 505ms)

View File

@@ -1,7 +1,14 @@
04:06:28 **** Incremental Build of configuration Debug for project TrafficLightsPlusPlus ****
06:41:34 **** Build of configuration Debug for project TrafficLightsPlusPlus ****
make -j8 all
arm-none-eabi-g++ "../Core/Src/main.cpp" -mcpu=cortex-m4 -std=gnu++14 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/main.o"
arm-none-eabi-g++ -o "TrafficLightsPlusPlus.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/ja/st/Home/TrafficLightsPlusPlus/STM32F429ZITX_FLASH.ld" --specs=nosys.specs -Wl,-Map="TrafficLightsPlusPlus.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -lstdc++ -lsupc++ -Wl,--end-group
Finished building target: TrafficLightsPlusPlus.elf
arm-none-eabi-size TrafficLightsPlusPlus.elf
arm-none-eabi-objdump -h -S TrafficLightsPlusPlus.elf > "TrafficLightsPlusPlus.list"
text data bss dec hex filename
9328 8 1832 11168 2ba0 TrafficLightsPlusPlus.elf
9392 12 1836 11240 2be8 TrafficLightsPlusPlus.elf
Finished building: default.size.stdout
Finished building: TrafficLightsPlusPlus.list

View File

@@ -0,0 +1,337 @@
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* Copyright (c) 2025 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.
*
******************************************************************************
*/
// Feeling sneaky.
extern "C" {
/* USER CODE END Header */
/* Includes ------------------------------------------------------------------*/
#include "main.h"
/* Private function prototypes -----------------------------------------------*/
void SystemClock_Config(void);
static void MX_GPIO_Init(void);
}
/* Private user code ---------------------------------------------------------*/
/* USER CODE BEGIN 0 */
#include <stdbool.h>
enum class TrafficState { GREEN, YELLOW, RED };
void SetTrafficLights(TrafficState s);
TrafficState currentState = TrafficState::GREEN;
uint32_t stateStartTime = 0; //HAL_GetTick() at the start of this state
bool buttonPressedThisCycle = false;
bool pedestrianNextCycle = false;
bool pedestrianThisCycle = false;
const uint32_t DURATION_GREEN = 5000;
const uint32_t DURATION_YELLOW = 3000;
const uint32_t DURATION_RED_NOPED = 5000;
const uint32_t DURATION_RED_PED = 7000;
/* USER CODE END 0 */
/**
* @brief The application entry point.
* @retval int
*/
void SetTrafficLights(TrafficState s)
{
// reset all
HAL_GPIO_WritePin(GPIOD, Green_Pin, GPIO_PIN_RESET);
HAL_GPIO_WritePin(GPIOD, Yellow_Pin, GPIO_PIN_RESET);
HAL_GPIO_WritePin(GPIOD, Red_Pin, GPIO_PIN_SET);
switch (s)
{
case TrafficState::GREEN :
HAL_GPIO_WritePin(GPIOD, Green_Pin, GPIO_PIN_SET);
break;
case TrafficState::YELLOW :
HAL_GPIO_WritePin(GPIOD, Yellow_Pin, GPIO_PIN_SET);
break;
case TrafficState::RED:
HAL_GPIO_WritePin(GPIOD, Red_Pin, GPIO_PIN_SET);
break;
}
}
int main(void)
{
HAL_Init();
/* USER CODE BEGIN Init */
/* USER CODE END Init */
/* Configure the system clock */
SystemClock_Config();
MX_GPIO_Init();
stateStartTime = HAL_GetTick();
SetTrafficLights(currentState);
while (1)
{
/* USER CODE END WHILE */
uint32_t now = HAL_GetTick();
uint32_t elapsed = now - stateStartTime;
switch(currentState)
{
case TrafficState::GREEN:
if (buttonPressedThisCycle)
pedestrianThisCycle = true;
/*
if (buttonPressedThisCycle)
{
currentState = TrafficState::YELLOW;
stateStartTime = now;
buttonPressedThisCycle = false;
SetTrafficLights(currentState);
}
else
{
pedestrianNextCycle = false;
SetTrafficLights(currentState);
}
*/
else if (elapsed >= DURATION_GREEN)
{
currentState = TrafficState::YELLOW;
stateStartTime = now;
SetTrafficLights(currentState);
}
break;
case TrafficState::YELLOW:
if (buttonPressedThisCycle || pedestrianNextCycle)
pedestrianThisCycle = true;
if (elapsed >= DURATION_YELLOW)
{
currentState = TrafficState::RED;
stateStartTime = now;
buttonPressedThisCycle = false; //TODO add pressed pedestrian button in yellow
SetTrafficLights(currentState);
// If Ped Button was pressed during GREEN or YELLOW, we need to enable WHITE this cycle
}
break;
case TrafficState::RED:
/*
if (pedestrianNextCycle)
{
HAL_GPIO_WritePin(GPIOD,White_Pin,GPIO_PIN_SET); // turn on Pedestrian LED
if (elapsed >= DURATION_RED_PED)
{
HAL_GPIO_WritePin(GPIOD,White_Pin,GPIO_PIN_RESET);
pedestrianNextCycle = false;
currentState = TrafficState::GREEN;
stateStartTime = now;
SetTrafficLights(currentState);
}
}
else
{
HAL_GPIO_WritePin(GPIOD,White_Pin,GPIO_PIN_RESET);
if(elapsed >= DURATION_RED_PED)
{
currentState = TrafficState::GREEN;
stateStartTime = now;
SetTrafficLights(currentState);
}
}
*/
if (buttonPressedThisCycle)
pedestrianNextCycle = true;
if (pedestrianThisCycle) {
HAL_GPIO_WritePin(White_GPIO_Port, White_Pin, GPIO_PIN_RESET);
pedestrianThisCycle = false;
pedestrianNextCycle = false;
currentState = TrafficState::GREEN;
stateStartTime = now;
SetTrafficLights(currentState);
buttonPressedThisCycle = false;
} else {
HAL_GPIO_WritePin(White_GPIO_Port, White_Pin, GPIO_PIN_RESET);
if (elapsed >= DURATION_RED_NOPED)
{
currentState = TrafficState::GREEN;
stateStartTime = now;
SetTrafficLights(currentState);
buttonPressedThisCycle = false;
}
}
break;
}
/* USER CODE BEGIN 3 */
}
/* USER CODE END 3 */
}
/**
* @brief System Clock Configuration
* @retval None
*/
void SystemClock_Config(void)
{
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
/** Configure the main internal regulator output voltage
*/
__HAL_RCC_PWR_CLK_ENABLE();
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE3);
/** Initializes the RCC Oscillators according to the specified parameters
* in the RCC_OscInitTypeDef structure.
*/
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
RCC_OscInitStruct.HSIState = RCC_HSI_ON;
RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI;
RCC_OscInitStruct.PLL.PLLM = 8;
RCC_OscInitStruct.PLL.PLLN = 50;
RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV4;
RCC_OscInitStruct.PLL.PLLQ = 7;
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
{
Error_Handler();
}
/** Initializes the CPU, AHB and APB buses clocks
*/
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
|RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV8;
RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV4;
if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
{
Error_Handler();
}
}
/**
* @brief GPIO Initialization Function
* @param None
* @retval None
*/
static void MX_GPIO_Init(void)
{
GPIO_InitTypeDef GPIO_InitStruct = {0};
/* USER CODE BEGIN MX_GPIO_Init_1 */
/* USER CODE END MX_GPIO_Init_1 */
/* GPIO Ports Clock Enable */
__HAL_RCC_GPIOA_CLK_ENABLE();
__HAL_RCC_GPIOD_CLK_ENABLE();
/*Configure GPIO pin Output Level */
HAL_GPIO_WritePin(GPIOD, White_Pin|Red_Pin|Yellow_Pin|Green_Pin, GPIO_PIN_RESET);
/*Configure GPIO pin : PedButton_Pin */
GPIO_InitStruct.Pin = PedButton_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(PedButton_GPIO_Port, &GPIO_InitStruct);
/*Configure GPIO pins : White_Pin Red_Pin Yellow_Pin Green_Pin */
GPIO_InitStruct.Pin = White_Pin|Red_Pin|Yellow_Pin|Green_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
/* EXTI interrupt init*/
HAL_NVIC_SetPriority(EXTI15_10_IRQn, 15, 0);
HAL_NVIC_EnableIRQ(EXTI15_10_IRQn);
/* USER CODE BEGIN MX_GPIO_Init_2 */
/* USER CODE END MX_GPIO_Init_2 */
}
/* USER CODE BEGIN 4 */
/*
extern "C" void EXTI15_10_IRQHandler()
{
HAL_GPIO_EXTI_IRQHandler(PedButton_Pin);
}
*/
extern "C" void HAL_GPIO_EXTI_CallBack(uint16_t GPIO_Pin)
{
static uint32_t lastInterruptTime = 0;
uint32_t now = HAL_GetTick();
// software debounce
if (now - lastInterruptTime < 100)
return;
lastInterruptTime = now;
if (GPIO_Pin == PedButton_Pin)
buttonPressedThisCycle = true;
}
/* USER CODE END 4 */
/**
* @brief This function is executed in case of error occurrence.
* @retval None
*/
void Error_Handler(void)
{
/* USER CODE BEGIN Error_Handler_Debug */
/* User can add his own implementation to report the HAL error return state */
__disable_irq();
while (1)
{
}
/* USER CODE END Error_Handler_Debug */
}
#ifdef USE_FULL_ASSERT
/**
* @brief Reports the name of the source file and the source line number
* where the assert_param error has occurred.
* @param file: pointer to the source file name
* @param line: assert_param error line source number
* @retval None
*/
void assert_failed(uint8_t *file, uint32_t line)
{
/* USER CODE BEGIN 6 */
/* User can add his own implementation to report the file name and line number,
ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
/* USER CODE END 6 */
}
#endif /* USE_FULL_ASSERT */

View File

@@ -71,9 +71,7 @@
<tags>persp.viewSC:com.st.stm32cube.ide.mcu.cyclomaticcomplexity.view</tags>
<tags>persp.viewSC:com.st.stm32cube.ide.mcu.sfrview</tags>
<children xsi:type="basic:PartSashContainer" xmi:id="_0XLThZ8NEfCDuNgZVgbKNQ" selectedElement="_0XLTip8NEfCDuNgZVgbKNQ" horizontal="true">
<children xsi:type="basic:PartStack" xmi:id="_0XLThp8NEfCDuNgZVgbKNQ" elementId="topLeft" visible="false" containerData="2129" selectedElement="_0XLTh58NEfCDuNgZVgbKNQ">
<tags>Minimized</tags>
<tags>MinimizedByZoom</tags>
<children xsi:type="basic:PartStack" xmi:id="_0XLThp8NEfCDuNgZVgbKNQ" elementId="topLeft" containerData="2129" selectedElement="_0XLTh58NEfCDuNgZVgbKNQ">
<children xsi:type="advanced:Placeholder" xmi:id="_0XLTh58NEfCDuNgZVgbKNQ" elementId="org.eclipse.ui.navigator.ProjectExplorer" ref="_0XLV758NEfCDuNgZVgbKNQ" closeable="true">
<tags>View</tags>
<tags>categoryTag:General</tags>
@@ -89,12 +87,8 @@
</children>
<children xsi:type="basic:PartSashContainer" xmi:id="_0XLTip8NEfCDuNgZVgbKNQ" containerData="7871" selectedElement="_0XLTi58NEfCDuNgZVgbKNQ">
<children xsi:type="basic:PartSashContainer" xmi:id="_0XLTi58NEfCDuNgZVgbKNQ" containerData="7500" selectedElement="_0XLTjJ8NEfCDuNgZVgbKNQ" horizontal="true">
<children xsi:type="advanced:Placeholder" xmi:id="_0XLTjJ8NEfCDuNgZVgbKNQ" elementId="org.eclipse.ui.editorss" containerData="7500" ref="_0XLVlZ8NEfCDuNgZVgbKNQ">
<tags>Maximized</tags>
</children>
<children xsi:type="basic:PartStack" xmi:id="_0XLTjZ8NEfCDuNgZVgbKNQ" elementId="topRight" visible="false" containerData="2500" selectedElement="_0XLTjp8NEfCDuNgZVgbKNQ">
<tags>Minimized</tags>
<tags>MinimizedByZoom</tags>
<children xsi:type="advanced:Placeholder" xmi:id="_0XLTjJ8NEfCDuNgZVgbKNQ" elementId="org.eclipse.ui.editorss" containerData="7500" ref="_0XLVlZ8NEfCDuNgZVgbKNQ"/>
<children xsi:type="basic:PartStack" xmi:id="_0XLTjZ8NEfCDuNgZVgbKNQ" elementId="topRight" containerData="2500" selectedElement="_0XLTjp8NEfCDuNgZVgbKNQ">
<children xsi:type="advanced:Placeholder" xmi:id="_0XLTjp8NEfCDuNgZVgbKNQ" elementId="org.eclipse.ui.views.ContentOutline" ref="_0XLWMJ8NEfCDuNgZVgbKNQ" closeable="true">
<tags>View</tags>
<tags>categoryTag:General</tags>
@@ -109,10 +103,8 @@
</children>
</children>
</children>
<children xsi:type="basic:PartSashContainer" xmi:id="_0XLTkZ8NEfCDuNgZVgbKNQ" visible="false" containerData="2500" selectedElement="_0XLTkp8NEfCDuNgZVgbKNQ" horizontal="true">
<children xsi:type="basic:PartStack" xmi:id="_0XLTkp8NEfCDuNgZVgbKNQ" elementId="bottom" visible="false" containerData="6399" selectedElement="_0XLTlZ8NEfCDuNgZVgbKNQ">
<tags>Minimized</tags>
<tags>MinimizedByZoom</tags>
<children xsi:type="basic:PartSashContainer" xmi:id="_0XLTkZ8NEfCDuNgZVgbKNQ" containerData="2500" selectedElement="_0XLTkp8NEfCDuNgZVgbKNQ" horizontal="true">
<children xsi:type="basic:PartStack" xmi:id="_0XLTkp8NEfCDuNgZVgbKNQ" elementId="bottom" containerData="6399" selectedElement="_0XLTlZ8NEfCDuNgZVgbKNQ">
<children xsi:type="advanced:Placeholder" xmi:id="_0XLTk58NEfCDuNgZVgbKNQ" elementId="org.eclipse.ui.views.ProblemView" ref="_0XLWC58NEfCDuNgZVgbKNQ" closeable="true">
<tags>View</tags>
<tags>categoryTag:General</tags>
@@ -130,9 +122,7 @@
<tags>categoryTag:General</tags>
</children>
</children>
<children xsi:type="basic:PartStack" xmi:id="_0XLTl58NEfCDuNgZVgbKNQ" elementId="com.st.stm32cube.ide.mcu.buildanalyzer.viewMStack" visible="false" containerData="3601" selectedElement="_0XLTmJ8NEfCDuNgZVgbKNQ">
<tags>Minimized</tags>
<tags>MinimizedByZoom</tags>
<children xsi:type="basic:PartStack" xmi:id="_0XLTl58NEfCDuNgZVgbKNQ" elementId="com.st.stm32cube.ide.mcu.buildanalyzer.viewMStack" containerData="3601" selectedElement="_0XLTmJ8NEfCDuNgZVgbKNQ">
<children xsi:type="advanced:Placeholder" xmi:id="_0XLTmJ8NEfCDuNgZVgbKNQ" elementId="com.st.stm32cube.ide.mcu.buildanalyzer.view" ref="_0XLWYJ8NEfCDuNgZVgbKNQ" closeable="true">
<tags>View</tags>
<tags>categoryTag:C/C++</tags>
@@ -240,7 +230,7 @@
<tags>active</tags>
<tags>noFocus</tags>
<children xsi:type="basic:Part" xmi:id="_1f0HgKLnEfCgRf4LQxKG1w" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="main.cpp" iconURI="platform:/plugin/org.eclipse.cdt.ui/icons/obj16/c_file_obj.gif" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;editor id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;main.cpp&quot; partName=&quot;main.cpp&quot; title=&quot;main.cpp&quot; tooltip=&quot;TrafficLightsPlusPlus/Core/Src/main.cpp&quot;>&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/TrafficLightsPlusPlus/Core/Src/main.cpp&quot;/>&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;2&quot; selectionOffset=&quot;3730&quot; selectionTopPixel=&quot;2057&quot;/>&#xA;&lt;/editor>"/>
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;editor id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;main.cpp&quot; partName=&quot;main.cpp&quot; title=&quot;main.cpp&quot; tooltip=&quot;TrafficLightsPlusPlus/Core/Src/main.cpp&quot;>&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/TrafficLightsPlusPlus/Core/Src/main.cpp&quot;/>&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;8770&quot; selectionTopPixel=&quot;4947&quot;/>&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>removeOnHide</tags>
<tags>org.eclipse.cdt.ui.editor.CEditor</tags>
@@ -406,7 +396,7 @@
</children>
<children xsi:type="menu:ToolBar" xmi:id="_0XL6oJ8NEfCDuNgZVgbKNQ" elementId="org.eclipse.ui.workbench.file">
<tags>Draggable</tags>
<children xsi:type="menu:HandledToolItem" xmi:id="_hnvCgKl5EfCd6ZsnpBuO5w" elementId="print" visible="false" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/print_edit.png" tooltip="Print" command="_0XMkmp8NEfCDuNgZVgbKNQ"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_4FnFcKqEEfCyCt_x9iVssQ" elementId="print" visible="false" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/print_edit.png" tooltip="Print" command="_0XMkmp8NEfCDuNgZVgbKNQ"/>
</children>
<children xsi:type="menu:ToolBar" xmi:id="_0XL6sJ8NEfCDuNgZVgbKNQ" elementId="group.edit" toBeRendered="false">
<tags>toolbarSeparator</tags>
@@ -414,8 +404,8 @@
</children>
<children xsi:type="menu:ToolBar" xmi:id="_0XL6sp8NEfCDuNgZVgbKNQ" elementId="org.eclipse.ui.workbench.edit">
<tags>Draggable</tags>
<children xsi:type="menu:HandledToolItem" xmi:id="_hnwQoKl5EfCd6ZsnpBuO5w" elementId="undo" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/undo_edit.png" tooltip="Undo" enabled="false" command="_0XMkiJ8NEfCDuNgZVgbKNQ"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_hnwQoal5EfCd6ZsnpBuO5w" elementId="redo" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/redo_edit.png" tooltip="Redo" command="_0XMlLJ8NEfCDuNgZVgbKNQ"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_4Fo6oKqEEfCyCt_x9iVssQ" elementId="undo" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/undo_edit.png" tooltip="Undo" command="_0XMkiJ8NEfCDuNgZVgbKNQ"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_4FphsKqEEfCyCt_x9iVssQ" elementId="redo" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/redo_edit.png" tooltip="Redo" enabled="false" command="_0XMlLJ8NEfCDuNgZVgbKNQ"/>
</children>
<children xsi:type="menu:ToolBar" xmi:id="_0XL6up8NEfCDuNgZVgbKNQ" elementId="additions" toBeRendered="false">
<tags>toolbarSeparator</tags>
@@ -439,7 +429,7 @@
</children>
<children xsi:type="menu:ToolBar" xmi:id="_0XL6-J8NEfCDuNgZVgbKNQ" elementId="org.eclipse.ui.workbench.navigate">
<tags>Draggable</tags>
<children xsi:type="menu:HandledToolItem" xmi:id="_hnxewKl5EfCd6ZsnpBuO5w" elementId="org.eclipse.ui.window.pinEditor" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/pin_editor.png" tooltip="Pin Editor" type="Check" command="_0XMkPp8NEfCDuNgZVgbKNQ"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_4Fqv0KqEEfCyCt_x9iVssQ" elementId="org.eclipse.ui.window.pinEditor" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/pin_editor.png" tooltip="Pin Editor" type="Check" command="_0XMkPp8NEfCDuNgZVgbKNQ"/>
</children>
<children xsi:type="menu:ToolBar" xmi:id="_0XL7Bp8NEfCDuNgZVgbKNQ" elementId="group.editor" toBeRendered="false">
<tags>toolbarSeparator</tags>
@@ -473,12 +463,12 @@
<tags>Draggable</tags>
</children>
</trimBars>
<trimBars xmi:id="_0XL7HZ8NEfCDuNgZVgbKNQ" elementId="org.eclipse.ui.trim.vertical1" contributorURI="platform:/plugin/org.eclipse.ui.workbench" side="Left">
<trimBars xmi:id="_0XL7HZ8NEfCDuNgZVgbKNQ" elementId="org.eclipse.ui.trim.vertical1" contributorURI="platform:/plugin/org.eclipse.ui.workbench" toBeRendered="false" side="Left">
<children xsi:type="menu:ToolControl" xmi:id="_0XL7Hp8NEfCDuNgZVgbKNQ" elementId="org.eclipse.ui.ide.perspectivestack(minimized)" toBeRendered="false" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
<tags>TrimStack</tags>
<tags>Draggable</tags>
</children>
<children xsi:type="menu:ToolControl" xmi:id="_0XL7H58NEfCDuNgZVgbKNQ" elementId="topLeft(IDEWindow).(org.eclipse.cdt.ui.CPerspective)" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
<children xsi:type="menu:ToolControl" xmi:id="_0XL7H58NEfCDuNgZVgbKNQ" elementId="topLeft(IDEWindow).(org.eclipse.cdt.ui.CPerspective)" toBeRendered="false" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
<tags>TrimStack</tags>
<tags>Draggable</tags>
</children>
@@ -487,16 +477,16 @@
<tags>Draggable</tags>
</children>
</trimBars>
<trimBars xmi:id="_0XL7IZ8NEfCDuNgZVgbKNQ" elementId="org.eclipse.ui.trim.vertical2" contributorURI="platform:/plugin/org.eclipse.ui.workbench" side="Right">
<children xsi:type="menu:ToolControl" xmi:id="_0XL7Ip8NEfCDuNgZVgbKNQ" elementId="topRight(IDEWindow).(org.eclipse.cdt.ui.CPerspective)" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
<trimBars xmi:id="_0XL7IZ8NEfCDuNgZVgbKNQ" elementId="org.eclipse.ui.trim.vertical2" contributorURI="platform:/plugin/org.eclipse.ui.workbench" toBeRendered="false" side="Right">
<children xsi:type="menu:ToolControl" xmi:id="_0XL7Ip8NEfCDuNgZVgbKNQ" elementId="topRight(IDEWindow).(org.eclipse.cdt.ui.CPerspective)" toBeRendered="false" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
<tags>TrimStack</tags>
<tags>Draggable</tags>
</children>
<children xsi:type="menu:ToolControl" xmi:id="_0XL7I58NEfCDuNgZVgbKNQ" elementId="bottom(IDEWindow).(org.eclipse.cdt.ui.CPerspective)" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
<children xsi:type="menu:ToolControl" xmi:id="_0XL7I58NEfCDuNgZVgbKNQ" elementId="bottom(IDEWindow).(org.eclipse.cdt.ui.CPerspective)" toBeRendered="false" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
<tags>TrimStack</tags>
<tags>Draggable</tags>
</children>
<children xsi:type="menu:ToolControl" xmi:id="_0XL7JJ8NEfCDuNgZVgbKNQ" elementId="com.st.stm32cube.ide.mcu.buildanalyzer.viewMStack(IDEWindow).(org.eclipse.cdt.ui.CPerspective)" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
<children xsi:type="menu:ToolControl" xmi:id="_0XL7JJ8NEfCDuNgZVgbKNQ" elementId="com.st.stm32cube.ide.mcu.buildanalyzer.viewMStack(IDEWindow).(org.eclipse.cdt.ui.CPerspective)" toBeRendered="false" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack">
<tags>TrimStack</tags>
<tags>Draggable</tags>
</children>