Commit Graph

9798 Commits

Author SHA1 Message Date
Gregory Nutt
34a2839244 Kinetis GPIO: Pin IRQ logic no longer returns the xcpt_t oldhandler. There value is useless and dangerous after the recent changes to interrupt argument passing. 2017-03-02 11:33:03 -06:00
Alan Carvalho de Assis
f1341dad9c Add support to USB Device on STM32F103-Minimum board 2017-03-02 09:36:05 -06:00
Gregory Nutt
f5f9d82d5a arch_phy_irq: Now returns int instead of xcpt_t oldhandler. The oldhandler is useless after the changes to the interrupt argument. Also access an argument for the PHY interrupt. phy_notify.c driver changed to exploit new interrupt argument passing. 2017-03-02 08:43:33 -06:00
Gregory Nutt
75446b349b configs/: All functions that used to return an xcpt_t old handler value, not return NULL. The oldhandler value is no longer useful with the recent changes to the interrupt argument passing. 2017-03-02 08:43:32 -06:00
Gregory Nutt
91920f6fc3 cc3200-launchpad: Remove unused prototypes for obsolete names of button interface function. 2017-03-02 08:43:31 -06:00
Maciej Wójcik
35b2448203 Merged in w8jcik/nuttx (pull request #232)
some simple typos

Approved-by: Gregory Nutt
2017-03-01 15:25:42 +00:00
Mark Schulte
335d02d7a7 STM32F4 Discovery: Fix irq handler to have void *arg 2017-03-01 09:00:01 -06:00
Mark Schulte
3af929a551 STM3210E EVAL: Fix button driver: use irq context 2017-03-01 08:58:58 -06:00
Mark Schulte
8277cf2cff STM3210E EVAL: Fix irq handler function type 2017-03-01 08:57:13 -06:00
Mark Schulte
585b1892c2 Olimexino STM32: Fix irq handler function signature 2017-03-01 08:55:26 -06:00
Mark Schulte
4761a7d816 Add argument to timer irq callback 2017-03-01 08:49:14 -06:00
Maciej Wójcik
4a8aa6ae95 typos 2017-03-01 12:56:15 +01:00
Gregory Nutt
192c41aa45 Fix another compiler issue found in build testing. 2017-02-28 14:14:32 -06:00
Gregory Nutt
aa0c05af85 Fix errors found in build testing. 2017-02-28 09:32:24 -06:00
Gregory Nutt
92d65294fb Olimex STM32 P407: Add button support 2017-02-28 08:31:57 -06:00
Gregory Nutt
704df7bd39 IRQ arguments: Fix errors discovered in build testing 2017-02-27 19:28:24 -06:00
Gregory Nutt
f700e7b241 Merge remote-tracking branch 'origin/master' into irqattach 2017-02-27 18:58:34 -06:00
David Sidrane
a6e0d5ed60 Kinetis:Use BOARD_xxxx to drive system clocking
1) Shifted the clock speed of MK20DX128VLH5 to 48 Mhz to be
      able to uses USB.
   2) Set BOARD_OUTDIV3 to 0 - there is no BOARD_OUTDIV3 on a
      MK20DX128VLH5 or K20DX256VLH7

   3) Added BOARD_SOPT2_PLLFLLSEL and BOARD_SOPT2_FREQ along with
      settings for BOARD_SIM_CLKDIV2_USBFRAC and
      BOARD_SIM_CLKDIV2_USBDIV base on the BOARD_SOPT2_FREQ.
2017-02-27 13:56:40 -10:00
Gregory Nutt
d9fec7fe4c More missing arguments to interrupt handling. 2017-02-27 14:26:04 -06:00
Gregory Nutt
67de2e5f66 Add argument to STM32 EXTI interrupt handlers. 2017-02-27 14:21:30 -06:00
Gregory Nutt
6002393b2d Fix some interrupt argument issues associated with NRF21L01 2017-02-27 12:06:15 -06:00
Gregory Nutt
a773f9412a STMPE811 driver needs argument in interrupt handler 2017-02-27 11:41:48 -06:00
Gregory Nutt
7e8e869352 Add more missing arguments to interrupt handling functions. 2017-02-27 11:14:21 -06:00
Gregory Nutt
b4ff7391f8 Convert more drivers to use use irq_attach with argument. 2017-02-27 10:44:13 -06:00
Gregory Nutt
97b9bb7fa5 SAMA5D4-EK: Add missing argument to interrupt handler. 2017-02-27 09:36:12 -06:00
Gregory Nutt
3129c7536e CC3000: Add interrupt argument to all CC3000 interrupts. 2017-02-27 09:23:50 -06:00
Gregory Nutt
e5be4f7fe2 Merge remote-tracking branch 'origin/master' into irqattach 2017-02-27 09:13:41 -06:00
Gregory Nutt
8ff7e5106d Teensy 3.x: Remove unused local definition that collides with a global definiion. 2017-02-27 09:13:10 -06:00
Gregory Nutt
8b06dc7ee9 Freedom K64F: Fix prototype of interrupt handler. 2017-02-27 09:10:56 -06:00
Gregory Nutt
2321560690 More missing argument paramters in interrupt handlers. 2017-02-27 08:06:07 -06:00
Gregory Nutt
2e30b9b252 More missing argument paramters in interrupt handlers. 2017-02-27 07:46:36 -06:00
Gregory Nutt
6e2ee2b07f Kinetis: GPIO interrupt handling needs handler argument. 2017-02-27 07:20:21 -06:00
Mark Schulte
b3222bbc8a irq_dispatch: Add argument pointer to irq_dispatch
Provide a user defined callback context for irq's, such that when
registering a callback users can provide a pointer that will get
passed back when the isr is called.
2017-02-27 06:27:56 -06:00
Alan Carvalho de Assis
0227de3e4d Explain how to use SDCard configuration in the README.txt 2017-02-26 14:53:00 -06:00
Alan Carvalho de Assis
adb32e31a0 Add SDCard support over SPI on STM32F103-Minimum board 2017-02-26 14:51:38 -06:00
raiden00pl
0188bc49ce Add Nucleo F334R8 board configuration 2017-02-26 12:42:43 +01:00
Gregory Nutt
c8018f2b09 Freedom K66F: Fix a compilation error. Was including the wrong chip.h 2017-02-25 12:11:15 -06:00
Alan Carvalho de Assis
84be223144 STM32: Add function prototype to eliminate a warning. 2017-02-25 11:56:15 -06:00
Gregory Nutt
90e63ba18e Purely cosmetic changes from review of last PR. 2017-02-25 11:43:05 -06:00
David Sidrane
38df949adc Merged in david_s5/nuttx/upstream_kinetis (pull request #221)
Kinetis:Add LPUART

Approved-by: Gregory Nutt
2017-02-25 17:23:04 +00:00
David Sidrane
0cbc03255c Kinetis:Add LPUART and Clock configuartaion to freedom-k66f board
Pin out LPUART0 for testing
   Define BOARD_SOPT2_PLLFLLSEL ti select MCGPLLCLK
   Define BOARD_SIM_CLKDIV3_FREQ etal to provide BOARD_LPUART0_FREQ
2017-02-25 07:05:34 -10:00
Gregory Nutt
de0e2ec261 STM32: Remove one residual use of the obsoleted STM32_TIM27_FREQUENCY definition which does not work for all STM32 family members. 2017-02-25 10:04:28 -06:00
Alan Carvalho de Assis
7a12cc3e56 STM32F4 Discovery: Update stm32f4discovery README.txt to instruct how to use QE 2017-02-24 07:10:07 -06:00
Alan Carvalho de Assis
8ca41b2d7a STM32F4 Discovery: Fix issues with QEncoder support 2017-02-24 07:04:58 -06:00
Gregory Nutt
bd538d22be twr-k64f120m: refresh configurations. DEBUG must be disabled in all base configurations. CONFIG_APPS_DIR must must be defined in defconfig files. 2017-02-23 16:10:31 -06:00
Gregory Nutt
38ca73758d Olimex STM32 p407: Add extrnal SRAM support. Unfortunately not usable or testable unless you also disable the serial console. 2017-02-23 13:27:36 -06:00
Gregory Nutt
207b4a3c68 Update README.txt 2017-02-23 11:02:06 -06:00
Gregory Nutt
d83422a00d Update README.txt 2017-02-23 10:57:21 -06:00
Gregory Nutt
402690e964 Backout the rotary configuration 2017-02-23 10:21:59 -06:00
Alan Carvalho de Assis
2b2114d819 Add support to QEncoder on STM32F103Minimum board 2017-02-23 09:31:28 -06:00
Gregory Nutt
4539988d00 Removed CONFIG_LIBC_ARCH_BZERO. bzero() is a deprecated interface. There are no architecture-specific replacements and, if there were, they should replace memset(), not bzero(). 2017-02-22 10:41:49 -06:00
Jussi Kivilinna
4dfb8268f3 stm32f7: stm32_allocateheap: allow use DTCM memory for heap
STM32F7 has up to 128KiB of DTCM memory that is currently left unused.

This patch adds DTCM to main heap if CONFIG_STM32F7_DTCMEXCLUDE is not enabled.
2017-02-20 08:42:51 -06:00
Gregory Nutt
0fc226dd53 Changes from review of last PR 2017-02-19 14:58:37 -06:00
Marc Rechté
1838171d43 Add twr-k64f120m config and fix some ENET related problems 2017-02-19 21:20:56 +01:00
Gregory Nutt
6e32d74b33 Cosmetic changes from review of the last PR 2017-02-19 11:49:42 -06:00
raiden00
d45b731fbd config/stm32f429i-disco: add support for the L3GD20 driver 2017-02-19 17:43:54 +01:00
Gregory Nutt
085616d651 STM32L4: Bring power management logic from Motrola MDK into NuttX 2017-02-18 10:18:42 -06:00
Gregory Nutt
6fe94b5724 Trivial cosmetic, alignement changes. 2017-02-17 17:50:56 -06:00
David Sidrane
7bb55330f2 Kinetis refreshed freedom-k64f netnsh config 2017-02-15 13:42:36 -10:00
David Sidrane
40c4e1c94d Kinetis refreshed freedom-k66f nsh config 2017-02-15 13:42:36 -10:00
David Sidrane
ec9fda4c8c Kinetis:Freedom-K66F uses ENET_1588_CLKIN as RMII clock 2017-02-15 13:42:36 -10:00
David Sidrane
acc8c4bf28 Kinetis: Define FTM3 Pins 2017-02-15 13:42:36 -10:00
Gregory Nutt
077adf863e Merge branch 'master' of bitbucket.org:nuttx/nuttx 2017-02-14 19:31:58 -06:00
Alan Carvalho de Assis
1b996f1c7c Add usbnsh config to Bambino 200E board 2017-02-14 19:31:39 -06:00
David Sidrane
81345c9d42 Kinetis: Updated Freedom-K66F Readme 2017-02-14 09:15:42 -10:00
David Sidrane
3fb6064efe Kinteis: Freedom-K66F refreshed config
Update Console to match README.txt
2017-02-14 09:15:42 -10:00
David Sidrane
82e93bb3f0 Kinetis: Map Freedom-K66F Ethernet pins 2017-02-14 09:15:23 -10:00
David Sidrane
f56e0a43a4 Inital commit of NXP Freedom-k66f development board 2017-02-13 14:35:51 -10:00
David Sidrane
3840c802d1 Kinetis SPI and I2C are 0 based
The K whole family line has max 4 or each. But the supported
  parts have the maximums listed below:

    K46 and K66    3 SPI SPI0-SPI2
    K46 and K66    4 I2C I2C0-I2C3
2017-02-13 13:24:47 -10:00
David Sidrane
067b51f5f1 freedom-64H Disable unsuported CONFIG_SDIO_BLOCKSETUP 2017-02-13 13:24:47 -10:00
David Sidrane
1cdac1e8e6 Fixed typos in k64f README.txt 2017-02-13 13:24:47 -10:00
Gregory Nutt
de1b68dc4e libc/Kconfig: Break big Kconfig up into separate Kconfig files in each libc subdirectory. 2017-02-10 09:32:55 -06:00
Alan Carvalho de Assis
e6e72bda02 Bambino-200E: Use .elf extension on all executables. 2017-02-09 11:37:52 -06:00
Gregory Nutt
1d290c2b37 setvbuf: Add support for disabling I/O buffering. Initially cut; untested. 2017-02-09 09:24:44 -06:00
Alan Carvalho de Assis
ea53894e51 Bamboo-200E: Add netnsh configuration 2017-02-08 12:55:40 -06:00
Gregory Nutt
e803e2c3f4 Costmetic changes from review of last PR. 2017-02-07 17:16:56 -06:00
David Sidrane
a065b087fd Added MCG settings that are defiend on the K64 Soc
Added BOARD_MCG_C2_FCFTRIM and BOARD_MCG_C2_LOCRE0 to
  configure the MCG_C2 register
  cleanup of some comments
2017-02-07 12:38:28 -10:00
David Sidrane
bbd9bf4180 Fixes illdefined BOARD_FR_DIV with BOARD_FRDIV from MCG
Original BOARD_FR_DIV was never used - that is a good thing because
  the value ws definec shifted and the code also shifited it.
2017-02-07 12:38:28 -10:00
Gregory Nutt
62a1f6f110 up_timer_initialize() is named incorrectly. The prefix should be the architecture name, not up_ since it is private to the architecture. up_timerisr() is similarly misnamed and should also be private since it is used only with the xyz_timerisr.c files. Also updat TODO list. 2017-02-07 10:35:04 -06:00
Gregory Nutt
b77c863d7f STM32F429i-DISCO: Refresh configurations 2017-01-31 17:13:15 -06:00
Gregory Nutt
3898fc0a16 STM32F429-DISCO: Move some board initialization logic that is not usuable because it lacks the configuration options to make it so 2017-01-31 17:06:54 -06:00
Gregory Nutt
1c66c06315 STM32F7 SDMMC: Make sure that all SDMMC configuration variables begin with STM32F7_; Eliminate CONFIG_SDMMC1/2_DMA altogether. Does not appear to be used. 2017-01-31 14:27:50 -06:00
Gregory Nutt
97482c9cdc STM32F103-Minimum: Fix a compile error. CONFIG_STM32_TICKLESS_ONESHOT_TIMER is only defined in TICKLESS mode. Somebody has been hand editing .config files. 2017-01-31 12:35:05 -06:00
Gregory Nutt
3dbdb3bb31 CONFIG_SDIO_DMA: Was been defined in several low-level architecute Kconfig files, but used at the highest levels in the code. Both are bad and both are fixed with this commit 2017-01-31 11:52:00 -06:00
Gregory Nutt
9ac00a355f Add capabilities() method to SDIO interface. Remove CONFIG_SDIO_WIDTH_D1_ONLY. That should not be a global propertie, but rather a capability/limitation of single slot when there may be multiple slots. 2017-01-31 09:16:01 -06:00
Gregory Nutt
4c39b68505 SAME70-Xplained: Clone some recent SAMV71-XULT changes 2017-01-30 14:10:22 -06:00
Gregory Nutt
8ab77c55cd SAMv71-XULT: Fixes to knsh configuration. Still does not work properly. 2017-01-30 12:49:07 -06:00
Gregory Nutt
eeeb0ad112 Refresh all SAM v7 configurations 2017-01-30 11:24:32 -06:00
Gregory Nutt
d56d16595a New apps/examples/module and sotest configuration options 2017-01-30 08:42:31 -06:00
Gregory Nutt
86bdd0a4c7 Modules: Move last of many C files from sched/module to libc/modlib 2017-01-29 11:54:54 -06:00
Gregory Nutt
00e46b5966 Move gnu-elf.ld from sched/module to libc/modlib. Update paths in Make.defs files to account for new location of file 2017-01-29 09:03:01 -06:00
Gregory Nutt
2717e781f0 libc/modlib: Add build a configuration logic for a shared module library. 2017-01-29 08:55:27 -06:00
Gregory Nutt
a2150c1e35 Olimex STM32 P407: Add support for on-board microSD slot. Does not work... Currently all commands to the SD card timeout. 2017-01-28 10:17:10 -06:00
Gregory Nutt
f858027d56 Configurations that enable OSTEST must not disable signals. 2017-01-24 09:26:11 -06:00
Gregory Nutt
ec755a4091 SYSCALLS: Correct a bad function prototype generated in PROTECTED mode with kernel modules enabled. 2017-01-23 14:04:32 -06:00
Gregory Nutt
6f5a9eb451 Olimex-stm32-p407: Add a NSH protected build configuration; Enable procfs/ in all configurations. 2017-01-23 10:38:54 -06:00
Gregory Nutt
f6504be6ef Update README 2017-01-22 18:09:34 -06:00
Gregory Nutt
1b9f2795f6 Olimex STM32 p407: Add module build flags to NSH Make.defs 2017-01-22 15:08:42 -06:00
Gregory Nutt
edd9186540 ELF: Move ARMv7-A and ARMv7-R versions of ELF relocation logic to libc/machine 2017-01-21 14:40:26 -06:00
Gregory Nutt
3c4684ef5f Eliminate CONFIG_ARCH_OPTIMIZED_FUNCTIONS. Move options to select architectur-specific C library options from libc/Kconfig to libc/machine/Kconfig and rename. 2017-01-20 09:30:07 -06:00