On Sunday, 24 November 2013 at 14:10:54 UTC, Mike wrote:
On Sunday, 24 November 2013 at 13:30:10 UTC, David Nadlinger wrote:
On Sunday, 24 November 2013 at 13:00:39 UTC, Mike wrote:
Is there some syntax equivalent to __attribute__ ((section(".interrupt_vector")))?

There isn't right now, but it would be entirely feasible to implement this in an LDC-specific extension. Could you open an issue on our GitHub tracker?

David

https://github.com/ldc-developers/ldc/issues/547

A full working example for gdc and cortex-m4 (stm32f4) is in my repo at
https://bitbucket.org/timosi/minlibd

I have used startup file from st and have no need to put interrupt vectors in d code.

Reply via email to