help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issues cross-compiling arm with QMK


From: Kristoffer Ström
Subject: Issues cross-compiling arm with QMK
Date: Sat, 09 Mar 2024 17:50:45 +0000

When trying to compile keyboard firmware using the qmk toolkit, i run
into this error:

./lib/pico-sdk/src/rp2_common/hardware_base/include/hardware/address_mapped.h:94:19:
 error: cast from pointer to integer of different size 
[-Werror=pointer-to-int-cast]

     uint32_t rc = (uintptr_t)addr;


Which seems to me to indicate that the cross-toolchain is trying to
produce 64-bit binaries.

i based my build shell manifest off of
https://github.com/mrvdb/qmk_atreus which is an avr-based board and
replacing (make-avr-toolchain) with
(make-arm-none-eabi-nano-toolchain-x), i have tried all available
versions.

Is there a way to specify a toolchain for cross-compiling into 32bit arm
binaries?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]