Gregory Nutt
1e5125c5d5
STM32L4: Remove some C++ style comments.
2017-06-08 13:43:47 -06:00
Gregory Nutt
30cbb3059f
Cosmetic: Removing trailing whitespace at the end of lines.
2017-06-08 13:12:08 -06:00
Alan Carvalho de Assis
04eefd7c8b
stm32f103-minimum: dd GPIO device driver example for STM32F103-Minimum. This chang adds the initialization needed by stm32f103-minimum board to support the NuttX GPIO Subsystem.
2017-06-08 11:23:46 -06:00
Nicolas Estibals
fb8cfe857e
configs/stm32f103-minumum SPI: SPIDEV_WIRELESS used when this has changed to SPIDEV_CONTACTLESS
2017-06-08 11:15:08 -06:00
Gregory Nutt
8b907c4c1f
STM32L4: Fix a typo
2017-06-08 11:07:20 -06:00
Gregory Nutt
d99ceec58c
STM32L4: Add STM32L475 pinmap. Initial cut is just the the L476 pinmap with unsupported devices removed.
2017-06-08 10:55:27 -06:00
Gregory Nutt
596fe68854
STM32L4: Add STM32L475 OTGFS header file. Not fully reviewed.
2017-06-08 10:34:26 -06:00
Gregory Nutt
95fcdff1fd
STM32L4: Add STM32L475 RCC definitions/logic.
2017-06-08 10:04:28 -06:00
Gregory Nutt
1a405d2881
STM32L4: Add L475 syscfg register definitions.
2017-06-08 09:07:04 -06:00
Gregory Nutt
66e2247f30
STM32L4: Ad support for the STM32L475 family. Incomplete -- still needs pinmap, rcc, otgfs, syscfg
2017-06-08 08:52:09 -06:00
David Sidrane
090fde15e4
Merged in david_s5/nuttx/upstream_kinetis_warn (pull request #386 )
...
Kinetis:Fixed waning for kinetis_mpudisable
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-07 01:21:11 +00:00
David Sidrane
4854eb1fd7
Kinetis:Fixed waning for kinetis_mpudisable
...
Missing header file added
2017-06-06 15:18:01 -10:00
David Sidrane
1ac07fd9a5
Merged in david_s5/nuttx/upstream_kinetis_usb (pull request #385 )
...
Upstream kinetis usb
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-07 00:51:00 +00:00
David Sidrane
36da2b91c5
Kinetis:USB-FS driver
...
Removed the notion of attached. The khci_usbattach is call early in
the init either in board_initalize or in board_app_initalize. In
either case it is always done prior to the the class register.
Therefore the khci_usbattach call only set a flag, and that
flag is only tested in the class register. The class register will
enable the soft connect pull up.
2017-06-06 14:39:00 -10:00
David Sidrane
182259921f
teensy-3.x:Refreshed config and made board self powered
2017-06-06 14:38:59 -10:00
David Sidrane
04a46d8d35
teensy-3.x:Refreshed config
2017-06-06 14:38:59 -10:00
David Sidrane
ad0cbd3f83
teensy-3.x:Removed call to khci_usbattach
...
The call is not need by the driver if CONFIG_USBDEV_BUSPOWERED=y
The class register will enable the soft connect pull up. The
khci_usbattach call only set a flag, and that flag is only tested
in the class register. On a USB powered device if we are running we
are attached.
2017-06-06 14:38:59 -10:00
David Sidrane
cb62675b5e
Kinetis:sim ensure isolation of clock dividers for 0 value case
...
This fixes a bug were a SoC does not have a clockdivN register
and passes a 0 for the init value. This prevents overflow of
the 0 decremented to -1 (0xffffffff) spilling over to other
clockdivN feilds.
2017-06-06 14:38:59 -10:00
David Sidrane
7581cad592
teensy-3.x:Refreshed config
2017-06-06 14:38:59 -10:00
David Sidrane
5b07459af1
Freedom-k66f:Refreshed config
2017-06-06 14:38:59 -10:00
David Sidrane
60c552ae0f
Kinetis:usbdev clean up ensuring proper use of HW.
...
Remove magic numbers from code, documented the use of
undocumented bits.
Remove comments and code that were not appropriate for this
hardware.
Removed ifdef that's that were always compiled and removed code
blocks that were never compiled.
Ensure proper access order to hardware.
Per the reference manual: disable endpoints prior to configuring buffer
descriptor, then enable endpoints
Reorganize interrupt processing order to offload data after processing
errors.
Reorganize initialization so that there is a clear initialization phase,
reset phase for both the hardware and software structures.
By breaking the initialization into smaller pieces, the reset interrupt
only resets the resources within the controller that should be reset.
Rework suspend and resume logic so they perform properly
Made attach and detach functions optional. As they do not make sense for
a bus powered device.
Ensured the calls to up_usbinitalize up_usbuninitalize do not violate the
USB spec.
2017-06-06 14:38:59 -10:00
David Sidrane
3f4d096707
Kinetis:teensy-3.x Define USBOTG-FS Read from FLASH access in board config
...
Allow the board config to define the USBOTG-FS to have Read access to
FLASH.
2017-06-06 14:38:59 -10:00
David Sidrane
c1a3208f83
Kinetis:Disable MPU when not in protected mode.
...
The hardware reset state of the the MPU precludes any bus
masters other then DMA access to memory. Unfortunately
USB and SDHC have there own DMA and will not have access to
memory in the default reset state.
This change disabled the MPU if present on system startup.
2017-06-06 14:38:58 -10:00
Gregory Nutt
670d6a1e8d
MTD FLASH drivers: The byte write method of several drivers had a cloned error: It was not locking the bus while performing byte write operations.
2017-06-06 16:10:41 -06:00
Gregory Nutt
93625e80a7
Typos in documents + more acronyms.
2017-06-06 15:04:55 -06:00
Gregory Nutt
942d6d1c14
Add a few things to the acronym list.
2017-06-06 08:25:34 -06:00
Juha Niskanen
e577072790
power: battery_charger: add ioctl for charging input current
2017-06-06 06:56:50 -06:00
Juha Niskanen
9120a78ee3
Documentation: add hexdump args, fix ln cmd, STM32L status, typos
2017-06-06 06:41:17 -06:00
Gregory Nutt
ac93d4bda9
Update Documentation in preparation for 7.21 release.
2017-06-05 15:12:37 -06:00
Gregory Nutt
a46a748bfa
Update ReleaseNotes in preparation for NuttX-7.21 release.
2017-06-05 13:22:11 -06:00
Gregory Nutt
5aa23da717
Update ChangeLog in preparation for NuttX-7.21 release.
2017-06-04 14:23:36 -06:00
Daniel Agar
0557b0746b
Merged in dagar/nuttx/extra_semi (pull request #384 )
...
libfflush remove extra semicolon
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-04 17:04:49 +00:00
Daniel Agar
30ab574060
libfflush remove extra semicolon
2017-06-04 12:20:48 -04:00
Gregory Nutt
4526cd665e
Correct typo in header file iempotence. Noted as part of Issue #53 by Goran Mekić
2017-06-03 06:43:14 -06:00
Gregory Nutt
b27ccd1bc6
Makefiles: Remove some unnecessary dependencies
2017-06-02 17:09:08 -06:00
Gregory Nutt
6c3a3c305f
Comment out most of 430060e92e
. Clean-up some dependencies in top-level Makefile
2017-06-02 16:46:16 -06:00
Gregory Nutt
c584d27c3c
Revert "Build system: Hook tools/initconfig into top-level Makefiles."
...
This reverts commit 430060e92e
.
That commit has some unexpected side-effects
2017-06-02 16:14:27 -06:00
Gregory Nutt
2c903d5c7a
Fix spelling in printf output
2017-06-02 16:12:21 -06:00
Gregory Nutt
d1eaac7ed7
Build system: Suppress output of some command lines.
2017-06-02 13:16:29 -06:00
Gregory Nutt
430060e92e
Build system: Hook tools/initconfig into top-level Makefiles.
2017-06-02 13:06:09 -06:00
Gregory Nutt
efbd035b56
Cosmetic changes to comments
2017-06-02 11:24:19 -06:00
Gregory Nutt
624bd0b9e9
tools/: Add initialconfig.c so that perhaps in the future we will be able to use this to generate a new configuration from scratch (rather than having to derive new configurations from existing configurations)
2017-06-02 10:17:30 -06:00
Gregory Nutt
ff2b54a5e0
nucleo-f4x1re User LEDS: Issue #51 reports compilation problems with stm32_userled.c. Reported by Gappi92.
2017-06-01 06:44:24 -06:00
Gregory Nutt
4d46979a6f
Tiva SSI: Resolves issue 52 'Copy-Paste error in tiva_ssibus_initialize()' submitted by Aleksandr Kazantsev.
2017-06-01 06:38:47 -06:00
Gregory Nutt
0fe9c2f3f9
pthread mutex: Remove bogus DEBUGASSERT. Problem noted by Jussi Kivilinna
2017-06-01 06:28:23 -06:00
Juha Niskanen
06edfae133
mtd/config: Add some error checks for I/O errors
2017-06-01 06:22:27 -06:00
Juha Niskanen
32610b53f4
drivers/{sensors,usbmisc}: Fix uninitialized I2C frequency
2017-06-01 06:19:54 -06:00
Juha Niskanen
ad6515563b
STM32L4 RTC: store RTC MAGIC to backup reg, not to address zero
2017-06-01 06:15:28 -06:00
Gregory Nutt
f5e6afe9cd
Makefile.*: Create a Make.defs file if one does not exist
2017-05-31 15:39:18 -06:00
Gregory Nutt
bb02c0c92d
Makefiles.*: It should be possible to run 'make menuconfig' with no .config and no Make.defs file. This change removes the dependency on Make.defs, but does not solve the problem of the missing .config file. Without a .config file, it is not currently possible for the Makefile.* to correctly setup up the symbolic links to directories.
2017-05-31 15:17:28 -06:00