Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rikka0w0/765d7174b1cc69b6e13a6869553a1104 to your computer and use it in GitHub Desktop.
Save rikka0w0/765d7174b1cc69b6e13a6869553a1104 to your computer and use it in GitHub Desktop.
STM32 GCC Conflicting CPU architectures

Error Message: arm-none-eabi/lib/crt0.o: Conflicting CPU architectures

Due to a bug in Ubuntu Bionic, libnewlib-arm-none-eabi 2.4.0.20160527-4 is a broken version

  1. Download latest package from: https://packages.ubuntu.com/cosmic/all/libnewlib-dev/download and https://packages.ubuntu.com/cosmic/all/libnewlib-arm-none-eabi/download
  2. Install them with sudo dpkg -i libnewlib-*.deb

Ref: https://github.com/bbcmicrobit/micropython/issues/514

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment