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

Do Not Merge:Work in Progress Nxphlite-v3 #6438

Closed
wants to merge 476 commits into from
Closed

Conversation

davids5
Copy link
Member

@davids5 davids5 commented Jan 26, 2017

This has been merged with the important commit from #5694

This is a WIP for the NXP flight V3 HW based on the K66. It builds but is incomplete as it is missing key Nuttx support in the Kinetis architecture.

The drivers/kinetis/* is just stubbed out. There is SPI, or DMA support

Missing Components

  • FPU support in the OS

  • DMA

  • SPI - stubbed kinetis_spibus_initialize(int bus);

  • CAN

  • VBAT - for bootloader app commnincation.

  • Timers PIT, LPTM, and FTM, PDB - for pwm, capture, tones, and hrt.

  • RESET up_systemreset(void) noreturn_function;

    Incomplete Drivers:

  • PWM supports only 1 chan per timer.

  • USB The K66 has 2 USB USB0 is FS (Nuttx has driver) USB1 is HS (No NuttX driver!)

  • UART lacking DMA kinetis_serial_dma_poll(void)

  • TERMIOS for serial

  • RTC - up_rtc_getdatetime

  • SDHC DMA disabled will not work with it yet

OS/System dependant SW

  • Cannot use FPU yet on kinetis
  • Termios
  • tcgetattr
  • tcsetattr
  • cfsetspeed

PX4 FMUV2 Modules removed from build due to No External SPI

  • drivers/bma180

  • drivers/bmi160

    NOT Portable YET

  • /Firmware/src/modules/systemlib/mcu_version.c

  • drivers/pwm_input

  • drivers/test_ppm

  • systemcmds/hardfault_log - needs bsram

  • modules/uavcan

  • uavcan

  • uavcan_stm32_driver - need Kinetis CAN driver

PX4 Drivers Needing porting

  • drivers/kinetis/*
  • drv_hrt.c
    • HRT
    • PPM
  • drv_input_capture.c
  • drv_io_timer.c
  • drv_led_pwm.cpp
  • drv_pwm_servo.c
  • drivers/kinetis/adc
  • drivers/kinetis/tone_alarm

@davids5
Copy link
Member Author

davids5 commented Jan 26, 2017

This will need #6437 to come in to master and be rebased on it to pass CI

@davids5
Copy link
Member Author

davids5 commented Feb 1, 2017

@francisco3dr

Would you please test FMUv3 on this branch.

@davids5 davids5 force-pushed the master_nxphlite branch 3 times, most recently from 627b377 to b5f6ec8 Compare May 5, 2017 12:24
@davids5 davids5 changed the title Do Not Merge:Work in Progress Nxphlite-v1 Do Not Merge:Work in Progress Nxphlite-v3 May 5, 2017
@davids5 davids5 force-pushed the master_nxphlite branch 2 times, most recently from 154b014 to 8c16fef Compare May 10, 2017 05:22
@davids5 davids5 force-pushed the master_nxphlite branch 2 times, most recently from cfbb1ee to b31871a Compare May 27, 2017 01:16
@davids5
Copy link
Member Author

davids5 commented Jun 15, 2017

Jenkins test this please

David Sidrane added 19 commits August 24, 2017 08:42
  Added RGBLED_PWM0_DEVICE_PATH path
  Renamed the main of the PWM rgbled driver to create a seperate command
   Board builds may now inclulde both the PWM and I2C RGB LED
   To add the PWM RGB LED driver:The board must define
   BOARD_HAS_LED_PWM and include rgbled_pwm the moulde list.

   This change attempts to start the PWM rgbled driver, that
   may or may not be present. If it is not present the +e
   setting allows the start up to continue.
    Board builds may now inclulde both the PWM and I2C RGB LED
    To add the PWM RGB LED driver:The board must define
    BOARD_HAS_LED_PWM and include rgbled_pwm the moulde list.

    This change attempts to start the either rgbled driver, that
    may or may not be present. If it is not present the +e
    setting allows the start up to continue.
@davids5 davids5 mentioned this pull request Sep 29, 2017
37 tasks
@davids5
Copy link
Member Author

davids5 commented Sep 29, 2017

Moved here on nuttx upgrade #8030

@davids5 davids5 closed this Sep 29, 2017
@davids5 davids5 deleted the master_nxphlite branch September 29, 2017 19:12
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

Successfully merging this pull request may close these issues.

3 participants