Skip to content

Commit 4b606eb

Browse files
committed
Fix trailing whitespace and flush-left
1 parent 0c4ca25 commit 4b606eb

File tree

5 files changed

+24
-26
lines changed

5 files changed

+24
-26
lines changed

.github/renode-test/stm32h753/entrypoint.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ while true; do
111111
if ! kill -0 "$RENODE_PID" 2>/dev/null; then
112112
break
113113
fi
114-
114+
115115
# Flush new log content to stdout (unbuffered)
116116
if [ -f "${LOG}" ]; then
117117
CURRENT_LOG_SIZE=$(stat -f%z "${LOG}" 2>/dev/null || stat -c%s "${LOG}" 2>/dev/null || echo 0)
@@ -121,26 +121,26 @@ while true; do
121121
LAST_LOG_SIZE=$CURRENT_LOG_SIZE
122122
fi
123123
fi
124-
124+
125125
# Check for Renode errors (must check before completion to catch errors early)
126126
if grep -q "\[ERROR\]" "${LOG}" 2>/dev/null; then
127127
echo ""
128128
echo "ERROR: Renode reported an error!"
129129
RESULT="renode_error"
130130
break
131131
fi
132-
132+
133133
# Check for completion messages
134134
if grep -q "=== wolfCrypt test passed! ===" "${LOG}" 2>/dev/null; then
135135
RESULT="passed"
136136
break
137137
fi
138-
138+
139139
if grep -q "=== wolfCrypt test FAILED ===" "${LOG}" 2>/dev/null; then
140140
RESULT="failed"
141141
break
142142
fi
143-
143+
144144
# Check timeout
145145
CURRENT_TIME=$(date +%s)
146146
ELAPSED=$((CURRENT_TIME - START_TIME))
@@ -150,7 +150,7 @@ while true; do
150150
RESULT="timeout"
151151
break
152152
fi
153-
153+
154154
sleep 0.5
155155
done
156156

.github/renode-test/stm32h753/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static void uart_init(void)
3030
{
3131
/* Enable USART3 clock */
3232
RCC_APB1LENR |= RCC_APB1LENR_USART3EN;
33-
33+
3434
/* Configure USART3: 115200 baud at 64MHz HSI */
3535
USART3_BRR = 64000000 / 115200;
3636
USART3_CR1 = USART_CR1_UE | USART_CR1_TE;

.github/renode-test/stm32h753/startup_stm32h753.c

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ void Default_Handler(void)
6868
}
6969

7070
/* Exception handlers - all weak aliases to Default_Handler */
71-
__attribute__((weak, alias("Default_Handler"))) void NMI_Handler(void);
72-
__attribute__((weak, alias("Default_Handler"))) void HardFault_Handler(void);
73-
__attribute__((weak, alias("Default_Handler"))) void MemManage_Handler(void);
74-
__attribute__((weak, alias("Default_Handler"))) void BusFault_Handler(void);
75-
__attribute__((weak, alias("Default_Handler"))) void UsageFault_Handler(void);
76-
__attribute__((weak, alias("Default_Handler"))) void SVC_Handler(void);
77-
__attribute__((weak, alias("Default_Handler"))) void DebugMon_Handler(void);
78-
__attribute__((weak, alias("Default_Handler"))) void PendSV_Handler(void);
79-
__attribute__((weak, alias("Default_Handler"))) void SysTick_Handler(void);
71+
void NMI_Handler(void) __attribute__((weak, alias("Default_Handler")));
72+
void HardFault_Handler(void) __attribute__((weak, alias("Default_Handler")));
73+
void MemManage_Handler(void) __attribute__((weak, alias("Default_Handler")));
74+
void BusFault_Handler(void) __attribute__((weak, alias("Default_Handler")));
75+
void UsageFault_Handler(void) __attribute__((weak, alias("Default_Handler")));
76+
void SVC_Handler(void) __attribute__((weak, alias("Default_Handler")));
77+
void DebugMon_Handler(void) __attribute__((weak, alias("Default_Handler")));
78+
void PendSV_Handler(void) __attribute__((weak, alias("Default_Handler")));
79+
void SysTick_Handler(void) __attribute__((weak, alias("Default_Handler")));
8080

8181
/* Vector table */
8282
__attribute__ ((section(".isr_vector"), used))
@@ -99,4 +99,3 @@ void (* const g_pfnVectors[])(void) = {
9999
SysTick_Handler /* SysTick Handler */
100100
/* IRQ vectors would continue here */
101101
};
102-

.github/workflows/renode-stm32h753.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,32 +130,32 @@ jobs:
130130
MONOVERSION=5.20
131131
REQUIRED_MAJOR=5
132132
REQUIRED_MINOR=20
133-
133+
134134
LAUNCHER=mono
135-
135+
136136
if ! [ -x "$(command -v $LAUNCHER)" ]
137137
then
138138
echo "$LAUNCHER not found. Renode requires Mono $MONOVERSION or newer. Please refer to documentation for installation instructions. Exiting!"
139139
exit 1
140140
fi
141-
141+
142142
# Check installed mono version
143143
INSTALLED_MONO=`$LAUNCHER --version | head -n1 | cut -d'\'' '\'' -f5`
144144
INSTALLED_MONO_MAJOR=`echo $INSTALLED_MONO | cut -d'\''.'\'' -f1`
145145
INSTALLED_MONO_MINOR=`echo $INSTALLED_MONO | cut -d'\''.'\'' -f2`
146-
146+
147147
if [ $INSTALLED_MONO_MAJOR -lt $REQUIRED_MAJOR ] || [ $INSTALLED_MONO_MAJOR -eq $REQUIRED_MAJOR -a $INSTALLED_MONO_MINOR -lt $REQUIRED_MINOR ]
148148
then
149149
echo "Wrong Mono version detected: $INSTALLED_MONO. Renode requires Mono $MONOVERSION or newer. Please refer to documentation for installation instructions. Exiting!"
150150
exit 1
151151
fi
152-
152+
153153
exec $LAUNCHER $MONO_OPTIONS /opt/renode/bin/Renode.exe "$@"
154154
SCRIPT_EOF'
155155
sudo chmod +x /usr/bin/renode
156156
echo "Created /usr/bin/renode wrapper script"
157157
fi
158-
158+
159159
# Also ensure /usr/local/bin/renode symlink exists
160160
if [ -x /usr/bin/renode ] && [ ! -x /usr/local/bin/renode ]; then
161161
sudo ln -sf /usr/bin/renode /usr/local/bin/renode
@@ -167,7 +167,7 @@ jobs:
167167
# Verify Renode is installed and accessible
168168
RENODE_FOUND=false
169169
RENODE_BIN=""
170-
170+
171171
# Check various possible locations
172172
for path in /opt/renode/renode /opt/renode/bin/renode /usr/local/bin/renode /usr/bin/renode; do
173173
if [ -x "$path" ]; then
@@ -178,7 +178,7 @@ jobs:
178178
break
179179
fi
180180
done
181-
181+
182182
if [ "$RENODE_FOUND" != "true" ]; then
183183
echo "ERROR: Renode binary not found or not executable!"
184184
echo "Searching for renode..."

.wolfssl_known_macro_extras

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,6 @@ WOLFSSL_SP_INT_SQR_VOLATILE
888888
WOLFSSL_STACK_CHECK
889889
WOLFSSL_STM32F427_RNG
890890
WOLFSSL_STM32U5_DHUK
891-
WOLFSSL_STM32_RNG_NOLIB
892891
WOLFSSL_STRONGEST_HASH_SIG
893892
WOLFSSL_STSAFE_TAKES_SLOT
894893
WOLFSSL_TELIT_M2MB

0 commit comments

Comments
 (0)