Skip to content

Commit abef6ee

Browse files
committed
!fixup remove debug printing in interrupts (not safe)
1 parent f584f86 commit abef6ee

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

cores/arduino/VirtIOSerial.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ void VirtIOSerial::flush(void)
151151
/* USER CODE BEGIN 4 */
152152
void rxCallback(VIRT_UART_HandleTypeDef *huart)
153153
{
154-
log_info("Msg received on VIRTUAL UART0 channel: %s \n\r", (char *) huart->pRxBuffPtr);
155154
// Linux host must send a dummy data first to finish initialization of rpmsg
156155
// on the coprocessor side. This message should be discarded.
157156
// run_arduino_gen.sh script will send dummy data: "DUMMY".

cores/arduino/stm32/virtio/mbox_ipcc.c

-2
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ void IPCC_channel1_callback(IPCC_HandleTypeDef *hipcc,
144144
uint32_t ChannelIndex, IPCC_CHANNELDirTypeDef ChannelDir)
145145
{
146146
/* Inform A7 that we have received the 'buff free' msg */
147-
OPENAMP_log_dbg("Ack 'buff free' message on ch1\r\n");
148147
HAL_IPCC_NotifyCPU(hipcc, ChannelIndex, IPCC_CHANNEL_DIR_RX);
149148
rproc_virtio_notified(rvdev.vdev, VRING0_ID);
150149
}
@@ -170,7 +169,6 @@ void IPCC_channel2_callback(IPCC_HandleTypeDef *hipcc,
170169
void IPCC_RX1_IRQHandler(void)
171170
{
172171
/* USER CODE BEGIN IPCC_RX1_IRQn 0 */
173-
log_dbg("%s: IT RX1\r\n", __func__);
174172
/* USER CODE END IPCC_RX1_IRQn 0 */
175173
HAL_IPCC_RX_IRQHandler(&hipcc);
176174
/* USER CODE BEGIN IPCC_RX1_IRQn 1 */

0 commit comments

Comments
 (0)