Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve freedom-k64f support [meta] #1988

Open
2 of 3 tasks
rzr opened this issue Oct 14, 2020 · 0 comments
Open
2 of 3 tasks

Improve freedom-k64f support [meta] #1988

rzr opened this issue Oct 14, 2020 · 0 comments

Comments

@rzr
Copy link
Contributor

rzr commented Oct 14, 2020

I am creating a meta ticket to list ongoing actions regarding this NXP board,
then work can be split, let me list missing features, feel free to suggest more.

  • I2C support
  • sensor : fxos8700cq
  • USB device mode
rzr added a commit to CrossStream/nuttx that referenced this issue Oct 14, 2020
Device is composed of
3-axis, linear accelerometer and 3-axis, magnetometer

It is onboarded in NXP FRDM-K64F SBC.

Change-Id: I405a12cbf2c9994f3bd66e108d2eb8faeee00e18
Bug: apache#1988
Relate-to: https://www.nxp.com/docs/en/data-sheet/FXOS8700CQ.pdf
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx that referenced this issue Oct 14, 2020
Device is composed of
3-axis, linear accelerometer and 3-axis, magnetometer

It is onboarded in NXP FRDM-K64F SBC.

Change-Id: I405a12cbf2c9994f3bd66e108d2eb8faeee00e18
Bug: apache#1988
Relate-to: https://www.nxp.com/docs/en/data-sheet/FXOS8700CQ.pdf
Forwarded: apache#1989
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx that referenced this issue Oct 14, 2020
Device is composed of
3-axis, linear accelerometer and 3-axis, magnetometer

It is onboarded in NXP FRDM-K64F SBC.

Change-Id: I405a12cbf2c9994f3bd66e108d2eb8faeee00e18
Bug: apache#1988
Relate-to: https://www.nxp.com/docs/en/data-sheet/FXOS8700CQ.pdf
Forwarded: apache#1989
Signed-off-by: Philippe Coval <rzr@users.sf.net>
xiaoxiang781216 pushed a commit that referenced this issue Oct 16, 2020
Device is composed of
3-axis, linear accelerometer and 3-axis, magnetometer

It is onboarded in NXP FRDM-K64F SBC.

Change-Id: I405a12cbf2c9994f3bd66e108d2eb8faeee00e18
Bug: #1988
Relate-to: https://www.nxp.com/docs/en/data-sheet/FXOS8700CQ.pdf
Forwarded: #1989
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx that referenced this issue Oct 16, 2020
Change-Id: I4f3ff16fae994250f62537cd0c3021465db1189c
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Bug: apache#1988
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx-apps that referenced this issue Oct 16, 2020
It was tested on NXP FRDM-64F:

    nsh> fxos8700cq
    { accel: [2174, 555, -752], magn: [0, 0, 0] }
    { accel: [-300, 547, 1951], magn: [55, -188, 276] }

Change-Id: If5180ce69913cf096e04db7772f3f9dd63f853bd
Bug: apache/nuttx#1988
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx-apps that referenced this issue Oct 16, 2020
It was tested on NXP FRDM-64F:

    nsh> fxos8700cq
    { accel: [2174, 555, -752], magn: [0, 0, 0] }
    { accel: [-300, 547, 1951], magn: [55, -188, 276] }

Change-Id: If5180ce69913cf096e04db7772f3f9dd63f853bd
Bug: apache/nuttx#1988
Forwarded: apache#428
Signed-off-by: Philippe Coval <rzr@users.sf.net>
xiaoxiang781216 pushed a commit to apache/nuttx-apps that referenced this issue Oct 17, 2020
It was tested on NXP FRDM-64F:

    nsh> fxos8700cq
    { accel: [2174, 555, -752], magn: [0, 0, 0] }
    { accel: [-300, 547, 1951], magn: [55, -188, 276] }

Change-Id: If5180ce69913cf096e04db7772f3f9dd63f853bd
Bug: apache/nuttx#1988
Forwarded: #428
Signed-off-by: Philippe Coval <rzr@users.sf.net>
AlexanderVasiljev pushed a commit to AlexanderVasiljev/incubator-nuttx that referenced this issue Oct 19, 2020
Device is composed of
3-axis, linear accelerometer and 3-axis, magnetometer

It is onboarded in NXP FRDM-K64F SBC.

Change-Id: I405a12cbf2c9994f3bd66e108d2eb8faeee00e18
Bug: apache#1988
Relate-to: https://www.nxp.com/docs/en/data-sheet/FXOS8700CQ.pdf
Forwarded: apache#1989
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx that referenced this issue Oct 19, 2020
Minimal configuration.

Each feature will added one after one
to track configuration flags.

Change-Id: Iab8aff1d489a518b6050ecba0f0b950a8b27745b
Bug: apache#1988
Forwarded: apache#2037
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx that referenced this issue Oct 19, 2020
With default settings,
it has been verified using:

    ./tools/refresh.sh --silent freedom-k64f/demo

Change-Id: I3cb96b82a392ac169d7887f5afda37a8b5daf992
Bug: apache#1988
Forwarded: apache#2037
Signed-off-by: Philippe Coval <rzr@users.sf.net>
btashton pushed a commit that referenced this issue Oct 20, 2020
Minimal configuration.

Each feature will added one after one
to track configuration flags.

Change-Id: Iab8aff1d489a518b6050ecba0f0b950a8b27745b
Bug: #1988
Forwarded: #2037
Signed-off-by: Philippe Coval <rzr@users.sf.net>
btashton pushed a commit that referenced this issue Oct 20, 2020
With default settings,
it has been verified using:

    ./tools/refresh.sh --silent freedom-k64f/demo

Change-Id: I3cb96b82a392ac169d7887f5afda37a8b5daf992
Bug: #1988
Forwarded: #2037
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx that referenced this issue Oct 22, 2020
It was tested using:

  nsh> ifconfig
  eth0    Link encap:Ethernet HWaddr 52:13:FF:FF:FF:FF at DOWN
          inet addr:10.0.0.2 DRaddr:10.0.0.1 Mask:255.255.255.0

All flags are needed to prevent build failures like:

    chip/kinetis_enet.c:181:4:\
    error: #error "Unrecognized or missing PHY selection"

    netlib_setifstatus.c: In function 'netlib_ifup':
    netlib_setifstatus.c:83:27: \
    error: 'NETLIB_SOCK_TYPE' undeclared (first use in this function);

Change-Id: I9496528ae09f6244d73ab77dbcd307ced95f46fd
Bug: apache#1988
Forwarded: apache#2066
Signed-off-by: Philippe Coval <rzr@users.sf.net>
xiaoxiang781216 pushed a commit that referenced this issue Oct 22, 2020
It was tested using:

  nsh> ifconfig
  eth0    Link encap:Ethernet HWaddr 52:13:FF:FF:FF:FF at DOWN
          inet addr:10.0.0.2 DRaddr:10.0.0.1 Mask:255.255.255.0

All flags are needed to prevent build failures like:

    chip/kinetis_enet.c:181:4:\
    error: #error "Unrecognized or missing PHY selection"

    netlib_setifstatus.c: In function 'netlib_ifup':
    netlib_setifstatus.c:83:27: \
    error: 'NETLIB_SOCK_TYPE' undeclared (first use in this function);

Change-Id: I9496528ae09f6244d73ab77dbcd307ced95f46fd
Bug: #1988
Forwarded: #2066
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx that referenced this issue Oct 22, 2020
Usage:

    nsh> ifconfig

    eth0    Link encap:Ethernet HWaddr 52:13:FF:FF:FF:FF at UP
            inet addr:10.0.0.2 DRaddr:10.0.0.1 Mask:255.255.255.0

    nsh> renew eth0 && ifconfig

    eth0    Link encap:Ethernet HWaddr 52:13:FF:FF:FF:FF at UP
            inet addr:192.168.1.42 DRaddr:192.168.1.254 Mask:255.255.255.0

CONFIG_NETDB_DNSCLIENT is needed for

    apps/netutils/netinit/netinit.c:659: \
    undefined reference to `netlib_set_ipv4dnsaddr'

Change-Id: I54b8495637baf0f3f28abf67d4d4ce861ef49ced
Bug: apache#1988
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Signed-off-by: Philippe Coval <rzr@users.sf.net>
xiaoxiang781216 pushed a commit that referenced this issue Oct 23, 2020
Usage:

    nsh> ifconfig

    eth0    Link encap:Ethernet HWaddr 52:13:FF:FF:FF:FF at UP
            inet addr:10.0.0.2 DRaddr:10.0.0.1 Mask:255.255.255.0

    nsh> renew eth0 && ifconfig

    eth0    Link encap:Ethernet HWaddr 52:13:FF:FF:FF:FF at UP
            inet addr:192.168.1.42 DRaddr:192.168.1.254 Mask:255.255.255.0

CONFIG_NETDB_DNSCLIENT is needed for

    apps/netutils/netinit/netinit.c:659: \
    undefined reference to `netlib_set_ipv4dnsaddr'

Change-Id: I54b8495637baf0f3f28abf67d4d4ce861ef49ced
Bug: #1988
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx that referenced this issue Nov 18, 2020
Change-Id: I98e72d341f46c2e03efdb6cc93124a2f49613f19
Relate-to: apache#1988
Relate-to: apache/nuttx-apps#482
Relate-to: rzr/aframe-smart-home#3
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx that referenced this issue Nov 18, 2020
Change-Id: I98e72d341f46c2e03efdb6cc93124a2f49613f19
Relate-to: apache#1988
Relate-to: apache/nuttx-apps#482
Relate-to: rzr/aframe-smart-home#3
Forwarded: apache#2333
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx that referenced this issue Nov 18, 2020
Change-Id: Ie40df592529c3adfa478a71f9ff5315cb8b0c3d6
Relate-to: apache#1988
Relate-to: apache/nuttx-apps#482
Relate-to: rzr/aframe-smart-home#3
Forwarded: apache#2333
Signed-off-by: Philippe Coval <rzr@users.sf.net>
rzr added a commit to CrossStream/nuttx that referenced this issue Nov 18, 2020
Change-Id: I98e72d341f46c2e03efdb6cc93124a2f49613f19
Relate-to: apache#1988
Relate-to: apache/nuttx-apps#482
Relate-to: rzr/aframe-smart-home#3
Forwarded: apache#2333
Signed-off-by: Philippe Coval <rzr@users.sf.net>
acassis pushed a commit that referenced this issue Nov 18, 2020
Change-Id: Ie40df592529c3adfa478a71f9ff5315cb8b0c3d6
Relate-to: #1988
Relate-to: apache/nuttx-apps#482
Relate-to: rzr/aframe-smart-home#3
Forwarded: #2333
Signed-off-by: Philippe Coval <rzr@users.sf.net>
acassis pushed a commit that referenced this issue Nov 18, 2020
Change-Id: I98e72d341f46c2e03efdb6cc93124a2f49613f19
Relate-to: #1988
Relate-to: apache/nuttx-apps#482
Relate-to: rzr/aframe-smart-home#3
Forwarded: #2333
Signed-off-by: Philippe Coval <rzr@users.sf.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant