analogdevicesinc / EVAL-ADICUP3029

This repo includes examples which run on the EVAL-ADICUP3029 ARM Cortex-M3 processor development platform from Analog Devices.
https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029
Other
38 stars 63 forks source link

ADuCM3029_demo_adpd410x_spi_waterquality.hex file not correct #112

Open skiizo opened 1 year ago

skiizo commented 1 year ago

There should be 2 different versions of this demo... the standard and the waterquality demo. However, both binaries are identical, and appear to be the non-waterquality version. Could we get a real waterquality hex posted?

md5sum of both binaries:

I'd compile it myself, but have the same problem as #111 in doing so.

FYI: the *i2c.hex versions of this demo are similarly identical.

catapangan commented 1 year ago

Hi @skiizo ,

I think this is an error with the build scripts but you can use the command: make NEW_CFLAGS="-DADPD4100_SUPPORT" LOCAL_BUILD=n LINK_SRCS=n VERBOSE=y

You can change the cflags to compile the demo that you want: "spi": "NEW_CFLAGS=-DADPD4100_SUPPORT", "i2c": "NEW_CFLAGS=-DADPD4101_SUPPORT", "spi_waterquality": "NEW_CFLAGS=-DADPD4100_SUPPORT-DADPD410X_APP_DEMO_WQ", "i2c_waterquality": "NEW_CFLAGS=-DADPD4101_SUPPORT-DADPD410X_APP_DEMO_WQ"

I will also attach here the compiled .hex files ADuCM3029_demo_adpd410x.zip

nonomanlurker commented 1 week ago

Hi there, I follow the command in git bash on win11: make NEW_CFLAGS="-DADPD4100_SUPPORT" LOCAL_BUILD=n LINK_SRCS=n VERBOSE=y but it gives me the following error tyuig@MSI MINGW64 ~/Downloads/code/EVAL-ADICUP3029/projects/ADuCM3029_demo_adpd410x (main) $ make NEW_CFLAGS="-DADPD4100_SUPPORT" LOCAL_BUILD=n LINK_SRCS=n VERBOSE=y ln: target 'C:/Users/tyuig/Downloads/code/EVAL-ADICUP3029/no-OS/tools/scripts/platform/aducm3029/dfp_drivers': No such file or directory printf "\e[32m[16:13:59]\e[39m Building for \e[32maducm3029\e[39m\n" [16:13:59] Building for aducm3029 C:/Program Files/Git/mingw64/bin/make.exe --no-print-directory project ln: target 'C:/Users/tyuig/Downloads/code/EVAL-ADICUP3029/no-OS/tools/scripts/platform/aducm3029/dfp_drivers': No such file or directory printf "\e[32m[16:13:59]\e[39m Creating IDE project\n" [16:13:59] Creating IDE project ccesc -nosplash -application com.analog.crosscore.headlesstools \ -command projectcreate \ -data C:/Users/tyuig/Downloads/code/EVAL-ADICUP3029/projects/ADuCM3029_demo_adpd410x/build \ -project C:/Users/tyuig/Downloads/code/EVAL-ADICUP3029/projects/ADuCM3029_demo_adpd410x/build/app \ -project-name app \ -processor ADuCM3029 \ -type Executable \ -revision any \ -language C \ -config Release \ -remove-switch linker -specs=rdimon.specs

Headless Tools Results:


        TASK                       SUBTASK                RESULT     DESCRIPTION

   Create Project                                        FATAL_ERR   Failed to create project at: C:/Users/tyuig/Downloads/code/EVAL-ADICUP3029/projects/ADuCM3029_demo_adpd410x/build/app

   Set Processor                                          NOT_RUN

  Update Switches                                         NOT_RUN

make[1]: [C:/Users/tyuig/Downloads/code/EVAL-ADICUP3029/no-OS/tools/scripts/aducm.mk:237: aducm3029_project] Error 8 make: [C:/Users/tyuig/Downloads/code/EVAL-ADICUP3029/no-OS/tools/scripts/generic.mk:261: all] Error 2

It seems there's no dfp drivers, how could I get it?