Gregory Nutt
c9ca9ced72
arch/arm/src/tiva/hardware: Move UART header files into sub-directories to make space for the SimpleLink UART header files.
2018-12-04 07:44:24 -06:00
Gregory Nutt
7d8f6625e3
arch/arm/src/tiva: Use naming sysctrl vs syscontrol be better match TI documentation. Combine hardware/cc13x2_cc26x2_v* directories.
2018-12-04 07:32:53 -06:00
Juha Paalijärvi
1afe4676e2
arch/arm/src/stm32f0/stm32f0_clockconfig.c: Fixes the problem in GPIO port clocks. Only port A clock was enabled although the comment states otherwise.
2018-12-04 06:50:32 -06:00
David Sidrane
5433ec589b
fs/driver/fs_blockpartition.c: Fix void pointer warning.
...
libs/libc/unistd/lib_daemon.c: Fix compiler error is streams disabled.
sched/irq/irq_procfs.c: Fix warning
sched/task/task_vfork.c: Fix void * math warning
2018-12-03 17:54:21 -06:00
Dave Marples
d0cda60442
In the current implementation we only use very high priority interrupts (levels 0, 0x10 and 0x20 in CORTEX-M speak) but that means there are loads of lower priority ones that are effectively unused. I have *not* changed the semantics of these levels but have 'shifted' them to be based around the midpoint of the available interrupts (0x80) rather than at the top end....that allows for interrupts to be defined above (or, indeed, below) them as needed by the application. This should have no functional effect on existing code but adds in a clean capability to define higher priority interrupts.
2018-12-03 17:41:59 -06:00
Gregory Nutt
8aeeb1d8d3
arch/arm/src/stm32/stm32_adc.c: Eliminate a new warning found in build testing
2018-12-03 14:49:49 -06:00
Gregory Nutt
a641cb2ad8
configs/launchxl-cc1312r1/: Add a configuration for the LAUNCHXL-CC1312R1 board. This is a very stripped down configuration. It was needed to support verifiction of the CC13xx configuration logic and will be needed to support completion of the CC13xx port.
2018-12-03 13:25:31 -06:00
Gregory Nutt
4a501de6b1
tools/detab.c: Fix a strange (but functional) conditional test noted by Alan Carvalho de Assis.
2018-12-03 13:25:14 -06:00
Gregory Nutt
8983f1c82e
STM32F7, STM32H7, and STM32L4: Port Dave Marples STM32 fix to other STM32 spi drivers
2018-12-03 13:24:42 -06:00
Gregory Nutt
ee058683c6
arch/arm/src/tiva/hardware: Bring in memory map header files for the CC13x0 and CC13x2.
2018-12-03 09:10:05 -06:00
Gregory Nutt
fc744fb9b1
tools/: Add detab.c which will convert all tabs in a file to spaces. Add lowhex.c that will convert hexadecimal constants in a file to use lower case representation.
2018-12-03 08:45:05 -06:00
Gregory Nutt
ffc7dbf36b
arch/arm/include/tiva: Add support for cc13xx interrupts. arch/arm/src/armv7-m: Add FPB header file.
2018-12-03 07:26:02 -06:00
Dave Marples
ff508f9b12
arch/arm/src/stm32/stm32_spi.c: Correct some compile problems introduced with 8328539534
.
2018-12-03 07:15:40 -06:00
Mateusz Szafoni
db799e857c
Merged in raiden00/nuttx_pe (pull request #772 )
...
arch/arm/src/stm32/stm32_adc.c: refactor adc_reset. It should be easier to maintain this code if it's divided into smaller functions
Approved-by: GregoryN <gnutt@nuttx.org>
2018-12-02 18:34:02 +00:00
Lwazi Dube
b7fa409fc4
include/nuttx/wireless/bluetooth adn include/nuttx/wireless/bluetooth: Add SIOCBTCONNECT and SIOCBTDISCONNECT ioctl commands
2018-12-02 10:57:51 -06:00
Gregory Nutt
ab974488d5
arch/arm/src/tiva/hardware: Remove annoying warnings 'No flash dimensions defined for selected chip.'
2018-12-02 07:58:12 -06:00
Dave Marples
8328539534
drivers/spi/Kconfig and include/nuttx/spi/spi.h: Extend the HW features supported by SPI. It now supports a deffered DMA trigger hardware configuration. arch/arm/src/stm32/stm32_spi.c: Implements the new deferred DMA trigger feature.
2018-12-02 07:30:55 -06:00
Mateusz Szafoni
d2b98cc150
Merged in raiden00/nuttx_pe (pull request #771 )
...
Use STM32 DMA IP core version instead of chip family names and some minor improvements
arch/arm/src/stm32/chip/stm32_adc.h: raise error if two IP cores seleceted
libs/libdsp/Kconfig: cosmetic change
arch/arm/src/stm32/Kconfig: hide TIMER menu, HRTIM menu and USB Host debug menu if peripherals not enabled
configs/stm32f429i-disco/highpri/defconfig: fix configuration warning
Approved-by: GregoryN <gnutt@nuttx.org>
2018-12-02 11:49:25 +00:00
Mateusz Szafoni
7c77eb738e
Merged in raiden00/nuttx_pe (pull request #770 )
...
configs/nucleo-f207zg, configs/nucleo-f103rb: add ADC and PWM examples; arch/arm/src/stm32_adc.c: there is no DMA CFG bit for the basic IPv1 ADC
Approved-by: GregoryN <gnutt@nuttx.org>
2018-12-02 01:24:36 +00:00
Gregory Nutt
e0608386f3
tools/convert-comments.c: Add a tool to convert C++-style comments to C89 C-style comments.
2018-12-01 19:15:54 -06:00
Gregory Nutt
cacbe062ad
Fix a new warning found in build tesing.
2018-12-01 17:27:32 -06:00
Gregory Nutt
f179e36934
Fix an error found in build testing.
2018-12-01 12:30:59 -06:00
Gregory Nutt
f0e6e06a37
Squashed commit of the following:
...
arch/arm/src/tiva/hardwar: Move LM3S and LM4F include files to hardware/lm/ sub-directory. Move all TM4C header files files to hardware/tm4c/ sub-directory.
arch/arm: Add basic configuration/build support for CC13xx parts. Conditioned on EXPERIMENTAL.
2018-12-01 12:22:05 -06:00
Gregory Nutt
e7e54ccbf7
Re-arranging some Tiva directories to simply forthcoming SimpleLink port
...
Squashed commit of the following:
arch/arm/src/tiva/Make.defs: Trivial change to conditional VPATH.
arch/arm/src/tiva: Move LM3S and LM4F source files to lm/ sub-directory. Move all TM4C source files to tm4c sub-directory.
arch/arm/src/tiva and configs/: Change include patch from chip/ to hardware/ in all Tiva files includes.
arch/tmp/src: Rename chip/ subdirectory to hardware/. This is a better name since it does not conflict with other directory names and, well, we are going to be change a lot of the Tiva directory structure in the next few commits.
2018-12-01 09:29:47 -06:00
Gregory Nutt
1e299dd5fe
Update README.
2018-12-01 06:40:50 -06:00
Gregory Nutt
3be195079e
configs/nucleo-f207zg/adc/defconfig: Remove empty defconfig file from last PR.
2018-12-01 06:24:37 -06:00
Mateusz Szafoni
0a288ac3db
Merged in raiden00/nuttx_pe (pull request #769 )
...
configs: add support for nucleo-f103rb, nucleo-f207zg and nucleo-l152re
Approved-by: GregoryN <gnutt@nuttx.org>
2018-12-01 12:22:05 +00:00
Alan Carvalho de Assis
3271049a9d
arch/arm/src/armv7-m/itm.h: Fix missing space causing macro issues
2018-12-01 06:12:29 -06:00
Alan Carvalho de Assis
bc9094ad27
drivers/lcd/st7032.c: Fix ST7032 scroll issue
2018-11-30 18:42:24 -06:00
Gregory Nutt
f66fb3ac63
configs/stm32f4discovery: If the Critical Section Monitor, modify the ITM_LAR register to assure that the DWT cycle counter is enabled. Suggested by Dave Marples.
2018-11-30 17:57:26 -06:00
Alan Carvalho de Assis
3a2a423214
drivers/lcd/Kconfig and several other places: Rename CONFIG_LCD_CONSOLE to CONFIG_SLCD_CONSOLE. The original name CONFIG_LCD_CONSOLE is incorrect because it runs on SLCD display. This patch fix it and update its dependences
2018-11-30 17:36:13 -06:00
Gregory Nutt
05b6a19a81
arch/arm/src/max326xx/max32660/max32660_spim.c: Add support for low-level register I/O debug output. Fix some backard clrbit/setbit arguments to the modifyreg function. SPI transfer still stalls.
2018-11-30 16:44:48 -06:00
Gregory Nutt
67f196fcf8
configs/max32660-evsys: Added support for an SPI-based micro-SD card. Does not yet work (SPI hangs with no data transferred).
2018-11-30 15:12:38 -06:00
Gregory Nutt
86a67fa3e8
Squashed commit of the following:
...
arch/arm/src/max326xx/max32660/max32660_spim.c: SPI0 master mode support is complete (sans DMA and completely untested). configs/max32660-evsys/src: Add framework for SPI support.
arch/arm/src/max326xx/max32660/max32660_spim.c: Fleshes out some of the data transfer logic. More needs to be done. Also removes leveraged DMA support. It will be a long time (if ever) before DMA is supported. No point in dragging all of that bogus logic around.
2018-11-30 12:48:46 -06:00
Gregory Nutt
26712ef060
arch/mips/src/mips32/Kconfig: Allow Penguino for windows for the Windows Ubuntu platform as well.
2018-11-30 06:57:05 -06:00
Gregory Nutt
3b22d13493
sched/: Add debug assertions before each call to up_block_task() to assure that there is no attempt to block an IDLE task.
2018-11-30 06:54:15 -06:00
Xiang Xiao
af96756995
sched/sched/sched_gettcb.c: Fix break in building introduced in a recent commit.
2018-11-30 06:40:51 -06:00
Lwazi Dube
a57373ac22
include/nuttx/wireless/bluetooth/bt_gatt.h: Fix struct name.
2018-11-30 06:34:18 -06:00
Lwazi Dube
aee64102be
wireless/bluetooth/bt_hcicore.c: Add second RX work function
2018-11-30 06:34:18 -06:00
Mateusz Szafoni
83d297038a
Merged in raiden00/nuttx_pe (pull request #768 )
...
configs/nucleo-f334r8, configs/stm32f334-disco: cosmetics
Approved-by: GregoryN <gnutt@nuttx.org>
2018-11-30 12:09:00 +00:00
Gregory Nutt
6d285cfed1
arch/arm/src/max326xx/max32660: Fix some confusion. SPI0 and SPI1 are not the same type of peripheral. SPI0 is SPI17Y; SPI1 is SPIMMS. Add basic SPI0 interrupt handling logic.
2018-11-29 18:32:40 -06:00
Gregory Nutt
9203815e4c
arch/arm/src/max326xx/max32660/max32660_spim.c: Add a little more SPI logic. Still not complete.
2018-11-29 15:38:13 -06:00
Gregory Nutt
454d59b049
sched/sched_foreach.c: sched_foreach() should not have to hold the critical section over the entire traversal. It should be acceptable to simply only the critical section while one entry is being processed (the caller can always call sched_foreach within a critical section is greater stability is needed. sched/sched_gettcb.c: Recent changes removed critical sections around calls to sched_gettcb.c. However, there is a very should sequence of instructions that actually does require the critical section. That short sequence no manages its own critical section.
2018-11-29 13:09:56 -06:00
Xiang Xiao
1e0e1ae856
fs/procfs: Remove the unnecessary critical section
2018-11-29 12:51:34 -06:00
Gregory Nutt
4e8b3ebb8a
Upate TODO list
2018-11-29 12:50:29 -06:00
Gregory Nutt
0841602739
Beginning of an SPI driver for the MAX32660. Incomplete. Does not even compile correctly yet.
...
Squashed commit of the following:
arch/arm/src/max326xx/max32660/max32660_spim.c: A few updates tot he SPI master driver. Still incomplete and does not even compile.
Update some comments
arch/arm/src/max326xx: Clean up some general build issues. Still STM32 code posing as MAX32660.
arch/arm/src/max326xx: Starting SPI driver. Initial commit is just the STM32 SPI driver with name changes.
2018-11-29 12:12:56 -06:00
Gregory Nutt
8a99b5969e
arch/arm/src/max326xx: Fixes UART interrupt problems. With these changes, the NSH configuration appears stable and is no longer conditioned on EXPERIMENTAL.
2018-11-29 07:50:45 -06:00
Gregory Nutt
1710b96388
arch/arm/src/max326xx/max32660/max32660_serial.c: Using wrong register to check interrupt status. Still problems; I think we are not getting FIFO interrupts.
2018-11-28 17:44:20 -06:00
Gregory Nutt
7fd62cb239
Update README.
2018-11-28 13:01:20 -06:00
Gregory Nutt
a6682a9bef
Squashed commit of the following:
...
arch/arm/src/max326xx and configs/max32660-evsys/src: Fix some issues with GPIO setup of output pins. Correct polarity of on-board LED output. The on-board LED is now functional.
arch/arm/src/max326xx: WFI instruction in IDLE loop seems to interfere with stability. Commented out for now. Needs to be investigated further.
2018-11-28 11:20:31 -06:00