Commit Graph

25716 Commits

Author SHA1 Message Date
Gregory Nutt
e27e87a957 Backing out part of last commit 2016-05-19 15:46:07 -06:00
David Sidrane
8fac871cc9 Adds a JTAG config and ERASE config to Kconfig to set the CCFG_SYSIO SYSIO Pins
• SYSIO4: PB4 or TDI Assignment
0: TDI function selected.
1: PB4 function selected.
• SYSIO5: PB5 or TDO/TRACESWO Assignment
0: TDO/TRACESWO function selected.
1: PB5 function selected.
• SYSIO6: PB6 or TMS/SWDIO Assignment
0: TMS/SWDIO function selected.
1: PB6 function selected.
• SYSIO7: PB7 or TCK/SWCLK Assignment
0: TCK/SWCLK function selected.
1: PB7 function selected.
• SYSIO12: PB12 or ERASE Assignment
0: ERASE function selected.
1: PB12 function selected.

The thing I did not add is warning or compilation failure, (to save the next guy the hassle), at ALL the driver points that uses the these pins.

I did remove this

  /* To use the USART1 as an USART, the SYSIO Pin4 must be bound to PB4
   * instead of TDI
   */

  uint32_t sysioreg = getreg32(SAM_MATRIX_CCFG_SYSIO);
  sysioreg |= MATRIX_CCFG_SYSIO_SYSIO4;
  putreg32(sysioreg, SAM_MATRIX_CCFG_SYSIO);

in sam_lowputc.c in favor of an #error - because the default is an input TDI and driving it blindly to an output TXD1, would be a contention.
2016-05-19 14:33:54 -06:00
Gregory Nutt
7f7d4e664c Completely trivial changes from review of last PR 2016-05-19 14:09:00 -06:00
Gregory Nutt
5ec7ac21a8 Merged in slorquet/nuttx/can (pull request #22)
CAN support for STM32L4
2016-05-19 14:00:58 -06:00
Sebastien Lorquet
ef66f641e9 small fix left from stm32 2016-05-19 21:57:59 +02:00
Sebastien Lorquet
6642898ee4 Merge branch 'master' into can 2016-05-19 21:49:31 +02:00
Sebastien Lorquet
8aae953f67 CAN support for STM32L4 2016-05-19 19:13:04 +02: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
c0653dc238 Update ChangeLog 2016-05-19 07:51:06 -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
c364faeefc SAM WDT: Rename up_wdginitialize() functions to something more appropriate for the internal OS interface. 2016-05-18 19:47:48 -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
ca04284750 Remove comment blocks for empty file sections 2016-05-18 13:00:36 -06:00
Gregory Nutt
4e71c4c9ef Correct some typos in comments 2016-05-18 12:49:07 -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
32838fcc2c enter/leave_critical_section: In SMP configuration, may attempt to access the task lists before they have been initialized 2016-05-18 09:17:01 -06:00
Gregory Nutt
72de45b7cf Merged in david_s5/nuttx/upstream_to_greg (pull request #21)
Fixed Break changes needed CONFIG_SERIAL_TERMIOS to build
2016-05-17 18:09:23 -06:00
David Sidrane
f444f061d6 Fixed Break changes needed CONFIG_SERIAL_TERMIOS to build 2016-05-17 14:04:51 -10:00
Gregory Nutt
5fc619eb1b Changes from review of last PR 2016-05-17 17:39:27 -06:00
Gregory Nutt
4aeb06a79d Merged in david_s5/nuttx/upstream_to_greg (pull request #20)
Upstream_to_greg
2016-05-17 17:30:45 -06:00
David Sidrane
bef5552eba Support BSD compatible breaks on stm32fl4 U[S]ART 2016-05-17 13:09:34 -10:00
David Sidrane
3ffe7c378f Support BSD compatible breaks on stm32f7 U[S]ART 2016-05-17 13:09:34 -10:00
David Sidrane
b11f49e7f1 Support BSD compatible breaks on stm32 U[S]ART 2016-05-17 13:09:34 -10:00
Gregory Nutt
3d87005e5a Fix some compilation issues when certain combinations of debug options are selected. 2016-05-17 12:06:32 -06:00
David Sidrane
55d8b0e277 Use the correct register and bit to send an STM32 non-bsd compatible break 2016-05-17 07:55:33 -10:00
Gregory Nutt
fb484a581f All GCC final arch/*/src/Makefiles: Allow --start-group and --end-group to be redefined for the case where GCC is used to link (instead of LD). Suggested by Paul Alexander Patience. 2016-05-17 10:43:15 -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
0fe64839db i.MX6: Fix comparison values in system timer setup. Clock was running 3x too fast. 2016-05-17 10:08:06 -06:00
Gregory Nutt
1047d63f52 Update ChangeLog 2016-05-17 08:24:09 -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
91a7da15c6 Merged nuttx/nuttx into master 2016-05-14 07:42:23 -05:00
Gregory Nutt
a3f3cc12c0 Update some comments; Fix grammatic error in ChangeLog. 2016-05-13 17:36:08 -06:00
Gregory Nutt
09a58263c8 Update ChangeLog 2016-05-13 12:19:26 -06:00
Gregory Nutt
a42533867b Merge branch 'nucleo-144' 2016-05-13 11:55:56 -06:00
Gregory Nutt
a1e066d6a5 Merge remote-tracking branch 'origin/master' into nucleo-144 2016-05-13 11:51:22 -06:00
Gregory Nutt
faca2fb1e7 ARMv7-A/i.MX6: Add logic to handle allocation of CPU IDLE thread stacks more efficiently 2016-05-13 11:39:42 -06:00