Juha Niskanen
3e7281e699
libs/libc/netdb: Support multiple IP addresses per hostname
2018-11-23 07:09:47 -06:00
Gregory Nutt
d2a11cdea5
sched/signal/sig_timedwait.c: Remove unnecessary disble of pre-emption.
2018-11-23 06:59:48 -06:00
Gregory Nutt
1b63f66106
arch/arm/src/max326xx/max32660/max32660_clockconfig.c: Fix a logic error. Move logic that disables clocks to the end of the configuration. They might be needed by the previous clock configuration.
2018-11-22 15:01:18 -06:00
Gregory Nutt
22de66d553
arch/arm/src/max326xx/max32660/max32660_wdt.c: Fix alarm delay calculation.
2018-11-21 17:54:36 -06:00
Gregory Nutt
9ca2cde234
arch/arm/src/max326xx: Fix some misthinking in the last commit.
2018-11-21 15:23:05 -06:00
Gregory Nutt
c7cb4fa594
arch/arm/src/max326xx: Add missing function to get the alarm time.
2018-11-21 15:06:02 -06:00
Gregory Nutt
bd5d079c02
arch/mips/src/pic32m[x|z]/pic32m[x|z]-ethernet.c: Fix a comparison in a debug assertion. Should be <= vs <. Noted by Anonymous in Bitbucket Isue 134.
2018-11-21 12:35:43 -06:00
Gregory Nutt
49ed9cac86
arch/arm/src/max326xx: Work-in-progress RTC driver for the MAX32660
2018-11-21 12:31:15 -06:00
Matous Pokorny
357deb41f4
Merged in ehiker/nuttx/fix_stm32vldiscovery_ld (pull request #765 )
...
configs/stm32vldiscovery/scripts/stm32vldiscovery.ld: Fix SRAM and FLASH size in the linker script.
There is STM32F100RB with 8KB RAM and 128KB FLASH on the STM32VL Discovery kit. Invalid memory size could cause a hard fault.
Approved-by: GregoryN <gnutt@nuttx.org>
2018-11-21 14:13:48 +00:00
Matous Pokorny
7a4fb66192
Merged in ehiker/nuttx/fix_readme_typo (pull request #764 )
...
Fix readme typo
* readme.txt: Fix typo
* tools/readme.txt: Fix typo
There is no file called cmdconfig.
Approved-by: GregoryN <gnutt@nuttx.org>
2018-11-21 14:06:51 +00:00
Gregory Nutt
09f4dee6bc
All network drivers! Change pre-processor logic that selects the high priority work queue or gives preferential treatment to the high priority work. All network logic must run on the low priority work queue! Or suffer the consequences.
2018-11-21 07:57:26 -06:00
Gregory Nutt
b69957ef5f
arch/arm/src/max326xx/max32660/max32660_wdt.c: Another design simplication.
2018-11-21 06:57:29 -06:00
Gregory Nutt
2797d5fc49
arch/arm/src/max326xx/max32660/max32660_wdt.c: Design fixes to watchdog timer.
2018-11-20 17:38:00 -06:00
Gregory Nutt
84e6510de5
arch/arm/src/max326xx: Add the first, untested cut of an watchdog timer driver.
2018-11-20 17:13:35 -06:00
Bob Feretich
c6851201c0
This commit adds a new function arch_invalidate_dcache_by_addr(). It takes the same parameters as arch_invalidate_dcache(), but performs invalidation of only the lines in cache that need to be invalidated. This new function could be used as a a direct replacement for arch_invalidate_dcache().
...
The user of this invalidation are mmcsd_sdio currently. The mmcsd_sdio driver makes calls for dcache invalidation through the chip specific architecture function SDIO_DMARECVSETUP(). I changed the arch/arm/stm32f7 chips to use arch_invalidate_dcache_by_addr() instead of arch_invalidate_dcache().
This commit includes additional changes to mmcsd_sdio.c. I created SDIO_DMADELYDINVLDT() (DMA delayed invalidate) to invalidate store-into mode dcaches after the DMA transfer. I have been using SDIO_DMADELYDINVLDT() for several weeks now and it has fixed the problems that I previously reported regarding non-cache aligned buffer invalidation errors (for my store-through dcache). However, it does not permit use of unaligned DMA buffers for store-into mode dcaches.
SDIO_DMADELYDINVLDT() is a NoOp unless the chip specific Kconfig file selects CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT. I have modified all the stm32f7 chips to select it.
2018-11-20 14:03:42 -06:00
Pavlina Koleva
5499c884a5
configs/imxrt1050-evk: GPIO device driver support added and tested by Pavlina Koleva and Ivan Ucherdzhiev
2018-11-20 13:41:08 -06:00
Gregory Nutt
bdb60ac2f7
arch/arm/src/stm32/stm32_adc.c: Very mysterious. Several configurations now fail to build stm32_adc.o. This chante avoids those build failures, yet I see no code changed in recent months that should affect this. Any insights anyone?
2018-11-20 12:29:37 -06:00
Gregory Nutt
37f994207d
arch/arm/src/max326xx/max32660: Some rather minor updates from comparison of my board port with logic provided by Maxim Integrated.
2018-11-20 12:02:15 -06:00
Gregory Nutt
86d7f39a42
arch/arm/src/max326xx: Rename the chip subdirectory to hardware. The include paths were getting too mind boggling with two directories named chip. Should do this for the other architectures as well.
2018-11-20 11:20:58 -06:00
Gregory Nutt
b9903dc8c8
arch/arm/src/max326xx: Finish DMA implementation. Clean up compile issues when DMA, GPIO interrupts are enabled.
2018-11-20 11:14:11 -06:00
Gregory Nutt
7a45fc6f1c
arch/arm/src/max326xx: Add framework for MAX326XX standard DMA support.
2018-11-20 08:09:03 -06:00
Gregory Nutt
a588d64b45
net/procfs/netdev_statistics.c: Fix a error found in build testing.
2018-11-20 08:09:03 -06:00
David Sidrane
e73228395f
Merged in david_s5/nuttx/master_imxrt_headers (pull request #763 )
...
imxrt:Add ADC chip header
Approved-by: GregoryN <gnutt@nuttx.org>
2018-11-20 00:24:58 +00:00
Gregory Nutt
03cd52a5a2
arch/arm/include/max326xx: Add missing MAX32660 interrupt vectors. arch/arm/src/max326xx: Add missing MAX32660 GPIO interrupt handler.
2018-11-19 18:02:57 -06:00
Gregory Nutt
7854a18ece
arch/arm/src/max326xx: Finish of the serial driver. Add support for the MAX626xx instruction cache.
2018-11-19 14:36:32 -06:00
Gregory Nutt
34123867c9
arch/arm/src/max326xx: Fleshes out logic in max32660_lowputc.c
2018-11-19 13:02:49 -06:00
Gregory Nutt
1d2a69539b
Squashed commit of the following:
...
arch/arm/src/max326xx/max32660/max32660_serial.c: Add a mostly commented out serial driver. With this, we can accomplish a complete build with many warnings for 'Missing logic'
configs/max32660-evsys/src/max326_button.c: Add support for the on-board button.
arch/arm/src/max326xx: Add a mostly empty max326_lowputc.c file mostly so that we can get further in the compilation. Fixed several more compile errors revealed by this.
arch/arm/src/max326xx: Add peripheral clock control header file.
2018-11-19 10:47:28 -06:00
Gregory Nutt
f9fc2131b0
tools/nxstyle.c: Add -h for help.
2018-11-19 08:05:55 -06:00
Eduard Niesner
b905888d2c
arch/arm/src/stm32f7: Ported the QEncoder from F4 to F7
2018-11-19 07:51:41 -06:00
Gregory Nutt
655904f342
tools/nxstyle.c: Add logic to detect long lines.
2018-11-19 07:50:59 -06:00
Lwazi Dube
9d0740e069
After commit 51b78034ac8d1fdf598107bf4093f0beccd5b80b, my tiva console does not work - enter key produces garbage characters. This commit fixes the problem for me.
2018-11-18 18:03:39 -06:00
Gregory Nutt
dd3361a175
arch/arm/src/max326xx: Add more clock configuration options.
2018-11-18 17:54:01 -06:00
Gregory Nutt
fe0209eec2
arch/arm/src/max326xx: Add initial clock configuration logic. Needs verification.
2018-11-18 16:41:07 -06:00
Gregory Nutt
054db14dd2
arch/arm/src/max326xx: Add GCR register definition header file. Some feeble clock configuration progress.
2018-11-18 13:06:24 -06:00
Gregory Nutt
169198ff38
arch/arm/src/max326xx/max32660: Add GPIO driver and GPIO interrupt support.
2018-11-18 11:22:51 -06:00
Zou Hanya
74cd8a53d5
Squashed commit of the following:
...
Author: Gregory Nutt <gnutt@nuttx.org>
A few trivial updates from review of changes.
Remove references to NRF52-PCA10040 from documentation. Replace with NRF52-generic.
Remove configs/nrf52-pca10040/ Replaced with configs/nrf52-generic.
Author: Zou Hanya <hanyazou@gmail.com>
Improve LED handling #if~#endif in nrf52_autoleds.c and nrf52_userleds.c
Add Adafruit Feather nRF52 board LED support
Add Adafruit Feather nRF52 board
Add nrf52-generic
Replace 'pca10040' with 'generic'
Copy from nrf52-pca10040 to nrf52-generic
2018-11-18 07:51:24 -06:00
Gregory Nutt
d2da0be4ee
arch/arm/src/max326xx/chip: Add MAX32660 pin multiplexing header files.
2018-11-17 16:47:54 -06:00
Gregory Nutt
8e18e8ae54
arch/arm/src/max326xx: Get's past a few initial compile problems. Still a long road ahead.
2018-11-17 15:36:40 -06:00
Gregory Nutt
6d5c1ec64f
arch/arm/src/max326xx: Add encodings that will be needed for GPIO pin configurations.
2018-11-17 15:01:21 -06:00
Gregory Nutt
61fd244fd3
Add support for the Maxim Integrated MAX32660-EVSYS board.
...
Squashed commit of the following:
arch/arm/src/max326xx and configs/max32660-evsys/nsh/defconfig: Work out some issues related to MAX326xx configuration.
configs/max32660-evsys: Add unverified board support framework.
2018-11-17 13:24:09 -06:00
Anthony Merlino
4d574e7a60
Merged in antmerlino/nuttx/stm32f2-write-protect (pull request #762 )
...
arch/arm/stm32: stm32_flash_writeprotect supported the same for STM32F20XX as STM32F4XXX
Approved-by: GregoryN <gnutt@nuttx.org>
2018-11-17 17:29:29 +00:00
Gregory Nutt
a427a40bd0
arch/arm/src/max326xx/chip: Add MAX32660 SPIMSS register definition header files.
2018-11-17 11:21:29 -06:00
Gregory Nutt
1527720be9
arch/arm/src/max326xx/chip: Add SPI register definition header file.
2018-11-17 10:47:57 -06:00
Gregory Nutt
854f171c66
arch/arm/src/max326xx/chip: Add I2C register definition header file.
2018-11-17 09:19:17 -06:00
Mateusz Szafoni
6673ae3e9c
arch/arm/src/stm32/stm32_pwm.c: STM32 MOE is not being appropriately handled for PWM for advanced timers. It is only ever reset and so no PWM train is generated. This change addresses this. Noted by Dave Marples.
2018-11-17 06:55:19 -06:00
Alan Carvalho de Assis
98c3c44918
configs/stm32f429i-disco/lvgl/defconfig: Fix lvgl demo removing STM32_FB_CMAP.
2018-11-17 06:37:05 -06:00
Gregory Nutt
8000e0b263
arch/arm/src/max326xx/Kconfig: Needs to select CONFIG_UARTn_SERIALDRIVER.
2018-11-17 06:36:25 -06:00
Gregory Nutt
13d902a0a5
arch/arm/src/max326xx: Bring in some mostly standard, ARMv7-M, 'boilerplate' files.
2018-11-16 15:33:01 -06:00
Gregory Nutt
1fd9eb6069
net/pkt: pkt_input() should not report an error using the nerr() macro when the PKT tap does not need the packet. That is not an error. Use ninfo() instead.
2018-11-16 13:48:30 -06:00
Gregory Nutt
06f132c5d0
Brings in WIP port for the Maxim Integrated MAX326xx MCU family. Not really very much in place yet so marked EXPERIMENTAL in Kconfig file.
...
Squashed commit of the following:
Update a README. Mark MAX326XX as EXPERIMENTAL before bringing into master.
arch/arm/src/max326xx/chip: Add MAX32660 TMR register definition header files.
arch/arm/src/max326xx/chip: Add MAX32660 WDT register definition header files.
arch/arm/src/max326xx/chip: Add MAX32660 RTC register definition header files.
arch/arm/src/max326xx/chip: Add MAX32660 UART register definition header files.
arch/arm/src/max326xx/chip: Add DMA register definition header files.
Update some comments explaining what is meant by a 'chip family'
arch/arm/src/max326xx/chip: Add GPIO register definition header files.
arch/arm/src/max326xx/chip: Add FLC register definition header files.
arch/arm/src/max326xx/chip: Add FCR, PWRSEQ, and SIR register definition header files.
arch/arm/src/max326xx/chip: Add ICC register definition header file.
arch/arm/src/max326xx/chip: Add memory map header files.
arch/arm/include/max326xx: Minor fleshing out.
arch/arm/arm/include/max326xx: Add basic support for Maxim MAX326xx family. arch/arm/Kconfig and arch/arm/src/max326xx/Kconfig: Add basic condiguration support for the MAX326xx.
2018-11-16 13:17:47 -06:00