Commit Graph

10667 Commits

Author SHA1 Message Date
Gregory Nutt
0ba7853016 sched/irq: Fix a infinite recursion problem that a recent change introduced into the i.MX6 SMP implementation. 2018-02-06 09:18:03 -06:00
Michael Jung
cbd8fa31d1 configs/stm32f429i-disco: Separate SPI4 from MTD init. I was trying to attach a non-MTD peripheral to an STM32F429I Discovery Board's SPI4 port and was hitting compilation problems, since CONFIG_MTD and thus 'struct mtd_geometry_s' was not defined. This patch separates SPI4 initialization logic from MTD initialization logic. 2018-02-05 06:35:40 -06:00
Alan Carvalho de Assis
97937d3d47 configs/stm32f103-minimum: Add support to BMP180 on BluePill (stm32f103-minimum) board. 2018-02-04 07:34:31 -06:00
Gregory Nutt
2683f713ab Make sure that labeling is used consistently in all function headers (part 3). 2018-02-01 12:17:03 -06:00
Gregory Nutt
7cf88d7dbd Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -06:00
Gregory Nutt
50ca32e254 Squashed commit of the following:
sched/:  Convert legitimate uses of task_create() to nxtask_create().  Review handling of returned values from all uses of kthread_create() (as well as nxtask_create()).
    graphics/:  Review return values for all calls to kthread_start() because it no longer returns an errno.
    drivers/:  threads started by drivers should be kernel threads, not user tasks.  Review return values for all calls to kthread_start() because it no longer returns an errno.
    configs/:  threads started by board bringup logic should be kernel threads, not user tasksi (part 2 of 2).
    sched/task:  Add nxtask_create().  Kthread_create() and nxtask_create() are internal OS functions and should not modify the errno variable.  configs/:  threads started by board bringup logic should be kernel threads, not user tasks.
2018-01-31 16:11:54 -06:00
Gregory Nutt
3521aaf944 Squashed commit of the following:
binfmt/, configs/, grahics/, libc/, mm/, net/, sched/:  OS references to the errno variable should always use the set_errno(), get_errno() macros
    arch/arm/src/stm32 and stm32f7:  Architecture-specific code is not permitted to modify the errno variable.  drivers/ and libc/:  OS references to the errno variable should always use the set_errno(), get_errno() macros
2018-01-30 17:57:36 -06:00
Gregory Nutt
170a50c690 Squashed commit of the following:
sched/sched:  Correct some build issues introduced by last set of changes.
    sched/sched:  Add new internal OS function nxsched_setaffinity() that is identical to sched_isetaffinity() except that it does not modify the errno value.  All usage of sched_setaffinity() within the OS is replaced with nxsched_setaffinity().
    sched/sched:  Internal functions sched_reprioritize() and sched_setpriority() no longer movidify the errno value.  Also renamed to nxsched_reprioritize() and sched_setpriority().
    sched/sched:  Add new internal OS function nxsched_getscheduler() that is identical to sched_getscheduler() except that it does not modify the errno value.  All usage of sched_getscheduler() within the OS is replaced with nxsched_getscheduler().
    sched/sched:  Add new internal OS function nxsched_setparam() that is identical to sched_setparam() except that it does not modify the errno value.  All usage of sched_setparam() within the OS is replaced with nxsched_setparam().
    sched/sched:  Add new internal OS function nxsched_getparam() that is identical to sched_getparam() except that it does not modify the errno value (actually, the previous value erroneously neglected to set the errno value to begin with, but this fixes both issues).  All usage of sched_getparam() within the OS is replaced with nxsched_getparam().
2018-01-30 11:08:18 -06:00
Mateusz Szafoni
0afbcb0bab Merged in raiden00/nuttx (pull request #585)
Master

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-28 13:46:17 +00:00
Gregory Nutt
6c277d082f configs/flipnclick-pic32mz: Apply same LED fix as for flipnclick-sam3x. The LED code is cloned. 2018-01-28 07:42:02 -06:00
raiden00pl
cec8709ec1 stm32/Kconfig: fix COMP7 dependency
stm32_hrtim: add HRTIM push-pull mode configuration

stm32f334-disco: add buck-boost converter mode
2018-01-28 11:06:08 +01:00
Gregory Nutt
c0a79a8e45 configs/flipnclick-sam3x: Fix an error in the control of one LED. LEDs should not be pulled up since they are active high. 2018-01-27 12:42:51 -06:00
Gregory Nutt
12e3e47d3c Update comments, mostly spelling errors. 2018-01-27 09:37:46 -06:00
Gregory Nutt
23c6debc63 configs/flipnclick-sam3x: Update README and comments to discuss I2C access on all mikroBUS connectors. 2018-01-25 13:33:09 -06:00
Gregory Nutt
483dfe80d9 configs/flipnclick-pic32mz and flipnclick-sam3x: Update README and add pin definitions to support SPI on all mikroBUS connectors. 2018-01-25 12:45:02 -06:00
Gregory Nutt
633e90225e configs/flipnclick-sam3x (also Arduio-Due): Remove disabling of environmont, mountpoints, and poll. Add NSH arch initialization so that procfs will be automounted. Increase task name size from 0 to 32. Update README. 2018-01-25 10:37:16 -06:00
Gregory Nutt
cafb527262 configs/flipnclick-sam3x: Using JTAG (vs. Bossac) I was finally able to load code and verify the basic NSH configuration. Updated READMEs. Also switched to USART0 (vs UART0) for the serial console because I was not getting bi-directional communication on the VCOM. 2018-01-24 08:52:40 -06:00
Gregory Nutt
82cb799bb6 net/udp: Fix memory leak with UDP + write buffer is closed. Also update TODO and comments and refresh a configuration. 2018-01-23 11:54:03 -06:00
David Alessio
6ae6ecc958 Merged in david_alessio/nuttx/refactor-pll-setup (pull request #581)
Refactor pll setup

* fix typo in #def

* refactor PLL setup code...

* refactored PLL/CLK config, easier, checks for correctness

* call go_os_start if STACK_COLORIZED

* smarter config of EXTCLK output freq

* cosmetic

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-22 13:20:35 +00:00
Fanda
460d362eb7 Merged in fvacek/nuttx (pull request #580)
NUCLEO F432KC typo fixed, correct name is L432KC

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-21 18:28:47 +00:00
Mateusz Szafoni
5af7e3de2a Merged in raiden00/nuttx (pull request #579)
Master

* stm32_hritm: add interface to get timer clock frequency

    stm32_hrtim: fix timer freq calculation

    stm32_hrtim: add compar/capture registers significant bits checking

    stm32_hrtim: minor changes

* stm32f334-disco: add buck converter and boost converter logic

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-21 18:28:09 +00:00
Fanda Vacek
9916ca89e6 NUCLEO F432KC typo fixed, correct name is L432KC
Just README.txt and comments affected, no changes in the code
2018-01-21 19:06:22 +01:00
Gregory Nutt
f153df28d3 configs/nucleo-l432kc: Fix numerous cloning errors/typos. 2018-01-20 16:16:35 -06:00
Fanda Vacek
d0ae325c15 Issue #85: /dev/userleds is not working for nucleo-l432kc fixed 2018-01-20 23:02:34 +01:00
Gregory Nutt
e8e8914cab Documentation: Fix copy/paste error in NX graphics document. Noted by Henjiu Kang. 2018-01-20 07:11:33 -06:00
Gregory Nutt
ff8cdcc89f configs/lpcxpresso-lpc54628: Update README 2018-01-18 11:14:54 -06:00
Gregory Nutt
c0a343a6f0 configs/lpcxpresso-lpc54628/lvgl: Add LittlevGL graphics demo configuration. 2018-01-18 10:00:27 -06:00
Gregory Nutt
ce7df1f961 configst/stm3240g-eval: Remove only bogus logic to start the NX server. That was there only to support the knxwm configuration and was implemented priorit to boardctl(BOARCIOC_NX_START). 2018-01-18 06:57:38 -06:00
Masayuki Ishikawa
0184f8818a Merged in masayuki2009/nuttx.nuttx/lc823450_fixes (pull request #576)
lc823450 fixes

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-18 12:32:41 +00:00
Masayuki Ishikawa
0fa630d29d configs/lc823450-xgevk: Update README.txt and defconfigs
Update comments on SMP in README.txt
Enable SYSTEM_TIME64 in defconfigs.
Enable INSTRUMENTATION in rndis configuration.

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-18 14:02:39 +09:00
Gregory Nutt
d481ac347d configs: Both CONFIG_LIB_BOARDCTL=y and CONFIG_BOARD_INITIALIZE=y is not meaningful in the standalone NxWM. CONFIG_LIB_BOARDCTL=y is the better option so CONFIG_BOARD_INITIALIZE=y removed from these configurations. 2018-01-17 13:51:29 -06:00
Gregory Nutt
6deebac4ae configs: There should be either CONFIG_LIB_BOARDCTL=y or CONFIG_BOARD_INITIALIZE=y in the defconfig of every standalone NxWM configuration to assure that all of the board resources are initialized... especially the touchscreen since it it now a part of the board driver initialization. 2018-01-17 12:12:07 -06:00
Gregory Nutt
c456b87dcd configs: CONFIG_MAX_TASKS muast be a power of 2 2018-01-17 10:54:39 -06:00
Gregory Nutt
43390c78ea configs: Since the touch screen initialization is now called from one-time board-initialization logic, it no longer needs protection from re-entry. 2018-01-17 10:14:03 -06:00
Gregory Nutt
301bf1ee77 This commit eliminates the BOARDIOC_TSCTEST_SETUP command.
Squashed commit of the following:

    configs:  Each board now initializes the touchscreen controller as a normal part of its board bring-up.  board_tsc_setup() is gone; the touchscreen controller is now treated like any other on-board device.
    Remove all support for BOARDIOC_TSCTEST_SETUP
    Move prototype for board_tsc_setup() from include/nuttx/board.h to individual board header files.
2018-01-17 09:33:28 -06:00
Gregory Nutt
e276d4d16d Remove the BOARDIOC_TSCTEST_TEARNDOWN boardctl() command. Remove all implementations of board_tsc_teardown() (the were all stubs anyway except for the simulation). 2018-01-16 18:03:21 -06:00
Fanda
53db5c80f3 Merged in fvacek/nuttx (pull request #572)
Fixed nucleo-l432kc broken build when CONFIG_USERLED_LOWER defined

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-16 23:33:58 +00:00
Gregory Nutt
c67de1f114 configs/lpcxpresso-lpc54628: Add pin definitions for USART, I2C, and SPI on the Arduino Uno connector. 2018-01-16 11:48:36 -06:00
Juha Niskanen
802f146781 configs/nucleo-* and configs/stm32l476vg-disco: Fix more stm32_userleds.c bogus logic 2018-01-16 07:20:41 -06:00
Gregory Nutt
a30ccce7ce configs/nucleo-l432kc/src: Fix some bogus logic noted by Fanda. 2018-01-15 18:22:29 -06:00
Gregory Nutt
8f94ce46f9 arch/arm/src/lpc54xx: The basic SPI driver is code complete but still untested. This driver is 'basic' in that in only supports polled mode operations. 2018-01-14 12:09:26 -06:00
Gregory Nutt
fdf4e40b6a configs/lpcxpresso-lpc54628: Correct SRAM base address in all configurations. 2018-01-13 08:34:58 -06:00
Gregory Nutt
0eca2c6fef Update README files 2018-01-11 07:28:12 -06:00
Masayuki Ishikawa
48b7f9b807 configs/lc823450-xgevk: Update defconfigs
Apply the latest Kconfig to all configurations.
Enable DVFS in audio and rndis. Add telnet character mode to rndis.

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-10 16:16:03 +09:00
Masayuki Ishikawa
5029aa7e8c configs/lc823450-xgevk: Enable DVFS in lc823450_bringup.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-10 16:16:00 +09:00
Masayuki Ishikawa
ea19abd291 configs/lc823450-xgevk: Update README.txt
Add notes on DVFS (Dynamic Voltage and Frequencey Scaling)

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-10 16:15:27 +09:00
Gregory Nutt
eef1276565 configs/stm32f103-minimum: Remove nonsensical #error. 2018-01-09 11:17:01 -06:00
Gregory Nutt
c367a223c5 Update README 2018-01-09 07:20:39 -06:00
Gregory Nutt
7d4451ee86 Squashed commit of the following:
configs/flipnclick-pic32mz:  Switch the serial console to UART4.  Clean up some minor issues the LED options.
    configs/flipnclick-pic32mz:  Add support for two on-board buttons:  T1 and T2.
    configs/flipnclick-pic32mz:  Adds basic board support for the Mikroe Flip&Click PIC32MZ board.  Initial commit is just the configs/pic32mz-starterkit with some name chanages.
2018-01-08 14:21:49 -06:00
Gregory Nutt
6fe1f5a96c Squashed commit of the following:
arch/mips/src/pic32mz:  Commits the basic architecture port for the PIC32MZEF.
    arch/mips/src/pic32mz:  Begin adding PIC32MZEF files. Initial commit are simply PIC32MZEC files with name changes.
    arch/mips/include/pic32mz:  Add support for the PIC32MZEF family.
2018-01-08 10:01:23 -06:00