2009-05-28 10:40 AM
2009-05-26 12:38 PM
Hello all,
I am developing with the ST7FLITEUS2M6, using ST7VD and the ST7 C library. I cannot find an appropriate register definition file (st7xxx_reg.h) for this micro, specifically one that defines both EICR1 and EICR2 registers. I can write my own definition file based on the datasheet, but is there something I am missing? Cheers, James2009-05-26 11:42 PM
Hi James,
installing the st7tools, you'll get a lot of include-files in the folder include. The file ST7FLITEUS2.h includes definitions of EICR1 and EICR2 as well. Regards, WoRo2009-05-28 10:40 AM
Ah, OK. Is there an easy way to integrate those files into the existing ST7 C library structure, i.e. device selection in ST7lib_config.h (by virtue of including the device _periph.h file)? How have other approached this?
From a brief look, I guess I should do away with ST7lib_config as supplied, and write my own based on the file in that include folder...