Commit Graph

33834 Commits

Author SHA1 Message Date
Xiang Xiao
81bef6cccf arch/Kconfig and arm/src/armv7-m/Kconfig: ARCH_HIPRI_INTERRUPT shouldn't select ARMV7M_USEBASEPRI. First because that is a violation of the layered nature of the Kconfig architecture, but also because then Kconfig will generated errors when high priority interrupts are used with other architectures. 2019-01-26 07:21:18 -06:00
Xiang Xiao
e15670a191 mm/mm_heap/mm_sbrk.c: Fix backward conditional test. Should call mm_initialize() when brkaddr equal zero 2019-01-26 07:07:42 -06:00
Xiang Xiao
2e70eef767 arch/arm/include/armv-7m/irq.h and armv6-m/irq.h: Remove redundant conditioning on CONFIG_BUILD_PROTECTED 2019-01-26 07:04:15 -06:00
Xiang Xiao
9343451bea arch/xxx/include/: watchdog.h and arm-elf.h because they are empty. The arm-elf header file was never used; the empty watchdog.h header file was used in only one place. 2019-01-26 07:01:45 -06:00
Gregory Nutt
d35c7d95f1 arch/arm/src/tiva/cc13xx/cc13x2_v1_trim.c and cc13x2_cc26x2_v1_rom.c: Review and modified for coding style. Now pass tools/nxstyle wihout complaint. 2019-01-25 14:07:54 -06:00
Pavel Pisa
f9ac7a22ca arch/arm/src/lpc17xx/lpc17_can.c: The name can_txready clashes with Nuttx CAN core global function. LPC178x has only single LPC17_SYSCON_PCLKSEL with only single divisor. 2019-01-25 08:24:09 -06:00
Gregory Nutt
df64811269 up_initialize(): As noted by Roland Takacs in Bitbucket issue 141, there is a compilation error for STM32 if CONFIG_NET and CONFIG_NETDEV_LATEINIT are selected. That was due in part to commit 19e16cb which extended up_netinitialize() with a !defined(CONFIG_NETDEV_LATEINIT) guard but did not add the guard to concrete implementations. I say "in part" because I don't think that the original intent of commit 19e16cb was to enable an alternative initialization of MCU internal Ethernet support but rather to enable support of external Ethernet devices that may have dependencies on, for example, SPI. However, this is still a proper fix to avoid the compilation error that can occur with this combination of configuration options. 2019-01-25 07:21:03 -06:00
David Sidrane
ffd37a0175 fs/vfs/fs_open.c: Fix not returning failure for block_proxy() call. 2019-01-25 06:23:34 -06:00
Gregory Nutt
7bbc7f568a Fix all naming resulting from moving move apps/examples/cxxtest to apps/testing/cxx 2019-01-24 15:13:22 -06:00
Gregory Nutt
8e55c1324a Fix all naming resulting from moving move all file system tests from apps/examples/ to apps/testing/ (fstest, nxffs, smart, smart_test). 2019-01-24 14:55:44 -06:00
Juha Niskanen (Haltian)
079e9161f1 arch/arm/src/stm32l4/stm32l4_lse.c: Ports Jussi Kivilinna's recent STM32F7 LSE change to STM32L4. 2019-01-24 06:58:45 -06:00
David Sidrane
754b485ce9 tools/.gitignore: Ignore new tool binaries. 2019-01-24 06:58:26 -06:00
Gregory Nutt
99c021e3a2 configs/: Changes to various defconfig files and two README's due to the movement of the SMP test from apps/examples/smp to apps/testing/smp. 2019-01-23 14:39:10 -06:00
Gregory Nutt
d0b2cf34f9 arch/arm/src/tiva/hardware: Add CC13x0 DDI0 OSC header file. arch/arm/src/tiva/cc13xx: Fix miscellaneous compilation issues. 2019-01-23 13:30:18 -06:00
raiden00pl
f841175540 Merged in raiden00/nuttx_pe (pull request #822)
Improvements for STM32 PWM

arch/arm/src/stm32/stm32_pwm: fix polarity and IDLE state configuration for advanced timer PWM

include/dsp.h: raise error if math.h not present

Approved-by: GregoryN <gnutt@nuttx.org>
2019-01-23 17:52:27 +00:00
Gregory Nutt
f546801fb3 Squashed commit of the following:
arch/arm/src/tiva/hardware:  Add CC13xx SMPH and AUX SMPH header files.  Still need DDI0 OSC header file for CC13x0 compilation.

    arch/arm/src/tiva/cc13xx:  A few changes toward getting the launchxl-cc1310/nsh configuration to build
2019-01-23 11:48:50 -06:00
Gregory Nutt
6d2b832ccc arch/arm/src/tiva/cc13xx: Fixes to get a clean build of the configs/launchxl-cc1312r1 configuration. Still untested. 2019-01-23 09:04:19 -06:00
Gregory Nutt
69b28ef4ba crypto/aes.c: When we upgraded our code to NuttX 7.28 crypto/aes.c would no longer compile. Attached is a patch which fixes the compilation errors. 2019-01-23 07:25:44 -06:00
Alan Carvalho de Assis
795e880ff6 arch/arm/src/samd2l2/sam_serial.c: Add missing RS-485 DIR pin write to sam_serial.c 2019-01-22 17:37:26 -06:00
Gregory Nutt
ff00fc3a92 configs/launchXL-CC1310: Update some README files and various comments. 2019-01-22 17:36:14 -06:00
Gregory Nutt
f41b9fead9 arch/arm/src/tiva/cc13xx: The trim files from the TI DriverLib now compile successfully. This merge also brings in the ROM files from the TI DriverLib which do NOT year compile correctly. This is still a work in progress. There merge also adds unverified support for the LaunchXL-CC1310.
Squashed commit of the following:

    confgs/launchxl-cc1310:  Add board support for the LaunchXL-CC1310.  This is a work in progress and does not yet build error free.

     arch/arm/src/tiva/cc13xx: cc13x0_trim.c now compiles; Make xxx_rom.h header files conform a little more closely to the NuttX coding style.

    arch/arm/src/tiva/cc13xx:  CC13x2 (V1 and V2) rom.c files now build with no errors or warnings. Still have to work through the CC13x0 version.

    arch/arm/src/tiva/hardware:  Add CC13x0/CC13x2_CC26x2 AON BATMON register definition header file.

    arch/arm/src/tiva/cc13xx: A little more progress converting TI DriverLib ROM code to NuttX coding style.  Lots of possibilities for breakage here!

    arch/arm/src/tiva/cc13xx:  Remove functions from cc13x._rom.c that are defined from ROM access in cc13x._rom.h; Add prototypes in cc13x._rom.h for functions in cc13x._rom.c that are not defined in cc13x._rom.h.

    arch/arm/src/tiva/cc13xx:  Remove some dangling whitespace at the end of lines.

    arch/arm/src/tiva/cc13xx:  Second (and final) round of name changes to get ROM function-like defines consistent with NuttX coding standard

    arch/arm/src/tiva/cc13xx:  Fix a few errors in last big name conversion.

    arch/arm/src/tiva/cc13xx:  First round of name changes to get ROM function-like defines consistent with NuttX coding standard

    arch/arm/src/tiva/cc13xx:  Remove ROM_ prefix from function-like defines.
2019-01-22 15:21:58 -06:00
Gregory Nutt
4c232c5ade Update README 2019-01-22 14:44:57 -06:00
Gregory Nutt
a8da0e977a Addition of trivial comment 2019-01-22 13:04:02 -06:00
Gregory Nutt
b4373e21e7 tools/convert-comments.c: Fix an error in handling of a blank C++ comment before a comment block. For example, this testfile:
1
2  //
3  // Multi-line comment
4  // The second line
5

Was generating this output:

1
2
3   * Multi-line comment
4   * The second line
5   */
6

Now correctly generates:

1
2  /* Multi-line comment
3   * The second line
4   */
5
2019-01-22 10:45:06 -06:00
Jussi Kivilinna
434cad4d17 arch/arm/src/stm32f7/stm32_lse.c: Add configuration of LSE oscillator drive capability 2019-01-22 06:37:02 -06:00
Gregory Nutt
1b53b9eec1 Clarification of new TODO list issue. 2019-01-21 09:29:08 -06:00
Gregory Nutt
a5682a6335 Update TODO list 2019-01-21 07:37:33 -06:00
Gregory Nutt
aa99e2d6da Squashed commit of the following:
arch/arm/src/tiva/hardware:  Completes the CC13x2 AUX SYSIF header file.

    arch/arm/src/tiva/hardware:  Progress on the CC13x2 AUX SYSIF header file.  Almost complete.

    arch/arm/src/tiva/hardware:  Port needs aux_sysif.h header file.

    arch/arm/src/tiva/cc13xx/cc13x0_rom.h:  Fix a typo

    arch/arm/src/tiva/cc13xx:  More changes to TI DriverLib ROM header files for NuttX coding standard.

    arch/arm/src/tiva/cc13xx:  Convert some (but not all) TI DriverLib ROM function names to NuttX coding standard.  More to be done.

    arm/src/tiva/cc13xx:  ROM header files: missed a couple of conversions of sructure field names to lower case (vs CamelCase).

    arm/src/tiva/cc13xx:  ROM header files: type'ed names must be lower case per coding standard (not upper case); structure field names must be lower case per coding standard (not CamelCase).

     arch/arm/src/tiva/cc13xx:  Trim logic needs to include matching ROM DriverLib interface header file.

    arch/arm/src/tiva/cc13xx:  Add ROM DriverLib header files.  Do not yet fully conform to the NuttX coding style.
2019-01-20 17:59:22 -06:00
Gregory Nutt
3a13d4a5f5 include/nuttx/lcd/edid.h: Add extended EDID block IDs 2019-01-20 15:07:57 -06:00
Alan Carvalho de Assis
a34c9733bc arch/arm/src/samd2l2: Add RS485 support to SAMD2L2 serial 2019-01-20 12:43:42 -06:00
Gregory Nutt
bb2391358c Cosmetic changes for coding style for last PR 2019-01-20 07:38:55 -06:00
raiden00pl
a7d4abd8d2 Merged in raiden00/nuttx_lora (pull request #821)
Initial support for sx127x radio

Approved-by: GregoryN <gnutt@nuttx.org>
2019-01-20 13:03:11 +00:00
Gregory Nutt
25f6586c92 Update some input parameter descriptions. 2019-01-19 14:15:23 -06:00
Gregory Nutt
c8efd2b1e3 arch/arm/src/stm32/chip: Don't try including stm32l_gpio.h from within chip/*.h header files. Not only is bad style for a layered inclusion system, but it doesn't always work. 2019-01-19 13:22:04 -06:00
Gregory Nutt
b35a140636 About the NuttX 'About' document in preparation for the 7.28 release. 2019-01-19 10:31:06 -06:00
Daniel Agar
cc8449e903 Merged in dagar/nuttx/pr-kinetic_minor_fix (pull request #820)
arch/arm/include/kinetis/kinetis_sim.h remove undef extra character

Approved-by: GregoryN <gnutt@nuttx.org>
2019-01-19 15:39:46 +00:00
Gregory Nutt
59924152c3 Update ReleaseNotes in preparation for the 7.28 release. 2019-01-19 08:34:03 -06:00
Masayuki Ishikawa
69652bf9f2 Merged in masayuki2009/nuttx.nuttx/fix_telnet_driver (pull request #819)
drivers/net/telnet.c: Add config to avoid a garbage character when not supported.

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: GregoryN <gnutt@nuttx.org>
2019-01-19 12:43:21 +00:00
Gregory Nutt
bf2014cc67 Update ChangeLog in preparation for the nuttx-7.28 release. 2019-01-18 10:35:29 -06:00
Gregory Nutt
da582e4ef6 arch/arm/src/tiva: Remove TIVA_CCFG_BASE_DEFAULT which appears to be an odd mechanism to overrid the ROM DriverLib with an in-FLASH DriverLib. 2019-01-17 17:47:37 -06:00
Gregory Nutt
9a25e86416 arch/arm/src/tiva/hardware: Add CC13x0 AUX WUC register definition header file. 2019-01-17 07:20:35 -06:00
David Sidrane
64921a9c57 arch/arm/src/imxrt/imxrt_usdhc.c: Eliminate a warning 2019-01-16 18:15:01 -06:00
David Sidrane
2f1678b7be arch/arm/src/imxrt/imxrt_periphclks.h: Ensure C++ compatibility. 2019-01-16 18:12:56 -06:00
David Sidrane
8b9014bc1d arch/arm/src/imxrt/chip/imxrt_adc.h: Fix a typo 2019-01-16 18:11:25 -06:00
David Sidrane
026feadbe3 arch/arm/src/imxrt/imxrt_lpi2c.c: I2C Reset rework 2019-01-16 18:10:13 -06:00
David Sidrane
dbd9172e57 arch/arm/src/imxrt/Make.defs: Include up_systemreset and up_stackcheck.c 2019-01-16 18:08:24 -06:00
David Sidrane
fe4ee29833 arch/arm/src/imxrt/imxrt_lpspi.c: Removed unused clock, that borked he build 2019-01-16 18:06:28 -06:00
Gregory Nutt
fee4432584 arch/arm/src/imxrt/imxrt_usdhc.c: Remove daisy selection hack 2019-01-16 18:04:51 -06:00
David Sidrane
d6fa328d27 arch/arm/src/imxrt: ADD GPIO Support Input daisy selection 2019-01-16 18:03:10 -06:00
David Sidrane
042f057463 arch/arm/src/imxrt/imxrt_usdhc.c and related board.h files: Use single define for USB pin definitions. 2019-01-16 17:49:12 -06:00