Hello cg0,
In the IAR embedded workbench you have to also include the linker files (.icf) and make sure you don't use a default linker file instead. Those symbols (__VECTOR_TABLE, __VECTOR_RAM, etc.) are defined there - this is why it does not compile.
As for your other issue, I'll have to install your version of the compiler and test it. Do you have the latest patch installed ? (The one available here) - I'm asking to have a clear picture of your environment so I can replicate your issue.
Could you also post the output of the following command ran in MATLAB terminal?
ver
Kind regards,
Razvan.
Hi Constantin
I haven't install any patches. Do I need to find out the patch 1? or just this patch 2 is enough?
what I have just done shown as below.
{TOOLBOX_ROOT}\src\mbdtbx_s32k14x\mbdtbx_s32k14x\blocks\custom_init\custom_init_s32k14_trigger.tlc
and comment out line 30
#include "%<CompiledModel.Name + "_private.h">"
Thank you.
Hello cg0,
We're uploading only cumulative patches from now - so if you install the latest patch (patch 2 at this moment), you'll get all the fixes from all previous patches as well. So it will be enough to install just patch 2. You have instructions on how to install it on the link I gave you in my previous reply.
Let us know if you're having trouble installing it.
Kind regards,
Razvan.
Hi Constantin
Sorry for waste your time.
I already know why this two problems occur, and have already solve them. both due to the environment variables not set correctly.
For the IAR as compiler error question, beacuse of the compiler environmental variables didn't set correctly. And Now I set can got the right result.
For GCC, Firstly I use the matlab package gcc address as environment variables, and I found when matlab use "arm-none-eabi-gcc" it seems lost the prefix of the full address linker. Then I change the GCC environment variables to S32 DS files, it works normal.
Thank you.
Hi Constatin
this is the project of matlab. and the report all shown as attached.
because I didn't find the upload function, so I upload to Baidu SkyDrive. I don't whether you can get the files.
here is the links & the code:
链接/linker: https://pan.baidu.com/s/1ryZUfSirjVl_qChxmqb06w 提取码/code: mpw9
I think it may help.