Hi all,

I have noticed that libopencm3 has started to provide include files that 
automatically include the correct file for the stm32 family being 
targeted, i.e. that, instead of libopencm3/stm32/f4/rcc.h, one is now 
supposed to include libopencm3/stm32/rcc.h . That is nice, but I have 
encountered two issues:

1. The selection file for the nvic appears to be missing (i.e. 
libopencm3/stm32/nvic.h does not exist) .

2. The selection files include other, required, files before including 
the family-specific file. If one tries to include the family-specific 
file directly (e.g. when porting code from an older version of 
libopencm3), one gets somewhat non-obvious error messages (usually 
related to stdint types missing). It would be nice to have a warning 
that these files are not supposed to be included directly (other files 
do that, e.g. those in libopencm3/stm32/common).

If people agree that these should be fixed, I can provide patches.

Best regards,

Norbert


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
libopencm3-devel mailing list
libopencm3-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libopencm3-devel

Reply via email to