Xiang Xiao
c43e4673ab
sched/Kconfig, libs/libc/dllfcn/Kconfig, libs/libc/modlib/Kconfig: Refine ELF related configurations.
2019-01-26 11:50:09 -06:00
anchao
88efb84847
libs/libc/dllfcn, sched/init: Add LD_LIBRARY_PATH environment variable support.
2019-01-26 11:47:14 -06:00
Xiang Xiao
9e2238f6cd
libs/libc/dllfcn: Implement dlerror using strerror.
2019-01-26 11:39:05 -06:00
Xiang Xiao
b7f958a02e
binfmt/, binfmt/libelf: binfmt/elf: Call umm_initialize as soon as possible otherwise elf_loadctors/elf_loaddtors will fail to allocate memory.
2019-01-26 11:36:38 -06:00
Xiang Xiao
0edcd6b85e
binfmt/libelf, libs/libc/modlib: Optimize elf load speed: (1) Don't zero out memory, (2) Reduce the initial buffer size to 32 bytes.
2019-01-26 11:34:40 -06:00
Xiang Xiao
264a7164bc
binfmt/: If there is an address environment (CONFIG_ARCH_ADDRENV), binfmt/elf doesn't need to free ctor/dtor alloc since freeing the address environment releases the heap automatically.
2019-01-26 11:29:08 -06:00
Xiang Xiao
38ffb98f1b
Kconfig files, binfmt/libelf, libs/libc/machin, libs/libxx: Correct libcxx exception handling by introducing the generic config(CXX_EXCEPTION and CXX_LIBSUPCXX)
2019-01-26 11:23:31 -06:00
Xiang Xiao
095e28d45e
binfmt/, binfmt/libelf/, include/nuttx, libs/libc/machine, libs/libc/modlib, and others: Move elf related arch function to include/nuttx/elf.h because the implementation is located in libs/libc/machine and in order to avoid the conflict with the 3rd party libraries and clean up the file inclusion: (1) Remove redundant elf32.h, (2) Remove nuttx/binfmt/elf.h in libs/libc/machine, (2) Remove nuttx/binfmt/elf.h in modlib, and (4) Rmove nuttx/module.h in modlib.
2019-01-26 11:18:45 -06:00
Xiang Xiao
763ba51b78
arch/xxx/src/xxx/up_assert.c: Dump CPU0 IDLE stack only when PID equals 0. IDLE threads of other CPUs do not need this special check
2019-01-26 10:59:23 -06:00
Xiang Xiao
b6606e61b4
mm/iob/iob_copyin.c: iob_copyin() should wait for each buffer and adjust the return value of iob_copyin_internal return to simplify the code
2019-01-26 10:48:47 -06:00
Xiang Xiao
2671709e62
mm/umm_heap: Ensure all user allocation try sbrk before fail
2019-01-26 10:42:36 -06:00
Xiang Xiao
3047ef80dc
mm/mm_gran/mm_graninfo.c: Fix the wrong data in g_1bit_info and make the internal function static
2019-01-26 10:30:50 -06:00
Xiang Xiao
7d813fb6d3
mm/mm_gran/mm_pgalloc.c: mm/pgalloc: shouldn't just allocate one page always.
2019-01-26 10:21:58 -06:00
Xiang Xiao
5a37ac25a9
mm/shm/shm_initialize.c: Remove some unused, #ifdef'ed out code.
2019-01-26 10:17:21 -06:00
Xiang Xiao
fb4ab391f6
mm/shm/shmget.c: Should call shm_extend to allocate the physical memory
2019-01-26 10:14:42 -06:00
Xiang Xiao
b5e2754d2d
mm/shm: Convert bytes to pages by MM_NPAGES instead of MM_PGALIGNUP
2019-01-26 10:11:06 -06:00
Ken Pettit
b507fe9606
drivers/sensors/ina3221.h: Fix errors in register addresses and bitfield values.
2019-01-26 09:59:06 -06:00
Xiang Xiao
1ecc33b7db
mm/iob: Miscellaneous changes and fixes from code review.
2019-01-26 09:56:27 -06:00
Xiang Xiao
0354702525
mm/iob/iob_dump.c: Format the whole line before log to avoid the multiple timestamp prefix in each line
2019-01-26 09:44:58 -06:00
Xiang Xiao
ee28417246
mm/iob/iob_notifier.c: Don't check iob_navail in iob_notifier_setup to avoid a potential race condition.
2019-01-26 09:43:54 -06:00
Ken Pettit
427f8c743c
drivers/sensors/ina3221.c: Fix errors in regiser field address. Signed value was losing its signed-ness due to use of unsigned type for register.
2019-01-26 09:33:58 -06:00
Xiang Xiao
4721381d1c
mm/iob/iob_alloc.c: iob_allocwait should decrease semcount manually.
2019-01-26 09:24:12 -06:00
Xiang Xiao
9cef84b6ad
mm/kmm_heap/kmm_kernel.c: Remove unused, duplicated kmm_heapmember().
2019-01-26 08:48:02 -06:00
Xiang Xiao
bda6d7f065
arch/arm/include/syscall.h: Add missing inclusion of arch/armv7-r/syscall.h for CortexR.
2019-01-26 07:43:31 -06:00
Xiang Xiao
9f408e9937
arch/arm/src/include/xxx/syscall.h: Align semi-hosting call style with other syscalls
2019-01-26 07:40:47 -06:00
ligd
5a6108c172
arch/xxx/src/common/up_initialize.c: Move up_pminitialize() after timer_initialize()
2019-01-26 07:32:14 -06:00
Xiang Xiao
e2544b7ddf
mm/umm_heap/umm_sbrk.c: Pass ARCH_HEAP_VEND as maxbreak argument
2019-01-26 07:29:23 -06:00
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