Giter Club home page Giter Club logo

nuttx's Introduction

Overview of this repository

NuttX driver libraries for Rohm Sensors & Bluetooth LE

(NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. http://nuttx.org/doku.php?id=nuttx)

Supported devices

  • Accelerometer KX122, I2C, SAD=0x1F
  • Accelerometer KX224, I2C, SAD=0x1F
  • Magnetosensor BM1422AGMV, I2C, SAD=0x0F
  • Pressure sensor BM1383AGLV, I2C, SAD=0x5D
  • ALS/Proximity sensor RPR-0521RS, I2C, SAD=0x38
  • Hall Effect sensor BD7411G, GPIO
  • Color sensor BH1749NUC, I2C, SAD=0x38/0x39

This repository contains the drivers for:

  • Accelerometer KX224
  • Hall Effect sensor BD7411G
  • Color sensor BH1749NUC

This repository contains the makefile, kconfig and cxd56-sensors.c modifications to allow you to easily test these devices. However these files could be outdated compared to the Sony-provided files, and as such may cause you to lose other functionality.

Should you wish to use these drivers on a newer base, you need to modify:

  • sdk/drivers/Kconfig and Make.defs
  • sdk/bsp/board/Makefile
  • sdk/bsp/board/common/src/cxd56-sensors.c

The actual driver files are located in:

  • sdk/drivers
  • sdk/bsp/board/common
  • sdk/bsp/include/nuttx/sensors

The rest of the drivers are available on the Sony GitHub , and should come with the SDK.

Pin assignment for Sensor Add-on board

Sensor Add-on board:

How to setup and test devices with Sony Spresense

About Sony Spresense https://developer.sony.com/develop/spresense/

For help regarding the installation of the Spresense SDK please refer to Setting up the Spresense SDK

Uploading and testing the sensor drivers

  1. Run the config and select the drivers and examples you wish to upload
  • In the sdk folder, type tools/config.py --menuconfig
  1. Save the configuration and run make
  2. Upload the nuttx.spk to the board according to the instructions in the Flashing tutorial
  3. When the system has booted, type help. This will show you the built-in applications, which should include the driver example you chose in the config
  4. Type the name of the application in the NuttX shell, and the application should begin running

nuttx's People

Contributors

jutava avatar kokiokada-rohm avatar markuslaine avatar

Stargazers

ChaochaoCui avatar  avatar

Watchers

James Cloos avatar  avatar MikkoK avatar  avatar  avatar

nuttx's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.