freedom-k64f: Add I2C to demo image

Both flag were selected manualy from menuconfig

Usage:

    nsh> ls /dev/i2c0

    nsh> i2c bus
    BUS   EXISTS?
    Bus 0: YES

    nsh> i2c dev 0 0x7F
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
    00: 00 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- -- -- -- -- -- -- 1d -- --

Change-Id: I86c68753609c521af9710190397ef492ae562e38
Bug: https://github.com/apache/incubator-nuttx/pull/1999
Forwarded: # https://github.com/apache/incubator-nuttx/pull/2047
Signed-off-by: Philippe Coval <rzr@users.sf.net>
This commit is contained in:
Philippe Coval 2020-10-20 11:36:45 +02:00 committed by Xiang Xiao
parent 19f7a243a7
commit 17e624eae4

View File

@ -32,6 +32,7 @@ CONFIG_KINETIS_FTM0=y
CONFIG_KINETIS_FTM0_CHANNEL=2
CONFIG_KINETIS_FTM0_PWM=y
CONFIG_KINETIS_GPIOIRQ=y
CONFIG_KINETIS_I2C0=y
CONFIG_KINETIS_PORTEINTS=y
CONFIG_KINETIS_SDHC=y
CONFIG_KINETIS_UART0=y
@ -59,6 +60,7 @@ CONFIG_SDCLONE_DISABLE=y
CONFIG_START_DAY=25
CONFIG_START_MONTH=3
CONFIG_START_YEAR=2013
CONFIG_SYSTEM_I2CTOOL=y
CONFIG_SYSTEM_NSH=y
CONFIG_TASK_NAME_SIZE=0
CONFIG_UART0_SERIAL_CONSOLE=y