AdaCore / Ada_Drivers_Library

Ada source code and complete sample GNAT projects for selected bare-board platforms supported by GNAT.
BSD 3-Clause "New" or "Revised" License
240 stars 141 forks source link

Add client interface to DWT #171

Closed pat-rogers closed 7 years ago

pat-rogers commented 7 years ago

I don't see why this check fails.

Fabien-Chouteau commented 7 years ago

You can use the "details" link right of where the check is marked failed, that will take you to the build log:

gprbuild -j0 -p -q -P C:\projects\ada-drivers-library/examples/MicroBit/microbit_example.gpr -XPLATFORM_BUILD=Debug compilation of cortex_m-dwt.adb failed Build error (gprbuild returned 4): cortex_m-dwt.adb:33:06: file "cortex_m_svd-dwt.ads" not found cortex_m-dwt.adb:33:18: warning: unit "Cortex_M_SVD.DWT" is not referenced cortex_m-dwt.adb:74:23: "DWT" not declared in "Cortex_M_SVD" cortex_m-dwt.adb:77:20: "CTRL_Register" is undefined cortex_m-dwt.adb:77:20: instantiation abandoned cortex_m-dwt.adb:80:14: "As_UInt32" is undefined cortex_m-dwt.adb:80:25: "DWT_Periph" is undefined gprbuild: *** compilation phase failed

You should be able to use the scripts to reproduce.

pat-rogers commented 7 years ago

Ah. The problem is that this is an M0 and we don't have the SVD for its DWT. I'll look into that.