Gregory Nutt
53b7b41f90
configs/stm32l4r9ai-disco/src/stm32_adc.c: Replace calls to ioctl() in the OS to file_ioctl()
2018-09-15 12:26:31 -06:00
Gregory Nutt
a83b6d990b
Replace callse to ioctl() in the OS to file_ioctl()
2018-09-15 11:47:24 -06:00
Gregory Nutt
a7fd58c4db
Squashed commit of the following:
...
many locations: Change occurences of open() followed by file_detach() to file_open(). Change most non-controversion calls to open() to nx_open().
fs/inode/fs_fileopen.c: Flesh out file_open() with some interim, placeholder logic.
fs/inode/fs_fileopen.c: Add a framework for a file_open() implementation (no real logic in place yet).
fs/vfs/fs_open.c: Add nx_open() which is the same as open() except that it does not create a cancellation point nor does it modify the errno variable.
2018-09-15 10:49:41 -06:00
Gregory Nutt
9546481054
Fix some typographical errors.
2018-09-14 06:55:45 -06:00
Xiang Xiao
c24fdb3ada
configs: Fix build error caused by commit 459d9f2851
2018-09-11 07:24:29 -06:00
Gregory Nutt
39df7ed0c0
mm/iob and sched/semaphore: Work around some issues with the IOB throttle semaphore. It has some odd behaviors that can cause assertions in sem_post(). Also, it seems to get outside of its range occasionally. Need to REVISIT this.
2018-09-10 11:32:09 -06:00
Jakob Haufe
fe4790ec18
Merged in sur5r/nuttx-nuttx/lpc43_eth_pins (pull request #717 )
...
arch/arm/src/lpc43xx: Fix ethernet TX_EN pin definitions
TX_EN on LPC43xx can be routed via P0.1 and PC.4 in both
MII and RMII mode.
Before, P0.1 was hardcoded for MII and PC.4 was hardcoded for RMII.
Also, the definitions used inconsistent naming (TXEN vs. TX_EN).
Approved-by: GregoryN <gnutt@nuttx.org>
2018-09-10 11:56:52 +00:00
Gregory Nutt
891b2646da
configs/: apps/netutils/ping has been removed. Ping support is now provided by apps/system/ping. Remove references to -CONFIG_NETUTILS_PING or change them to CONFIG_SYSTEM_PING with CONFIG_NET_ICMP_SOCKET=y
2018-09-05 14:56:09 -06:00
Gregory Nutt
33e3fb7a70
Correct mispellings of pseudo. Update some comments in signal.h.
2018-09-05 11:56:14 -06:00
Gregory Nutt
e88759e53d
Update a README.
2018-09-04 16:48:34 -06:00
Gregory Nutt
b7726df9f7
tools/Makefile.unix: Was not cleaning up export directory if it was left from a failed export. configs/sama5d4-ek/README.txt: Update.
2018-09-04 13:19:17 -06:00
Goden Freemans
b7bec7f064
configs/b-l475e-iot01a/src: Add timer driver support.
2018-09-04 07:13:03 -06:00
Gregory Nutt
820a6c4e39
configs/b-l475e-iot01a/src: Fix copy paste errors in names: stm32_bringup->stm32l4_bringup. Noted by Freemans Goden.
2018-09-04 06:54:58 -06:00
Gregory Nutt
152ccbd447
configs/olimex-stm32-p407/dhtxx: Fix defconfig file. It was based on an older, incompatible version of NuttX.
2018-09-03 09:42:04 -06:00
Gregory Nutt
a6f9c6215d
Update some comments
2018-09-02 12:34:45 -06:00
Gregory Nutt
ff1e6a66e9
configs/metro-m4: Fix problem with SysTick timer running too fast. This turned out to be a dumb typo in board.h that was providing the wrong CPU frequency to the SysTick setup logic.
2018-09-02 07:31:16 -06:00
Gregory Nutt
9f6383e5fd
configs/metro-m4: Verify the CMCC and enable it by default in the NSH configuration.
2018-09-01 17:03:31 -06:00
Gregory Nutt
f66869b793
configs/metro-m4: Update the NSH configuration.
2018-09-01 15:58:24 -06:00
Gregory Nutt
aee1c39eab
configs/metro-m4: Fix RxD interrupt pin selection. The number SERCOM interrupts do not refer to PAD numbers, but to bit positions in the INFLAG register (very tiny footnote in the data sheet). With with final fix, the basic NSH configuration appears fully functional.
2018-09-01 15:29:22 -06:00
Gregory Nutt
6ada0e10ba
configs/metro-m4: Fix RxD PAD selection. Add a configuration option to use OSCULP32K instead of XOSC32K.
2018-09-01 14:38:19 -06:00
Gregory Nutt
1e4272a046
arch/arm/src/samd5e5: Correct some bad addresses in the memory map.
2018-09-01 11:15:16 -06:00
Gregory Nutt
d88415083f
Update a README.
2018-09-01 09:47:15 -06:00
Gregory Nutt
cecff14e34
Cosmetic updates to some comments
2018-09-01 07:50:10 -06:00
Ouss4
93c23a2c03
configs/olimex-stm32-p407: Add board support for the DHTxx sensor.
2018-09-01 07:36:01 -06:00
Gregory Nutt
438f6a866b
arch/arm/src/samd5e5/: Some failed attempts to get the USART SERCOM initialized. Still worthy changes although they do not solve the problem.
2018-08-31 16:18:10 -06:00
Gregory Nutt
25dce66483
arch/arm/src/samd5e5/: Combine some duplicated GCLK configuration logic
2018-08-31 13:34:34 -06:00
Gregory Nutt
ff906b0bef
arch/arm/src/samd5e5: Updates to clock configuration from initial testing. With these changes the boot up gets through clock configuration but hangs in the low-level USART configuration before completing the boot.
2018-08-31 09:58:53 -06:00
Gregory Nutt
345d088661
arch/arm/src/samd5e5: Updates to clock configuration from initial testing. Still does not boot correctly.
2018-08-31 07:38:52 -06:00
Gregory Nutt
ccab18f4b0
configs/metro-m4/nsh/defconfig: Correct RAM size
2018-08-28 17:52:19 -06:00
ligd
289af9a0fb
configs/boardctl.c: Add support for board_app_finalinitialize()
2018-08-28 15:34:31 -06:00
anchao
5f28be71e5
Kconfig: Move 'option modules' from NSH_FILE_APPS to BUILD_LOADABLE
2018-08-27 07:06:57 -06:00
Xiang Xiao
46e47c8dcf
Squashed commit of the following:
...
drivers/serial/uart_16550.c: Add a configuration, analogous to the STM32 configuration option, to suppress the NuttX standard re-ordering for /dev/ttySN for special case of the 16550 UART.
config/serial: UART 16550: Add CONFIG_SERIAL_UART_ARCH_MMIO option so the a memory mapped device doesn't need to provide uart_getreg() and uart_putreg() implementations.
u16550_txempty() should check UART_LSR_TEMT to avoid some data left in the transmit FIFO
2018-08-26 11:17:33 -06:00
Gregory Nutt
4ca538c4c7
Eliminate a warning found in build testing.
2018-08-25 15:02:21 -06:00
xuanlin
7e63b0b288
sched/wqueue, libs/libc/wqueue, configs: Remove work queue polling delay to simplify the code logic and save the power.
2018-08-25 14:58:07 -06:00
DisruptiveNL
cd2ced4d9a
drivers/sensors and configs/nucleo-l476g: Add support for LSM303AGR and LSM6DSL sensors
2018-08-25 08:19:31 -06:00
Xiang Xiao
e1202d2ed3
Replace all ASSERT with DEBUGASSERT to save the code space
2018-08-24 06:58:30 -06:00
Gregory Nutt
e90f0403a6
binfmt/: Mostly cosmetic changes from review of a previous commit.
2018-08-24 06:10:50 -06:00
anchao
95163b2c59
Squashed commit of the following:
...
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
arch/arm/src/armv7-m: Implement SYSTICK timer driver
Author: anchao <anchao@pinecone.net>
configs/sim/loadable: Add loadable demo for arch sim
sched/init: Restore previously reverted option to mount block device for INIT_FILEPATH case
configs/stm3240g-eval/knxwm: Fix build breakage.
Author: Gregory Nutt <gnutt@nuttx.org>
configs: With recent changes to apps/ all configurations that build applications as modules must now also select CONFIG_APPS_LOADABLE.
Author: anchao <anchao@pinecone.net>
configs/sim/loadable: Add loadable demo for arch sim
Kconfig and tools/Makefile.unix and : add dynamic application loadable support
2018-08-23 11:08:22 -06:00
Xiang Xiao
377eb30129
binfmt: Add binfmt_initialize(). All binary formats are now registered centrally vs. in board-specific logic. This simplifies the usage of the binfmt subsystem.
2018-08-23 09:09:39 -06:00
Xiang Xiao
a465b6f0d4
configs/: Change CONFIG_BOARD_RESET_ON_CRASH to CONFIG_BOARD_RESET_ON_ASSERT, arch/: Implement call to board_reset() if in all implementations of up_assert() when CONFIG_BOARD_RESET_ON_ASSERT=y.
2018-08-22 17:04:39 -06:00
Gregory Nutt
d4e2c7a8f1
Revert "configs/sim/loadable: Add loadable demo for arch sim"
...
This reverts commit 2295a3c4d8
.
2018-08-22 12:26:48 -06:00
Gregory Nutt
a7697c9726
Revert "configs: With recent changes to apps/ all configurations that build appliations as modules must now also select CONFIG_APPS_LOADABLE."
...
This reverts commit e50a2c7fb1
.
2018-08-22 12:26:42 -06:00
Gregory Nutt
e50a2c7fb1
configs: With recent changes to apps/ all configurations that build appliations as modules must now also select CONFIG_APPS_LOADABLE.
2018-08-22 10:22:43 -06:00
anchao
2295a3c4d8
configs/sim/loadable: Add loadable demo for arch sim
2018-08-22 09:35:01 -06:00
Gregory Nutt
e3a1d4213c
configs: Several applications in apps/ were callign elf_initialize() nxflat_initialize(), or builtin_initialize() in violation of the portable POSIX interface. Those calls were removed from the applications and added to the appropriate board initialization with this commit.
2018-08-22 08:30:36 -06:00
Gregory Nutt
10f74ebd3f
configs/: Refresh AVR, AVR32, MIPS/PIC32, and Simulator configurations.
2018-08-19 18:07:10 -06:00
Gregory Nutt
47d87fd857
configs/: Refresh ARM and Xtensa configurations.
2018-08-19 17:48:13 -06:00
Gregory Nutt
92b925ba02
arch/Kconfig: Bring-up features should also depend on CONFIG_DEBUG_FEATURES. I missed a bring-up feature that is specific to the ESP32. I hope that the ESP32 ports still work as intended! It depended on some of these bring-up settings in the header file. I moved the definitions to the ESP32 defconfig files.
2018-08-19 15:38:06 -06:00
Gregory Nutt
cba0ddad0e
arch/: Most some common debug configuration settings out of header files and into Kconfig files where they belong.
2018-08-19 14:55:49 -06:00
Gregory Nutt
c790450ba2
Remove CONFIG_ARCH_CALIBRATION. It is awkward to use and no longer necessary now that we have apps/examples/calib_udelay.
2018-08-19 10:06:36 -06:00