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
Gregory Nutt
5da7dbaf98
rch/arm/src/max326xx/max32660/max32660_lowputc.c: Fix typo revealed only when flow control is enabled.
2018-11-27 17:49:44 -06:00
Gregory Nutt
d164a2cf5b
Squashed commit of the following:
...
arch/arm/src/max326xx: Fixes for GPIO configuration problems and serial driver problems. I now get the NuttShell prompt (if I also band on ENTER to force all of the characters out). Progress, but not yet ready.
configs/max32660-evsys: Support CONFIG_BOOT_RUNFROMISRAM=y.
2018-11-27 16:50:59 -06:00
Gregory Nutt
0820d0659b
Squashed commit of the following:
...
arch/arm/src/max326xx/max32660/max32660_clockconfig.c: Fix an error in a register name.
arm/src/max326xx/max32660: Fix a few new compilation errors when DEBUG is enabled.
2018-11-27 14:47:49 -06:00
Gregory Nutt
c82032ba62
arch/arm/src/armv7-m: Make naming used in ARM register definition files a little more compatible with naming used in other header files.
2018-11-27 10:36:40 -06:00
Gregory Nutt
6435d6b952
configs/stm32f4discovery/src/stm32_critmon.c: include dwt.h, don't define DWT_CYCNT inline.
2018-11-27 09:39:09 -06:00
Gregory Nutt
6941f916ce
net/socket: For consistency in naming, change the name of sock_release() to psock_release().
2018-11-27 07:50:09 -06:00
Gregory Nutt
b8cc5ef757
net/socket/net_clone.c: On a failure to start the TCP monitor, the clone socket is closed but is not properly freed, leaving it attached to a TCP connection structure with the wrong reference count.
2018-11-27 07:40:55 -06:00
Lwazi Dube
08b37cc104
wireless/bluetooth/bt_att.c: Fix uninitialized variable.
2018-11-27 06:41:51 -06:00
Gregory Nutt
d8cf3bfe25
Rethink some of the conditional logic of commit 1ac9558460
: If the Critical Section Monitor enabled, that that platform-specific timer should be used to measure interrupt processing time, no matter what.
2018-11-26 12:18:58 -06:00
Gregory Nutt
553c566650
sched/irq: Include a few ProcFS-related changes missed in commit 1ac9558460
2018-11-26 12:01:36 -06:00
Gregory Nutt
1ac9558460
sched/irq and sched/sched: Measurement of interrupt handler duration used to be available only in Tickless mode since it used the high resolution Tickless timer to measure interrupt time. This commit adds CONFIG_SCHED_IRQMONITOR_GETTIME which, if enabled, will force the interrupt duration caculation to use the same high-resolution, platform-specific timer as is used with the Critical Section Monitor. This leads to two improvements: (1) You can now measure interrupt duration in non-Tickless mode, and (2) in either mode, the interrupt duration and the critical section measures will use the same high-resulotion timer and should, therefore, never be any descripancy due to different clock sources.
2018-11-26 11:29:20 -06:00
Gregory Nutt
b88ce04770
Update README file.
2018-11-26 08:01:11 -06:00
Gregory Nutt
41d5e31390
configs/stm32f429i-disco/highpri/defconfig and net/procfs/netdev_statistics.c: Eliminate some warnings found in build testing.
2018-11-25 18:42:39 -06:00
Gregory Nutt
80e7107c9f
sched/irq/Make.defs: Fix warning about irq_csection.o appearing multiple times in the same rule.
2018-11-25 17:22:33 -06:00
Gregory Nutt
6f9e477de3
include/nuttx/irq.h: Correct some comments.
2018-11-25 16:04:31 -06:00
Alan Carvalho de Assis
7e7437e54e
drivers/lcd/st7032.c: Fix semaphore initialization in the ST7032
2018-11-25 15:59:51 -06:00
Gregory Nutt
da379a5c97
arch/arm/src/stm32f7/stm32_sdmmc.c: Fix a pre-processor error found in build testing.
2018-11-25 15:54:51 -06:00
Lwazi Dube
f1aa141d83
wireless/bluetooth/bt_conn.c: Fix uninitialized variable.
2018-11-25 15:50:07 -06:00