Sunday , 3 July 2022
en

[2nd Ed] hex file not generated by default for use with STM32CubeProgrammer


Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #74158
    cdwilson
    Participant

    I’m just starting to read through the 2nd edition, and section 3.4 says:

    … and choose a file named hello_nucleo.hex

    However, running Project->Build Project in section 3.2 only generates .bin and .elf files by default.

    The STM32CubeProgrammer seems to accept .elf files instead of .hex, so I’m not sure if .hex is necessary in this step.

    FYI, I was able to generate a .hex file by checking the “Convert to Intel Hex file” option in the project preferences:

    #74160
    cdwilson
    Participant

    Photo failed to load in the previous post. Trying again:

    #74162
    Carmine Noviello
    Keymaster

    Hi,
    Thank you for your feedback. Yes, it’s a bug in the book 😀 The right extension is the .elf.


Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.