Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with compilation on STM32CUBEIDE #1

Open
nahuelfb opened this issue Jul 26, 2024 · 0 comments
Open

Problem with compilation on STM32CUBEIDE #1

nahuelfb opened this issue Jul 26, 2024 · 0 comments

Comments

@nahuelfb
Copy link

nahuelfb commented Jul 26, 2024

Hello, nice project. I'm working on something similar with the BG95. I'm trying to compile your code on stm32cubeide, but I'm getting some errors. The first error is the following, the compiler cannot find the BS_Encrypt.exe file:

        arm-none-eabi-size  stm32-aws-iot.elf 
        arm-none-eabi-objdump -h -S stm32-aws-iot.elf  > "stm32-aws-iot.list"
        arm-none-eabi-objcopy  -O binary stm32-aws-iot.elf  "stm32-aws-iot.bin"
           text	   data	    bss	    dec	    hex	filename
         112736	    944	  75864	 189544	  2e468	stm32-aws-iot.elf
        Finished building: default.size.stdout
         
        Finished building: stm32-aws-iot.bin
         
        Finished building: stm32-aws-iot.list
         
        /BS_Encrypt.exe stm32-aws-iot
        make[1]: /BS_Encrypt.exe: No such file or directory
        make[1]: *** [makefile:97: post-build] Error 127
        make: *** [makefile:65: all] Error 2
        "make -j8 all" terminated with exit code 2. Build might be incomplete.

I updated the path in the .cproject file, the compiler found the BS_Explorer.exe file and this is the result:

        arm-none-eabi-size  stm32-aws-iot.elf 
        arm-none-eabi-objdump -h -S stm32-aws-iot.elf  > "stm32-aws-iot.list"
           text	   data	    bss	    dec	    hex	filename
         112736	    944	  75864	 189544	  2e468	stm32-aws-iot.elf
        arm-none-eabi-objcopy  -O binary stm32-aws-iot.elf  "stm32-aws-iot.bin"
        Finished building: default.size.stdout
         
        Finished building: stm32-aws-iot.bin
         
        Finished building: stm32-aws-iot.list
         
        ../BS_Encrypt.exe stm32-aws-iot
        ../BS_Encrypt.exe: 1: MZ������@������: not found
        ../BS_Encrypt.exe: 1: P: not found
        ../BS_Encrypt.exe: 1: �.rdata�������@: not found
        ../BS_Encrypt.exe: 2: �
        �l�f�����������0������@@�����P���R��: not found
        ../BS_Encrypt.exe: 1: =������D$���$��8*�����H�����獴: not found
        ../BS_Encrypt.exe: 1: =��tI=�����=��u��D$���$���: not found
        ../BS_Encrypt.exe: 1: 1���������: not found
        ../BS_Encrypt.exe: 3: ��@0@.bssp���0�.idata�������@0�.CRT������@0�.tls: not found
        ../BS_Encrypt.exe: 5: Syntax error: ")" unexpected
        make[1]: *** [makefile:97: post-build] Error 2
        make: *** [makefile:65: all] Error 2
        "make -j8 all" terminated with exit code 2. Build might be incomplete.

How can i compile the code? What did I overlook?
And, what is the file BS_Encrypt.exe file?
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant