Skip to main content
George_Costanza
Associate II
July 9, 2022
Solved

My project is building successfull but cannot upload it to STM32Discovery board and the stm32cube ide is showing libncurses related error on Manjaro Linux.

  • July 9, 2022
  • 3 replies
  • 2460 views

Below error is throwing in Manjaro Linux when I try to upload the program to the board. The project is building successful. Installed libncurses from AUR as well as the offiicial repository, but no use.

0693W00000QKn7oQAD.png

This topic has been closed for replies.
Best answer by George_Costanza

Solved the issue. You need to install arm-none-eabi-gcc & gdb then set the toolchain as local from Windows->preference->stm32 toolchain. See the video below,

https://youtu.be/l-cK1C7XMW4

3 replies

MM..1
Super User
July 9, 2022

You need concrete NCURSES version , latest libncurses isnt full backwards compat. Your error window show required version.

Pavel A.
July 9, 2022

Why gdb wants libncurses at all? it does not display any text based UI in this environment.

George_Costanza
George_CostanzaAuthorBest answer
Associate II
July 14, 2022

Solved the issue. You need to install arm-none-eabi-gcc & gdb then set the toolchain as local from Windows->preference->stm32 toolchain. See the video below,

https://youtu.be/l-cK1C7XMW4