add i2c set freq function
and pwm set freq function, extend spi1/2 devices interface, move spi adc to arduino lib
delete prebuit samples
change pwm range define
fix compile issue for arduino-ide
update samples for arduino ide
bug fix for serial driver
better compile log when building samples