Commit Graph

9255 Commits

Author SHA1 Message Date
Gregory Nutt
24c51ec1ff Centralize definitions associated with CONFIG_DEBUG_LCD 2016-06-15 11:40:33 -06:00
Gregory Nutt
ba03134bed Centralize definitions associated with CONFIG_DEBUG_SPI 2016-06-15 10:41:13 -06:00
Gregory Nutt
0e180c3ad8 Centralize definitions associated with CONFIG_DEBUG_GPIO 2016-06-15 09:27:52 -06:00
Lok Tep
5a8f395a9b Merge remote-tracking branch 'parent/master'
# Conflicts:
#	arch/arm/src/stm32f7/chip/stm32_spi.h
#	arch/arm/src/stm32f7/stm32_spi.c
#	arch/arm/src/stm32f7/stm32_spi.h
2016-06-15 17:03:28 +02:00
David Sidrane
4f72ad74d2 configs/nucleo-144: Test F7 SPI 2016-06-14 07:30:28 -06:00
Gregory Nutt
191d875b05 Cleanup of configs/teensy-2.0/src files 2016-06-13 16:03:16 -06:00
Gregory Nutt
749de40768 Teensy-2.0: Add board_app_initalize() 2016-06-13 15:13:19 -06:00
Gregory Nutt
eac916c907 Fix some warnings 2016-06-13 11:48:20 -06:00
Gregory Nutt
94f5e87222 configs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-13 11:04:19 -06:00
Gregory Nutt
40f0481478 configs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-13 09:44:12 -06:00
Gregory Nutt
b9aadf7242 configs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-13 08:45:54 -06:00
Gregory Nutt
c494454bc4 configs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-13 07:43:55 -06:00
Gregory Nutt
b0458e36da configs/: Remove references to non-existent SPI_VERBOSE setting 2016-06-12 17:57:12 -06:00
Gregory Nutt
a5457987d8 configs/: Change some err() ERRORS to warn() WARNINGS or info() 2016-06-12 17:02:46 -06:00
Gregory Nutt
a1469a3e95 Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err() 2016-06-11 15:50:49 -06:00
Gregory Nutt
e99301d7c2 Rename *lldbg to *llerr 2016-06-11 14:55:27 -06:00
Gregory Nutt
1cdc746726 Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 2016-06-11 14:14:08 -06:00
Gregory Nutt
fc3540cffe Replace all occurrences of vdbg with vinfo 2016-06-11 11:59:51 -06:00
Gregory Nutt
3a74a438d9 Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO 2016-06-11 11:50:18 -06:00
Gregory Nutt
e891a33c2e Completely trivial changes from review of last PR 2016-06-10 14:59:53 -06:00
Gregory Nutt
525557c098 Merged in kfazz/nuttx/kinetis_pwm (pull request #50)
kinetis pwm support
2016-06-10 14:54:19 -06:00
Lok Tep
4d8cc9f528 serial + chip id 2016-06-10 12:05:32 +02:00
Lok Tep
6ea61306b6 Merge remote-tracking branch 'remotes/parent/master' 2016-06-10 09:10:07 +02:00
kfazz
7df66c5654 register each enabled timer 2016-06-10 01:11:44 -04:00
Lok Tep
073c62d7f0 try more opts 2016-06-10 00:10:35 +02:00
Gregory Nutt
df5a2105cd CC3200 Launchpad: Should not include apps/nsh.h; also fix a warning 2016-06-09 11:25:52 -06:00
kfazz
00c02fde62 Teensy 3.x FTM pin definitions. 2016-06-09 13:08:35 -04:00
Gregory Nutt
8c9bc6da79 Trivial changes from review of last PR 2016-06-09 09:39:41 -06:00
Gregory Nutt
2dbd6b3d99 Merged in kfazz/nuttx (pull request #45)
Teensy clock fixes.
2016-06-09 09:36:30 -06:00
Gregory Nutt
89c9aca89e All configurations that have both CONFIG_NSH_LIBRARY=y and CONFIG_NET=y must now also have CONFIG_NSH_NETINIT=y 2016-06-09 09:29:47 -06:00
Gregory Nutt
5c9e11f1b0 Refresh all configurations that have both CONFIG_NSH_LIBRARY and CONFIG_NET set in preparation for another change. 2016-06-09 09:25:20 -06:00
David Sidrane
05e1f25678 Fix timer input clock definitions 2016-06-09 08:29:55 -06:00
Gregory Nutt
02fd8ecd41 Refresh Configuration 2016-06-09 08:25:16 -06:00
Lok Tep
f12f115598 rename back without f7 2016-06-09 15:48:07 +02:00
kfazz
0c13208d87 Teensy clock fixes.
The High Gain bit in MCG_C1 was preventing teensy from booting
except after a programming session. The second change doesn't appear
to change any functionality, but complies with restrictions in the k20
family reference manual on FEI -> FBE clock transiions.
2016-06-09 00:41:01 -04:00
Gregory Nutt
982982d62b Eliminate some warnings 2016-06-08 09:43:54 -06:00
David Sidrane
86b29dc64c Updated configs/Kconfig 2016-06-08 08:02:32 -06:00
Gregory Nutt
061b4e2aaa Refresh Configuration 2016-06-08 07:54:48 -06:00
David Sidrane
44da2c0add Refactored configs/nucleo-144 sub-directories to support additional nucleo-144 board. Add support for the Nucleo-F767ZI board. 2016-06-08 07:52:19 -06:00
Gregory Nutt
d4c101d2cf Update README files 2016-06-07 11:28:46 -06:00
Gregory Nutt
db470d8ffd Update README 2016-06-07 08:42:42 -06:00
Gregory Nutt
f75837a110 Changes from review of the last PR 2016-06-06 13:35:27 -06:00
Gregory Nutt
6b58ed820a Merged in kfazz/nuttx/kinetis (pull request #40)
Kinetis usb driver
2016-06-06 12:57:55 -06:00
kfazz
983ac18c51 Teensy 3.x usb support and example configuration 2016-06-06 14:00:02 -04:00
kfazz
e7bb9f714e include <sys/types.h> so OK is defined. 2016-06-06 13:50:58 -04:00
Gregory Nutt
3f7840f009 Fix some NxWM configuration errors 2016-06-06 09:32:26 -06:00
Gregory Nutt
ba0040fe1f NxWM configurations need boardctl() with touchscreen support 2016-06-05 13:18:43 -06:00
Gregory Nutt
f2c65a4c47 Refresh configurations 2016-06-05 12:14:34 -06:00
Lok Tep
88b51683bb bus busy timeout, errata 2016-06-05 11:43:06 +02:00
Alan Carvalho de Assis
76a899f9eb STM32F103 Minimum: Add minnsh configuration 2016-06-04 07:36:04 -06:00
Gregory Nutt
910bac65fa STM32 Timer: Generalize and extend calculation of per-timer pre-scaler value. Inspired by original proposal from Pierre-noel Bouteville. 2016-06-03 11:38:59 -06:00
Lok Tep
82cd44dbc5 adc i2c_reset 2016-06-03 17:19:22 +02:00
Gregory Nutt
d76d889efd Restore FLASH_ERASALL in configurations where it was previously selected 2016-06-03 09:10:21 -06:00
Gregory Nutt
a18dbfda6e Remove drivers/mtd/flash_eraseall.c. It is not used in the OS and is just a dumb wrapper around the MDIOC_BULKERASE IOCTL call. 2016-06-02 10:44:13 -06:00
Gregory Nutt
2b47473778 Remove all references to CONFIG_SYSTEM_FLASH_ERASEALL 2016-06-02 10:19:02 -06:00
pkolesnikov
beb6acc798 timer copy 2016-06-02 12:09:42 +02:00
ziggurat29
3970c98daf Merge branch 'master' into stm32l4_usb 2016-05-30 13:52:45 -05:00
Gregory Nutt
5ef3e3e215 Replace confusing references to uIP with just 'the network' 2016-05-30 11:52:07 -06:00
Lok Tep
c00bb5d4a7 i2c 2016-05-27 00:16:55 +02:00
Gregory Nutt
b36d125e33 Merged in paulpatience/nuttx/libuavcan (pull request #31)
libuavcan: Forgot to change define
2016-05-26 09:52:34 -06:00
Gregory Nutt
001715d57b FS: Add logic to detach a file structure from a file descriptor. This is for use only within the OS. It permits an open file or driver to be used across multiple threads. 2016-05-26 09:41:50 -06:00
Paul A. Patience
5cc2fba418 libuavcan: Forgot to change define 2016-05-26 11:11:09 -04:00
Gregory Nutt
aa7a981674 Update some comments 2016-05-26 08:37:40 -06:00
Gregory Nutt
e57a6d14c3 lcd/Kconfig, Make.defs: Remove dependency of CONFIG_LCD_NXDRIVER for building non-graphic, SLCD drivers. 2016-05-26 07:21:14 -06:00
Gregory Nutt
1746e8aad3 SAM4E-EK: Fix dangle right comment introduced in recent commit 2016-05-25 15:29:32 -06:00
Gregory Nutt
78e08bbeea Purely cosmetic change from review of last PR 2016-05-25 13:29:01 -06:00
Gregory Nutt
fafc56ae80 Merged in ziggurat29/nuttx/stm32l4_i2c_lcd_mjkdz_001 (pull request #28)
complete logic in 'create stack' and 'use stack' to support stack coloration.  Fix some booboos breaking compatibility with TLS in libc.
2016-05-25 13:22:03 -06:00
Gregory Nutt
d89eefc6a5 Refresh all STM32 configurations 2016-05-25 12:39:28 -06:00
ziggurat29
397d228b2a let nucleo (stm32l4) support proc fs for info useful for debug 2016-05-25 13:11:43 -05:00
ziggurat29
0252909fc9 altered pin defs for I2C pins; these needed to be specified as open-drain (otherwise they are push-pull) 2016-05-25 13:09:52 -05:00
Gregory Nutt
9ec104834a Remove CONFIG_USARTn_ISUART 2016-05-25 11:21:48 -06:00
Gregory Nutt
c089a2f241 Rename CONFIG_ARCH_HAVE_OTHER_UART to CONFIG_OTHER_UART_SERIALDRIVER 2016-05-25 10:48:33 -06:00
Gregory Nutt
e2e6ce3f1b Rename CONFIG_ARCH_HAVE_SCIn to CONFIG_SCIn_SERIALDRIVER 2016-05-25 10:46:55 -06:00
Gregory Nutt
2a87741e72 Rename CONFIG_ARCH_HAVE_UARTn to CONFIG_UARTn_SERIALDRIVER 2016-05-25 10:45:01 -06:00
Gregory Nutt
249a2e48e5 Rename CONFIG_ARCH_HAVE_USARTn to CONFIG_USARTn_SERIALDRIVER 2016-05-25 10:39:23 -06:00
Paul A. Patience
3ca1a41626 Update Nucleo F303RE and STM32F4Discovery uavcan configurations 2016-05-25 09:39:42 -04:00
Lok Tep
4c96755219 Merge remote-tracking branch 'origin/master' 2016-05-24 23:23:57 +02:00
Gregory Nutt
4b3e710af6 Add an argument to board_app_initialize() 2016-05-24 10:51:22 -06:00
unknown
c89a5494b8 spi, copy 2016-05-24 16:57:39 +01:00
Gregory Nutt
c019c270d5 Tiva boards: Fix a naming collision, rename board-specific function from tiva_timer_initialize() to tiva_timer_configure() to remove conflict 2016-05-23 08:26:46 -06:00
pkolesnikov
7630b9db5d i2c copy 2016-05-23 15:56:56 +02:00
Gregory Nutt
1bb9c1fa39 Update README 2016-05-23 07:55:25 -06:00
pkolesnikov
5e8d2347ac copy nucleo-144 to stm32f746-ws 2016-05-23 15:05:56 +02:00
Gregory Nutt
34ce000c50 Sabre-6quad: Add an SMP configuration; Enable procfs in both configurations 2016-05-22 16:17:10 -06:00
Gregory Nutt
c7979ad49c Update README and ChangeLog 2016-05-22 15:17:03 -06:00
Gregory Nutt
5e5b6d677d Update README and ChangeLog 2016-05-22 15:05:41 -06:00
Gregory Nutt
9bd8070b34 Review of last PR 2016-05-20 18:12:05 -06:00
Gregory Nutt
56616f99d3 Forgot to add file before last commit 2016-05-20 18:09:12 -06:00
Gregory Nutt
e47714322e Merged in K-man23/nuttx/stm32f411e-disco (pull request #25)
Add basic configuration for stm32f411e-disco board with STM32F411VE chip
2016-05-20 17:54:07 -06:00
Konstantin Berezenko
a2253cdd3e Add basic configuration for stm32f411e-disco board with STM32F411VE chip 2016-05-20 16:38:25 -07:00
Steve
bd3ef36eda SUMMARY
-------
   This patch enhances networking support for the simulation under Linux.
   Includes updated support for Linux TUN/TAP, and the addition of support for
   Linux bridge devices.

CHANGES
-------
   o Check to see if the d_txavail callback is present before calling it in
     the arp send code.  This prevents a segfault when simulating the telnetd
     daemon with arp send enabled.

   o Adjust the simulation's netdriver_loop() so it will detect and respond to
     ARP requests.

   o Do not attempt to take the tap device's hardware address for use by the
     simulation.  That hardware address belongs to the host end of the link,
     not the simulation end.  Generate a randomized MAC address instead.

   o Do not assign an IP address to the interface on the host side of the TAP
     link.

   + Provide two modes: "host route" and "bridge".

   + In host route mode, maintain a host route that points any traffic for the
     simulation's IP address to the tap device.  In this mode, so long as the
     simulation's IP is a free address in the same subnet as the host, no
     additional configuration will be required to talk to it from the host.
     Note that address changes are handled automatically if they follow the
     rule of if-down/set-address/if-up, which everything seems to.

   + In bridge mode, add the tap device to the specified bridge instance.  See
     configs/sim/NETWORK-LINUX.txt for information and usage examples.  This
     enables much more flexible configurations (with fewer headaches), such as
     running multiple simulations on a single host, all of which can access
     the network the host is connected to.

   o Refresh configurations in configs/sim where CONFIG_NET=y.  They default
     to "host route" mode.

   o Add configs/sim/NETWORK-LINUX.txt

CAVEATS
-------
   - The MAC address generation code is extremely simplistic, and does not
     check for potential conflicts on the network.  Probably not an issue, but
     something to be aware of.

   - I was careful to leave it in a state where Cygwin/pcap should still work,
     but I don't have a Windows environment to test in.  This should be
     checked.

   - I don't know if this was ever intended to work with OS X.  I didn't even
     try to test it there.

NOTES
-----
   - Was able to get telnetd working and simulate nsh over telnet, but only so
     long as listen backlogs were disabled.

     There appears to be a bug in the backlog code where sockets are being
     returned in SYN_RCVD state instead of waiting until they're ESTABLISHED;
     if you perform an immediate send after accepting the connection, it will
     confuse the stack and the send will hang; additionally, the connection
     will never reach ESTABLISHED state.

     Can be worked around by adding a sleep(1) after the accept in telnetd.  I
     don't have the necessary knowledge of the IP stack to know what the
     correct fix is.
2016-05-20 17:36:14 -06:00
Alan Carvalho de Assisis
6c852faebb stm32f103-minimum: Add instructions for using the secret 128KB FLASH 2016-05-20 17:14:19 -06:00
Gregory Nutt
5c55846d2d Minor README file update 2016-05-20 17:11:49 -06:00
Gregory Nutt
356692d70e SMP: Need to enable FPU on other CPUs as well 2016-05-20 13:35:58 -06:00
Gregory Nutt
07acd5327a SMP: Clean CPU0 D-Cache before starting new CPU; Invalidate D-Cache when new CPU started. 2016-05-20 12:39:02 -06:00
Gregory Nutt
eeb4a5c230 Remove comments blocks before empty file sections 2016-05-20 07:46:10 -06:00
Gregory Nutt
2d3e653996 Mostly costmetic changes from review of last PR 2016-05-20 07:44:56 -06:00
Mark Olsson
a985e289ec Fixed User Button config for Nucleo-144 board family 2016-05-20 15:22:47 +02:00
Mark Olsson
1f869e5879 Added new configuration (evalos) for the Nucleo-144 board family.
This new configuration will showcase all the features of the boards, so is a good way to easily test out a new board. This can be added to all boards in the future.
2016-05-20 14:55:30 +02:00
Mark Olsson
02e43ab1b3 Adds support for the 3 user LEDs on the Nucleo-144 board family
Extra: procfs support doesn't work, so the code for this has been removed from AppInitialize
2016-05-20 13:45:16 +02:00
Gregory Nutt
7f7d4e664c Completely trivial changes from review of last PR 2016-05-19 14:09:00 -06:00
Gregory Nutt
34c0c7b54c Another update to README 2016-05-19 10:20:40 -06:00
Gregory Nutt
8af8d9fb05 Update README 2016-05-19 10:03:51 -06:00
Gregory Nutt
4c837d6e86 Update README 2016-05-19 07:59:31 -06:00
Gregory Nutt
66233060e2 Update README file 2016-05-19 07:25:52 -06:00
Gregory Nutt
8ace1e3be2 Remove all implementatinos of up_wdginitialize(). It is no longer used. 2016-05-18 19:48:42 -06:00
Gregory Nutt
1d2ee34131 SAM WDT: Rename up_wdginitialize() functions to something more appropriate for the internal OS interface. 2016-05-18 19:47:41 -06:00
Gregory Nutt
161bf368c1 Remove schematic... wrong board 2016-05-18 15:56:34 -06:00
Gregory Nutt
5d574549bd stm32f103-minimum: Add schematic; remove unused watchdog driver logic 2016-05-18 15:37:42 -06:00
Gregory Nutt
67756f1f70 Refresh configurations 2016-05-18 13:49:38 -06:00
Alan Carvalho de Assis
104b695645 configs: Add support for the generic STM32F103CBT6 Minimum Board 2016-05-18 13:33:17 -06:00
Gregory Nutt
f7fd8c6539 Trivial typo fix 2016-05-18 11:56:19 -06:00
Gregory Nutt
f454b38d6e ARMv7-A SMP: Allow CONFIG_SMP_NCPUS=1 for testing purposes 2016-05-18 09:17:02 -06:00
Gregory Nutt
3d87005e5a Fix some compilation issues when certain combinations of debug options are selected. 2016-05-17 12:06:32 -06:00
Gregory Nutt
8bd57a7fbc Sabre-6Quad: Fix sense of LED discrete output. It appears that a high value illuminates the LED. 2016-05-17 10:08:44 -06:00
Gregory Nutt
b416f6cc1b i.MX6: Calibrate delay loop 2016-05-17 08:22:38 -06:00
Gregory Nutt
5d44fd6a00 i.MX6: LEDs were not working because board_autoled_initialize() was not being called 2016-05-17 08:10:49 -06:00
Gregory Nutt
4c08492c0f i.MX6: Fix a bit setting in the timer configuration 2016-05-17 07:21:18 -06:00
Aleksandr Vyhovanec
80a9357b6f wfi.mac should be copied into the directory with the IAR project. Then set it to "Options -> Debugger -> Setup macro file(s)". This will allow debugging via JTAG when calling the WFI instruction. 2016-05-17 06:45:00 -06:00
Gregory Nutt
e6728bac29 Cortex-A9 GIC: Add an interface to set interrupt edge/level trigger 2016-05-16 14:42:55 -06:00
Gregory Nutt
4feeb0c2b4 Cortex-A9 GIC: Some fixes that I don't fully understand but do indeed give me serial interrupts 2016-05-16 12:50:35 -06:00
Gregory Nutt
a0cdbcb58f Update README 2016-05-16 08:44:18 -06:00
ziggurat29
aa51ace46d initial code for USB OTG support in STM32L4. Builds, but needs debugging. 2016-05-14 08:15:48 -05:00
Gregory Nutt
a1e066d6a5 Merge remote-tracking branch 'origin/master' into nucleo-144 2016-05-13 11:51:22 -06:00
Gregory Nutt
7c52b8ddae Add a .noinit section to all ARMv7-A linker scripts 2016-05-13 08:05:21 -06:00
Gregory Nutt
99e695398c Rename up_boot to arm_boot 2016-05-12 13:42:49 -06:00
Gregory Nutt
365df152c5 Remove TABs and while space from end of line in README file 2016-05-12 12:26:56 -06:00
Gregory Nutt
61f6915898 Update README files 2016-05-12 10:01:43 -06:00
David Sidrane
d03b0f5188 README.txt file for the nucleo-144 2016-05-12 09:56:32 -06:00
Gregory Nutt
abc0481a57 Port for the Nucleo-144 board with the STM32F476ZG MCU. From Kconstantin Berezenko. 2016-05-12 09:47:54 -06:00
Gregory Nutt
1ac3d2128a Trivial fix to comment 2016-05-11 17:20:14 -06:00
Gregory Nutt
e523c93391 Several Makefiles: Add .PHONY definitions to prevent 'clean up to date' message weirdness. 2016-05-10 15:44:06 -06:00
Gregory Nutt
5e9b1c615f Merged in paulpatience/nuttx/userleds (pull request #13)
userleds: Don't select ARCH_LEDS with BOARD_CUSTOM_LEDS, otherwise we can't use the board_userled* functions
2016-05-08 01:37:31 -06:00
Gregory Nutt
0143b3869a Merged in ziggurat29/nuttx/stm32l4_update_rtc_impl (pull request #14)
Stm32l4_update_rtc_impl
2016-05-08 01:24:09 -06:00
ziggurat29
523591736f trivial; enable the 'alarms' example app in the STL32L4-disco config, since it is now working 2016-05-07 12:24:15 -05:00
ziggurat29
1e5910a99d update nucleo l476 config and code to support the RTC and the alarms functionality 2016-05-07 12:03:18 -05:00
Paul A. Patience
dfff78d7ab userleds: Don't select ARCH_LEDS with BOARD_CUSTOM_LEDS, otherwise we can't use the board_userled* functions 2016-05-05 12:29:43 -04:00
Gregory Nutt
c31ec6bdad Merged in paulpatience/nuttx/uavcan (pull request #12)
UAVCAN: Update version
2016-05-05 03:23:26 -06:00
Paul A. Patience
e6e2552a12 UAVCAN: Update version 2016-05-03 17:18:57 -04:00
ziggurat29
dedcbeba2e add unique id function to arch, modded board to support unique id boardctl 2016-05-03 11:09:23 -05:00
Gregory Nutt
a95e426d35 Costmetic changes from last PR 2016-04-30 09:04:38 -06:00
ziggurat29
2fe0565437 added support for HSE and MSI clocks, and auto trim of MSI to LSE (needed for USB). 2016-04-29 22:13:32 -05:00
Gregory Nutt
61fbef5727 Costmetic changes from review or PR 2016-04-28 02:39:27 -06:00
ziggurat29
97ea667a7a refresh defconfig 2016-04-27 19:51:49 -05:00
ziggurat29
2bfb326994 add board ioctls for allowing user application to cause qspi memory mapped mode to be engaged and disengaged. Also partitioned qspi flash for filesystem and other purposes (eventually xip). 2016-04-27 19:36:43 -05:00
Gregory Nutt
2d3529294e Merged in ziggurat29/nuttx/stm32l4_qspi_005 (pull request #6)
QSPI DMA support in STM32L4, and DMA fixes...
2016-04-24 16:53:33 -06:00
ziggurat29
1baf943dca update stm32l4 disco board to reflect QSPI DMA support; refresh defconfig 2016-04-24 16:29:52 -05:00
Gregory Nutt
422769e859 Update README. Improve some debug output. 2016-04-23 14:27:32 -06:00
Gregory Nutt
d4ac277df8 Mostly costmetic updates to comments, README 2016-04-23 13:26:52 -06:00
Gregory Nutt
f3499b173a VNC: Fix a memory clobblering bug 2016-04-23 10:21:49 -06:00