nuttx/configs/olimex-stm32-e407
2019-07-12 07:47:46 -06:00
..
bmp180 configs/olimex-stm32-e407: Added BMP180 initialization and a configuration to test the BMP180. 2019-07-11 06:20:09 -06:00
dac configs/olimex-stm32-e407: Add DAC support. 2019-07-12 07:22:20 -06:00
discover tools/Makefile.unix, .win, and all defconfig files: Modify tools/Makefiles to add warning on defconfig files 2019-03-03 08:31:03 -06:00
ina219 configs/olimex-stm32-e407: Add IN219 support. 2019-07-12 07:29:03 -06:00
include configs/olimex-stm32-e407/src/stm32_spi.c: Add SPI initialization logic. 2019-07-10 07:39:35 -06:00
netnsh configs: Update all configurations to account for the configuration changes resulting from the separation of network initialization logic from NSH. 2019-04-29 10:03:41 -06:00
nsh Squashed commit of the following: 2019-05-21 18:57:54 -06:00
scripts Make sure sections are aligned to 32-bits in all LD linker scripts. This fixes and issues noted specifically for the SAMD21 by Bernd Walter, but should be applicable to all other LD scripts as well. 2019-05-30 16:51:38 -06:00
src configs/olimex-stm32-e407: Add timer driver support. 2019-07-12 07:47:46 -06:00
telnetd tools/Makefile.unix, .win, and all defconfig files: Modify tools/Makefiles to add warning on defconfig files 2019-03-03 08:31:03 -06:00
timer configs/olimex-stm32-e407: Add timer driver support. 2019-07-12 07:47:46 -06:00
usbnsh Squashed commit of the following: 2019-05-21 18:57:54 -06:00
webserver tools/Makefile.unix, .win, and all defconfig files: Modify tools/Makefiles to add warning on defconfig files 2019-03-03 08:31:03 -06:00
Kconfig
README.txt configs/olimex-stm32-e407: Add timer driver support. 2019-07-12 07:47:46 -06:00

README
======
The Olimex STM32-E407 configuration is based on the configuration
olimex-stm32-h407 and stm32f4discovery.

Configurations
==============

  Instantiating Configurations
  ----------------------------
  Each Olimex-STM32-E407 configuration is maintained in a sub-directory and
  can be selected as follow:

    tools/configure.sh [OPTIONS] olimex-stm32-e407/<subdir>

  Typical options include -l for a Linux host platform or -c for Cygwin
  host platform. See 'tools/configure.sh -h' for other options.  And
  <subdir> is one of the sub-directories listed below.

  Compile Firmware
  ----------------
  Once you've set the proper configuration, you just need to execute the next
  command:

     make

  If everything goes find, it should return the next two files:

    nuttx.hex
    nuttx.bin

  You can return more kinds of files by setting on menuconfig.

  Flashing the Board
  -----------------
  You can flash this board in different ways, but the easiest way is using
  ARM-USB-TINY-H JTAG flasher device.
  Connect this device to the JTAG connector and type the next command:

    openocd -f interface/ftdi/olimex-arm-usb-tiny-h.cfg -f target/stm32f4x.cfg -c init -c "reset halt" -c "flash write_image erase nuttx.bin 0x08000000"

  Configuration Directories
  -------------------------
  nsh:
  ---
    Configures the NuttShell (nsh) located at apps/examples/nsh. This
    configuration enables a console on UART2. Support for
    builtin applications is enabled, but in the base configuration no
    builtin applications are selected.

  usbnsh:
  ------
    Configures the NuttShell (nsh) located at apps/examples/nsh. This
    configuration enables a console on USB_OTG1. Support for
    builtin applications is enabled, but in the base configuration no
    builtin applications are selected.

  netnsh:
  ------
    Configures the NuttShell (nsh) located at examples/nsh.  This
    configuration is focused on network testing.

  bmp180:
  ------
    This is a configuration example for the BMP180 barometer sensor. This
    sensor works with I2C, you need to do the next connections:

    BMP180 VIN -> Board 3.3V
    BMP180 GND -> Board GND
    BMP180 SCL -> Board PB6 (Arduino header D1)
    BMP180 SDA -> Board PB7 (Arduino header D0)

    This example is configured to work with the USBNSH instead of UART NSH, so
    the console will be shown over the USB_OTG1 connector.

    On the console, type "ls /dev " and if the registration process goes fine,
    you should see a device called "press0". Now execute the app
    BMP180 to see the ambient pressure value.

  dac:
  ---
    This is a configuration example to use the DAC1 of the board.The DAC1 is attached
    to the PA4 pin (Arduino header D10).

    This example is configured to work with the USBNSH instead of UART NSH, so
    the console will be shown over the USB_OTG1 connector.

    On the console, type "ls /dev " and if the registration process goes fine,
    you should see a device called "dac0". Now execute the app
    dac put a value at the output.

  ina219:
  ------
    This is a configuration example for the INA219 DC current sensor. This
    sensor works with I2C, you need to do the next connections:

    INA219 VIN -> Board 3.3V
    INA219 GND -> Board GND
    INA219 SCL -> Board PB6 (Arduino header D1)
    INA219 SDA -> Board PB7 (Arduino header D0)

    This example is configured to work with the USBNSH instead of UART NSH, so
    the console will be shown over the USB_OTG1 connector.

    On the console, type "ls /dev " and if the registration process goes fine,
    you should see a device called "ina219". Now execute the app
    ina219 to see the ambient pressure value.

  timer:
  -----
    This configuration set the proper configuration to use the timer1 of the board.
    This example is configured to work with the USBNSH instead of UART NSH, so
    the console will be shown over the USB_OTG1 connector.

    On the console, type "ls /dev " and if the registration process goes fine,
    you should see a device called "timer1".