Building
Re: Building
Building and Flashing worked just Fine. No problems there!
Re: Building
Failed for me:
All other builds for ESP8266 / PYB1.1 etc are successful on the same machine.
https://github.com/micropython/micropython/issues/4670
Code: Select all
CC ../../lib/mbedtls/library/x509_csr.c
CC ../../lib/mbedtls/library/x509write_crt.c
CC ../../lib/mbedtls/library/x509write_csr.c
CC ../../lib/mbedtls/library/xtea.c
CC build-PYBD_SF6/pins_PYBD_SF6.c
LINK build-PYBD_SF6/firmware.elf
arm-none-eabi-ld: error: build-PYBD_SF6/firmware.elf uses VFP register arguments, /usr/lib/gcc/arm-none-eabi/4.9.3/libgcc.a(bpabi.o) does not
arm-none-eabi-ld: failed to merge target specific data of file /usr/lib/gcc/arm-none-eabi/4.9.3/libgcc.a(bpabi.o)
arm-none-eabi-ld: error: build-PYBD_SF6/firmware.elf uses VFP register arguments, /usr/lib/gcc/arm-none-eabi/4.9.3/libgcc.a(_divdi3.o) does not
arm-none-eabi-ld: failed to merge target specific data of file /usr/lib/gcc/arm-none-eabi/4.9.3/libgcc.a(_divdi3.o)
arm-none-eabi-ld: error: build-PYBD_SF6/firmware.elf uses VFP register arguments, /usr/lib/gcc/arm-none-eabi/4.9.3/libgcc.a(_udivdi3.o) does not
arm-none-eabi-ld: failed to merge target specific data of file /usr/lib/gcc/arm-none-eabi/4.9.3/libgcc.a(_udivdi3.o)
Makefile:584: recipe for target 'build-PYBD_SF6/firmware.elf' failed
make: *** [build-PYBD_SF6/firmware.elf] Error 1
https://github.com/micropython/micropython/issues/4670
Re: Building
Building on Ubuntu 16.04LTS Solved with:
Thanks to: https://github.com/micropython/micropython/issues/4670
Code: Select all
make BOARD=PYBD_SF2 LIBS="/usr/lib/gcc/arm-none-eabi/4.9.3/armv7e-m/fpu/libgcc.a cyw43/libcyw43.a"