Hi all, I'm trying to run a project. I didn't write it and I'm pretty new to ARM development as well. I'm getting the error "Error: A1163E Unknown Opcode MODULE, expecting opcode of Macro MODULE ?startup
I'm getting 4 or 5 of those errors, one for each of the opcodes in the code.
After reading other posts about Error: A1163E , it seems like the issue is usually white spaces and indenting, but I've tried the fixes mentioned. I believe I saw one person who just didn't have all the right libraries? All the libraries should be there to my...admittedly low level of knowledge. Is there anything else I can try? Again, as I didn't actually write the code, I can only make educated assumptions and go by the error messages.
This code is for IAR Embedded Workbench, not MDK.https://www.iar.com/products/architectures/arm/iar-embedded-workbench-for-arm/
Based on the path names, it looks like it is auto-generated code by STCubeMX:https://www.st.com/en/development-tools/stm32cubemx.html
Do you have the STM32 project available? You should re-generate the code for MDK.
Oh, okay. That explains why MDK didn't like it I guess. I'll have to see in where in the settings that's specified for the generated code. Hopefully that fixes it. I'll see if I can get that to work. Thanks
Okay, it looks like that worked for the dummy project that 'generate code' makes. That ran just fine and added code to my project, but I'm still getting the same errors and a new one:
ArmClang: error armasm command failed with exit code 8
I tried each assembler option in uVision and auto select certainly generated the fewest errors but I still get those code errors for the opcodes and that new one.
Have you seen this documentation? I should have referenced it in my previous reply:https://www.keil.com/pack/doc/STM32Cube/html/index.html
I have, I'll go through it again to see what I missed.