Browse
STMicroelectronics Community
FAQs
Sign In
Product forums
STM32 MCUs
STM32 MCUs Products
STM32 MCUs Boards and hardware tools
STM32 MCUs Software development tools
STM32 MCUs Embedded software
STM32 MCUs TouchGFX and GUI
STM32 MCUs Motor control
STM32 MCUs Security
STM32 MCUs Wireless
STM32 MPUs
STM32 MPUs Products
STM32 MPUs Boards and hardware tools
STM32 MPUs Embedded software and solutions
STM32 MPUs Software development tools
MEMS and sensors
MEMS (sensors)
Imaging (sensors)
Automotive and Transportation
Automotive MCUs
AutoDevKit Ecosystem
GNSS positioning
Edge AI
Interface and connectivity ICs
Power management
ST25 NFC/RFID tags and readers
STM8 MCUs
Others: hardware and software
Analog and audio
Knowledge base
STM32 MCUs
STM32 MPUs
MEMS and sensors
Analog and audio
EMI filtering and signal conditioning
Interface and connectivity ICs
Power management
Quality & reliability
Academy
About
Community guidelines
Feedback forum
Community blog
Developer news
MKork.2
Associate II
since
2022-06-28
2023-06-14
User statistics
4
Posts
0
Solutions
0
Kudos given
0
Kudos received
STMicroelectronics Community
About MKork.2
Options
Report User
User Activity
Posts
Replies
Warning: pointer targets in passing argument 2 of 'HAL_UART_Receive' differ in signedness [-Wpointer-sign]
2022-06-28
Hi everyone, i see a warning when i write the code;--> HAL_UART_Receive(&huart3, &Rx_Byte[0], 1, 10);Rx_Byte is;--> char Rx_Byte[1];Why i see this warning can anyone help me?
Re: Warning: pointer targets in passing argument 2 of 'HAL_UART_Receive' differ in signedness [-Wpointer-sign]
2022-06-29
Thank you Mr.
Re: Warning: pointer targets in passing argument 2 of 'HAL_UART_Receive' differ in signedness [-Wpointer-sign]
2022-06-29
thank you for answer. Yes i am new to STM and also C but i try to learn.
Re: Warning: pointer targets in passing argument 2 of 'HAL_UART_Receive' differ in signedness [-Wpointer-sign]
2022-06-29
Thank you but i will take a char from keyboard. Sorry because of i am new on stm. Why uint8_t ?