NT7S / Si5351

Library for the Si5351 clock generator IC in the avr-gcc environment
GNU General Public License v3.0
33 stars 11 forks source link

Portability issue #2

Open EU1KY opened 9 years ago

EU1KY commented 9 years ago

I'm successfully using your code for my antenna analyzer project (using the board based on STM32 ARM Cortex M3), but had to make some changes in si5351 code. There are several platform-dependent definitions like TW_xxx used in si5351.c. It does not allow building the code for other platforms. All such checks should be moved to i2c.c which is platform dependent.

NT7S commented 9 years ago

Yes, as I only currently have Uno hardware, I admittedly did not write this first pass of code with portability in mind. I'll try moving the defs into i2c.c and see if that will do the trick.