Gregory Nutt
8bd9cfe038
Squashed commit of the following:
...
arch/arm: Remove support for CONFIG_ARMV7M_CMNVECTOR. It is now the only vector support available. Also remove CONFIG_HAVE_CMNVECTOR. That no longer signifies anything."
arch/arm/src/stm32: This commit removes support for the dedicated vector handling from the STM32 architecture support. Only common vectors are now supported.
2018-06-20 12:30:37 -06:00
Alan Carvalho de Assis
35697ed234
configs/stm32f4discovery: Remove STM32F4BB dependence from rndis; add RAMDISK support.
2018-06-18 07:08:36 -06:00
Gregory Nutt
20d9d1a604
configs/: Disable debug options in all default configurations. The idea is that these are all release configurations and should present the best performance and smallest footprint. If debug output is desired for debugging purposes, then these release configurations can simply be changes to debug configurations be simply re-enabling the debug options.
2018-06-17 11:13:24 -06:00
Gregory Nutt
668df010ec
Committed defconfigs for working configurations should never have CONFIG_EXPERIMENTAL set because the opens the doors for untested and incomplete configurations. Conversely, if there are released configurations that use features with dependencies on CONFIG_EXPERIMENTAL, then those configurations are in use and those dependencies should be removed:
...
graphics/vnc/server/Kconfig: Remove a dependency on CONFIG_EXPERIMENTAL
net/tcp/Kconfig: Remove a dependency on CONFIG_EXPERIMENTAL
wireless/bluetooth/Kconfig: Remove a dependency on CONFIG_EXPERIMENTAL
configs/lc823450-xgevk/audio/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/lc823450-xgevk/bt/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/lc823450-xgevk/ipl2/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/lc823450-xgevk/nsh/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/lc823450-xgevk/rndis/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/lc823450-xgevk/usb/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/lpcxpresso-lpc54628/netnsh/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/moxa/nsh/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/olimex-stm32-p407/module/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/photon/wlan/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/sabre-6quad/smp/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/sam4cmp-db/nsh/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/sama5d4-ek/elf/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/sama5d4-ek/knsh/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/samv71-xult/module/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/samv71-xult/vnc/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/samv71-xult/vnxwm/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/sim/bluetooth/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/sim/pf_ieee802154/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/sim/pktradio/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/sim/sixlowpan/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/sim/traveler/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/sim/userfs/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/stm32f4discovery/hciuart/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/stm32f4discovery/pseudoterm/defconfig: Remove CONFIG_EXPERIMENTAL=y
configs/teensy-3.x/usbnsh/defconfig: Remove CONFIG_EXPERIMENTAL=y
2018-06-17 10:30:01 -06:00
Gregory Nutt
d72096df55
configs: Fix several warnings from bad configurations, mostly STM32F4 Discovery, that have OTGFS eanbled, but not USB support.
2018-06-02 07:01:55 -06:00
Alan Carvalho de Assis
ecf3bccf09
configs/stm32f4discovery: Add a module configuration for testing the kernel module example with the STM32F4Discovery board.
2018-06-02 06:44:20 -06:00
Alan Carvalho de Assis
93c9d323e0
configs/stm32f4discovery: Add Load Modules flags to STM32F4Discovery board
2018-06-01 07:58:16 -06:00
Gregory Nutt
74148048c2
configs/stm32f4discovery/include/board.h: Add pin disambiguation for USART2 flow control pins.
2018-05-26 15:59:00 -06:00
Gregory Nutt
0f6aeb7cff
arch/arm/src/imxrt: Centralilze and standardize control of peripheral clocking. Add logic to initialize the DMAMUX.
2018-05-20 10:03:45 -06:00
Gregory Nutt
6529a5666e
Update README file
2018-05-19 17:32:56 -06:00
Alan Carvalho de Assis
cc1d68bd92
arch/arm/src/stm32: Include needed headers to get stm32_i2s.c compiled
...
configs/stm32f4discovery/include/board.h: Add SPI DMA pins definitions to get CS43L22 audio DAC working
configs/stm32f4discovery/audio: Add board configuration for CS43L22 audio example
configs/stm32f4discovery: Update README
2018-05-19 16:12:21 -06:00
Gregory Nutt
e4922ed9f0
Remove instructures to CD to tools/ before running ./configure.sh
...
Squashed commit of the following:
configs/*/README.txt: Replace each occurrence of './configure.sh' with 'tools/configure.sh'
configs/*/README.txt: Remove 'cd ..' after each './configure.sh'
configs/*/README.txt: Remove 'cd -' after each './configure.sh'
configs/*/README.txt: Remove 'cd tools' before each './configure.sh'
configs/README.txt: Remove instruction to CD tools/ before running configure.sh.
2018-05-09 11:41:46 -06:00
Gregory Nutt
fd844f8eac
include/nuttx/wireless/bluetooth: Move Bluetooth header files from include/nuttx/wireless to include/nuttx/wireless/bluetooth for symmetry with other wireless technologies.
2018-04-29 12:43:09 -06:00
Gregory Nutt
9a1277bd8f
Makefile.unix: There is a sort command in the 'make savedefconfig' file. I found that sort behaves differently on different platforms based on the environment variable LC_ALL. Now, Makefile.unix will force LC_ALL=C just for the sort command so that we can all generate equivalent defconfig files.
2018-04-29 09:47:09 -06:00
Gregory Nutt
17cc0b9bfe
arch/arm/src/imxrt: Minor reparitioning to account for the fact that the GPIO5 base address is not contiguous with the GPIO1-4 base addresses.
2018-04-25 14:54:14 -06:00
Gregory Nutt
10d99cc6e6
include/nuttx/wireless: Add a setbaud() method to the HCI UART lower half interface that can be used to change the default BAUD selection. arch/arm/src/stm32: Implement the setbaud() method for the STM32 HCI UART.
2018-04-25 13:09:08 -06:00
Gregory Nutt
cfc5f86862
net/udp: Minor update from review of 091e3f732e
. In connect(), AF_UNSPEC is used to disconnect UDP socket. However, initial commit lacked logic to mark the socket as disconnected.
2018-04-25 10:13:59 -06:00
Gregory Nutt
5fae6f8da6
Update README
2018-04-24 11:05:34 -06:00
Gregory Nutt
3012abdc45
configs/stm32f4discovery/hciuart: Disable MMC/SD support. That made it difficult to re-use the configuration without the base board. MMC/SD support is not needed in that configuration anyway.
2018-04-24 06:53:37 -06:00
Gregory Nutt
505f460b6b
configs: Review all implementations of board_lcd_initialize(). The NuttX convention is that all internal functions that return errors as an 'int' must return a negated errno value on failure and a non-negative value on success. Most were right but eight of them had cloned logic that returns 1 on success and zero on failure... both of which are interpreted as success by the caller since they are non-negative.
2018-04-21 18:03:01 -06:00
Alan Carvalho de Assis
1a879a3b52
configs/stm32f4discovery: Add MAX7219 support to STM32F4Discovery board
2018-04-21 17:41:01 -06:00
Gregory Nutt
9b83737821
drivers/wireless/bluetooth: Partition bt_uart.c adding bt_uart.h and bt_uart_generic.c. This will now permit adding HCI UART drivers that have custom initialization requirements.. such as parts the need to download a configuration file to the HCI UART before they are usable.
2018-04-19 17:48:04 -06:00
Gregory Nutt
44a5a7e170
wireless/bluetooth: Remove Rx kernel thread. The operation of dispatching messages can be performed just as well on the high and low priority work queue. The network driver operates the low priority work queue so that also integrates better with network frame reception.
2018-04-19 08:52:09 -06:00
Gregory Nutt
1224db454b
arch/arm/src/stm32 and drivers/wireless/bluetooth: Fix some buffer management errors in HCI UART upper and lower halves.
2018-04-18 08:17:15 -06:00
Gregory Nutt
27f624d881
drivers/wireless/bluetooth: Default BAUD must be 115200, Fix logic in Rx callback, Rx callback must execute on work queue. Now sends and receives one command and response. But hangs on the next.
2018-04-17 13:07:28 -06:00
Gregory Nutt
862ff9cae3
arch/arm/src/stm32/: In HCI UART, sense of RTS and CTS are inverted. When we speak of asserting RTS we mean setting nRTS to zero.
2018-04-16 17:14:51 -06:00
Gregory Nutt
603efe6fb5
arch/arm/src/stm32 and configs/stm32f4discovery: Some feeble attempts to communicate with the BT860. Not much progress yet.
2018-04-16 15:24:28 -06:00
Gregory Nutt
e470846356
Remove all references to the Yahoo group.
2018-04-15 17:15:48 -06:00
Gregory Nutt
5d2c226675
wireless/bluetooth and drivers/wireless/bluetooth: Simply the driver registration/initialization interface.
2018-04-14 11:33:29 -06:00
Gregory Nutt
fa287e8863
Various fixes/changes from intial testing of the HCI UART on the STM32F4-Discovery board. Re-organized how the Blutetooth network driver is initialized. Added lots of new debug output. Add a new STM32 F4 Discovery configuration for testing the HCI UART. Various fixes to get through initialization (still does not).
2018-04-14 09:23:08 -06:00
Gregory Nutt
0686989645
configs/stm32fdiscovery: Add support in bringup logic to initialize the HCI UART and register the HCI UART network device.
2018-04-13 14:53:11 -06:00
Gregory Nutt
d25549ac54
This commit adds a Bluetooth HCI UART lower half driver for the STM32
...
Squashed commit of the following:
arch/arm/src/stm32: Add Kconfig options needed by the HCI UART. Various fixes to finally get a clean error free compile with no unexpected warnings.
arch/arm/src/stm32: In HCI UART, use spin_lock_irqsave() instead of enter_critical_section() whenever possible.
arch/arm/src/stm32: In HCI UART, fix up naming of configurations so that they are unique. Still needs Kconfig settings. Modify logic so that there can be multiple HCI UARTs, some supporting DMA and some not.
arch/arm/src/stm32: Integrate watermarks and software Rx flow control into the HCI UART driver.
arch/arm/src/stm32: Eliminate some HCI UART UART configuration options. Per the HCI UART spec, the link will b 8 data bits, no parity, 1 stop bit... Always.
arch/arm/src/stm32: Trivial cleanup
arch/arm/src/stm32: Fixes most initial compilation issues STM32 HCI UART driver. Still need to set up USART configuration parmeters for HCI UART
arch/arm/src/stm32: Completes first cut at STM32 HCI UART driver.
arch/arm/src/stm32: Completes most of read logic for HCI UART. Still needs to be able to block if no read data is available. Still missing write and flush logic.
drivers/wireless: Remove txenable from HCI UART methods. arch/arm/src/stm32: Reorganize some structures in HCI UART.
arch/arm/src/stm32: Still messaging the HCI uart driver.
arch/arm/src/stm32: Some trivial renaming.
arch/arm/src/stm32: A little more HCI-UART logic.
arch/arm/src/stm32: Initial setup to support HCI-UART. Little more than the serial driver with some name changes and a few things removed.
2018-04-13 10:36:23 -06:00
Tiago Almeida
a482867c00
drivers/sensors/max31855: Add multiple max31855 sensors feature and support for bambino-200e and stm32f4discovery
2018-04-09 15:36:27 -06:00
Gregory Nutt
dc8941e958
configs/: Add definition of strip to many Make.defs files.
2018-03-25 09:25:37 -06:00
Gregory Nutt
8b4b61f140
fs/cromfs: Fix a error in reading partial compressed blocks. The LZF decompressor does not support that operation. Instead we have to decompress full block into a temporary buffer and copy out the parts that we need. To compensate for the performance hit, a caching mechanism was added so that we do not have to read the same block repeatedly. Unrelated: Also updates some README files.
2018-03-24 11:30:35 -06:00
Gregory Nutt
3810f9e942
Remove configurations using canutils/libuavcan and examples/uavcan. libuavcan has not built for a year or so. The basic problem is that as NuttX advances, the old frozen versino of libuavcan has become absolute because it violates the portable POSIX OS interface. No one is maintaining the port so there is no alternative but to remove it.
2018-03-23 07:37:49 -06:00
Gregory Nutt
3a95464153
configs/stm32f4discovery: Building of stm32_appinit.c should not depend on CONFIG_NSH_LIBRARY but on CONFIG_LIB_BOARDCTL.
2018-03-16 12:16:19 -06:00
Gregory Nutt
b3aa10c9ff
configs/stm32f4discover/posix_spawn: With recent changes, needs to enabled boardctl() w/symbol table support.
2018-03-16 11:57:08 -06:00
Gregory Nutt
82baae5101
Makefile.unix: This seems to eliminate the spuriouis errors reported by 'make savedefconfig'
2018-03-07 13:37:53 -06:00
Gregory Nutt
2683f713ab
Make sure that labeling is used consistently in all function headers (part 3).
2018-02-01 12:17:03 -06:00
Gregory Nutt
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
2018-02-01 10:00:02 -06:00
Gregory Nutt
50ca32e254
Squashed commit of the following:
...
sched/: Convert legitimate uses of task_create() to nxtask_create(). Review handling of returned values from all uses of kthread_create() (as well as nxtask_create()).
graphics/: Review return values for all calls to kthread_start() because it no longer returns an errno.
drivers/: threads started by drivers should be kernel threads, not user tasks. Review return values for all calls to kthread_start() because it no longer returns an errno.
configs/: threads started by board bringup logic should be kernel threads, not user tasksi (part 2 of 2).
sched/task: Add nxtask_create(). Kthread_create() and nxtask_create() are internal OS functions and should not modify the errno variable. configs/: threads started by board bringup logic should be kernel threads, not user tasks.
2018-01-31 16:11:54 -06:00
Gregory Nutt
ed18e427f3
Squashed commit of the following:
...
configs/flipnclick-sam3x: Add support for the 4 user-controllable LEDs on the board.
configs/flipnclick-sam3x: Add board support for the Mikroe Flip&Click SAM3X.
configs/arduino-due: Update this old configuration so that it is structured a little more like recent board support.
2018-01-06 17:06:50 -06:00
Gregory Nutt
0f10f6bdec
configs/*/include; Remove prototype of stm32_boardinitialize() from board.h files. The authorative prototype is in arch/arm/src/stm32*/stm32*_start.h
2017-12-16 20:02:03 -06:00
Gregory Nutt
4d4029afeb
Update README files
2017-11-28 14:43:36 -06:00
Gregory Nutt
472fa0cf20
Add missing file in previous commit
2017-11-28 12:54:03 -06:00
Alan Carvalho de Assis
6e22092c67
configs/stm32f4discovery/src: Add stm32f4discovery board support for Nunchuck joystick
2017-11-28 12:23:02 -06:00
Alan Carvalho de Assis
a3e6d02d8b
configs/stm32f4discovery/include/board.h: Remove only I2C pin config, we can use PB6 and PB9
2017-11-28 12:20:45 -06:00
Gregory Nutt
5328e3bafb
configs/: CONFIG_QENCODER was renamed to CONFIG_SENSORS_QENCODER: update occurrences in several Kconfig files
2017-11-25 18:46:43 -06:00
Gregory Nutt
5c27c0dad4
STM32F4 Discovery: Fix some errors do missing inclusion of stm32_gpio.h
2017-11-25 12:06:22 -06:00