[SOLVED]using Atmelstudio 7 to compile Anduril for D4 + Aux

Edit: problem solved and full anduril running in my D4 with aux port enabled. If you need the file Pm me

Hello

I’m trying to compile a full anduril build for Emisar D4

I’ve followed this topic to add the required lines to the code to enable de aux port in the driver

However, I’m getting this error when trying to build the firmware: looks like the code is too big, removing something like bike flasher mode solves the problem and builds the .hex sucessfuly, but I want a full anduril

This is the error I get:

Could you help me? Toykeeper told me that I should be able to compile the rom changing the compiler settings, copying the CFLAGS values in the bin/build.sh script into the Atmel GUI to produce a smaller file. However I’m new with Atmelstudio and I don’t know how to do that

I will share the anduril.hex file once finished and tested in my D4

Here is your answer:

thank you a lot, you saved my day

I got the .hex

I’m going to try it tonight and if it works I’ll share it here

Regards

Tested and it works

If someone needs the .hex, don’t hesitate to contact me

how were you able to get this to work? I minimized code and still get the error