79185258

Date: 2024-11-13 14:11:33
Score: 1.5
Natty:
Report link

Thanks to @elMaczete (see answer above) following lines can be added to a Dockerfile (Ubuntu based)

# Modify the CPU_FLAGS matching your project (in this case a STM32L4xxx)
ARG CPU_FLAGS="-mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16"
RUN nosys=$(arm-none-eabi-g++ ${CPU_FLAGS} -print-file-name=libnosys.a) && \
    arm-none-eabi-objcopy --wildcard --remove-section .gnu.warning.* $nosys
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @elMaczete
  • Low reputation (0.5):
Posted by: ge45mue