Commit Graph

12006 Commits

Author SHA1 Message Date
Frank Benkert
73de0d9114 SAMV7: TWIHS: Correct Error Handling 2016-03-08 06:47:22 -06:00
Frank Benkert
945e137382 SAMV7: TWIHS: Correct timeout calculation; correct some issues with Multi-Message-Transfer 2016-03-08 06:44:41 -06:00
Gregory Nutt
c13cb0f839 Update submodules 2016-03-07 16:14:52 -06:00
Gregory Nutt
f46298105a i.MX6: Add skeleton clockconfig file. Fix some naming problems. Add some warnings. 2016-03-07 16:14:13 -06:00
Gregory Nutt
0d7edfd370 i.MX6: Add CCM header file 2016-03-07 15:01:38 -06:00
Gregory Nutt
3b1812b50f i.MX6 UART: Update periperal clock logic; Remove use of UART bits from i.MX1 that don't exist in i.MX6 2016-03-07 14:08:53 -06:00
Gregory Nutt
912008a883 i.MX6: Finish off some missing IOMUXC register bit definitions 2016-03-07 12:22:27 -06:00
Gregory Nutt
012f1c0e90 i.MX6: Some fixes for compiling imx_lowput.c. Still some missing clocking definitions. 2016-03-07 09:02:29 -06:00
Gregory Nutt
a67de9ce24 i.MX6: Add imx_lowputc.c; repartition some serial logic 2016-03-07 08:21:03 -06:00
Gregory Nutt
1992d57294 i.MX6: Add pin multiplexing header file 2016-03-06 21:30:37 -06:00
Gregory Nutt
93b6543a1f Update submodules 2016-03-06 16:20:04 -06:00
Gregory Nutt
dd7a4fb6a4 i.MX6: Modify encoding of GPIOs; add support for peripherals 2016-03-06 16:19:14 -06:00
Gregory Nutt
be594b8932 i.MX6 Add more IOMUX logic 2016-03-06 15:44:54 -06:00
Gregory Nutt
9b5e88af71 Update some comments 2016-03-06 13:50:26 -06:00
Gregory Nutt
2b0124b9f2 i.MX6: Add a little more GPIO/IOMUX logic 2016-03-06 13:49:34 -06:00
Gregory Nutt
cbf7401dfb i.MX6 GPIO: Add IOMUXC logic to set pin as a GPIO 2016-03-06 12:24:24 -06:00
Gregory Nutt
0f825eed3d i.MX6: Add PADCTL register offsets 2016-03-06 09:37:43 -06:00
Gregory Nutt
af76adf06f i.MX6: Simply some IOMUXC naming 2016-03-06 08:54:45 -06:00
Gregory Nutt
dd27fce4eb Remove some whitespace at the end of the line 2016-03-05 09:18:30 -06:00
Gregory Nutt
56eebbbfe1 i.MX6: Add some basic, incomplete GPIO controls 2016-03-05 09:16:08 -06:00
Gregory Nutt
d938c1cd8c SAMV7: Use sem_reset() instead of sem_init() to set a semaphore count 2016-03-05 07:44:18 -06:00
Gregory Nutt
5d63cd85c7 sched/semaphore: Add an internal interface to reset a semaphore count. 2016-03-05 07:33:24 -06:00
Gregory Nutt
5c881e6d2e i.MX6: minor updates to last commit 2016-03-04 18:44:30 -06:00
Gregory Nutt
5100e7a623 i.MX6: Add some preliminary definitions to handle other family members 2016-03-04 18:43:16 -06:00
Gregory Nutt
f41189d828 i.MX6: Add IOMUXC header file 2016-03-04 16:19:34 -06:00
Frank Benkert
2297fdb714 SAMV71 and SAME70: Place the Main Oscillator Enable in the board.h 2016-03-04 12:31:54 -06:00
Gregory Nutt
88f0d35bce i.MX6: Add high-level GPIO header file 2016-03-04 12:27:11 -06:00
Gregory Nutt
910e649616 Add a debug assertion for logic error in previous commit 2016-03-04 10:28:13 -06:00
Frank Benkert
a115e13e06 SAMV7 MCAN: use FIFO mode instead of QUEUE mode; improve error reporting
When using QUEUE mode sometimes the counting semaphore indicates there is no space left in the TX buffers, but in fact there is.  This leads to a situation, where all TX buffers are empty and the driver
still waits for space in the buffers.  The switch from QUEUE mode to FIFO mode is just a workarround to make the semaphore counting self repairing.

The Error reporting is changed due to some Error Interrupts not reporting states, they are reporting state changes. To keep this into Account the static Error conditions like WARNING, PASSIVE or BUS_OFF are filled in
every time.
2016-03-04 10:15:35 -06:00
Gregory Nutt
7fd57d1591 Some fixes to last commit 2016-03-04 08:20:28 -06:00
Gregory Nutt
7887971ea5 i.MX6: Add GPIO header file 2016-03-04 08:17:13 -06:00
Gregory Nutt
f74d2a9f51 i.MX1: Rename imx_boardinitialize to imx_board_initialize 2016-03-03 16:42:07 -06:00
Gregory Nutt
16e93f5d41 i.MX6: Bring i.MX1 serial driver into i.MX6. Basically the same IP but does not yet compile due to some small differences, missign GPIO configuration logic, and missing clocking logic 2016-03-03 16:31:56 -06:00
Gregory Nutt
bff9eaab1e i.MX6: Add UART header file 2016-03-03 15:11:26 -06:00
Gregory Nutt
c404eae718 Costmetic update to comments 2016-03-03 09:12:13 -06:00
Gregory Nutt
3a14a4c4c6 i.MX6: Put in basic framework for interrupt handling 2016-03-03 08:50:56 -06:00
Gregory Nutt
a0783791a9 GIC: Fix some name collisions and naming inconsistencies 2016-03-03 08:50:25 -06:00
Gregory Nutt
c75e594350 SAMV7 USBHS Device: Reorder some interrupt handling logic to avoid losing an interrupt and to avoid a race condition 2016-03-02 14:58:17 -06:00
Gregory Nutt
52d499ba33 ARMv7-A: Add hooks for some common GIC logic 2016-03-02 14:56:54 -06:00
Gregory Nutt
5703f72a94 i.MX6: Add some boot logic. Mostly just cloned from the SAMA5D 2016-03-02 12:59:41 -06:00
Gregory Nutt
bed5aa8731 Add IMX_NCPUS to i.MX6 chip.h file 2016-03-02 10:28:09 -06:00
Gregory Nutt
0270530f75 Cosmetic change to spacing 2016-03-01 14:42:13 -06:00
Gregory Nutt
8899cef78e Update submodules 2016-03-01 14:19:06 -06:00
Gregory Nutt
b466f18daf i.MX6: Some fixes for early compile issues 2016-03-01 14:15:43 -06:00
Gregory Nutt
480eab8423 Update ChangeLog 2016-03-01 12:59:12 -06:00
Gregory Nutt
db61cdefe7 Merge branch 'master' of bitbucket.org:nuttx/arch 2016-03-01 12:56:58 -06:00
Gregory Nutt
c05ae8ee99 i.MX6: Add basic memory map tables 2016-03-01 12:56:36 -06:00
Gregory Nutt
db331d47dd ARMv7-A: Clean up some kruft in gic.h 2016-03-01 12:55:48 -06:00
Gregory Nutt
2cafb5cf6c ARMv7-A: Clean up some kruft in gic.h 2016-03-01 12:55:39 -06:00
Gregory Nutt
52d777fa8d Merged in paulpatience/nuttx-arch/stm32f469 (pull request #56)
STM32: Add support for STM32F46xxx
2016-03-01 11:53:07 -06:00
Gregory Nutt
f552aa3ee8 Merged in paulpatience/nuttx-arch/stm32f30xxx_pinmap (pull request #55)
STM32: Rename STM32F30xxx ADC pins to be more consistent
2016-03-01 11:38:44 -06:00
Paul A. Patience
099990f3da STM32: Add support for STM32F46xxx 2016-03-01 12:18:07 -05:00
Paul A. Patience
221b49cf05 STM32: Rename STM32F30xxx ADC pins to be more consistent 2016-03-01 09:55:59 -05:00
Gregory Nutt
a496c9e755 i.MX6: Make naming of MPCore address regions consistent 2016-03-01 08:38:13 -06:00
Gregory Nutt
f2eb90cd1c i.MX6: Add definition of base address of ARM multi-core registers 2016-03-01 08:26:30 -06:00
Gregory Nutt
6949ff553b ARMv7-A: Revamp gic.h. Add mpcore.h 2016-03-01 08:21:26 -06:00
Gregory Nutt
bb62237c80 ARMv7-A: gic.h: Use register names from MPCore spec 2016-02-29 19:25:59 -06:00
Gregory Nutt
1fdc8db30c ARMv7-A: Add GIC register definition header file 2016-02-29 18:13:51 -06:00
Gregory Nutt
fe7331900c i.MX6 add dummy chip.h header files 2016-02-29 14:08:16 -06:00
Gregory Nutt
c02ede8fa0 Update README 2016-02-29 13:18:42 -06:00
Gregory Nutt
0d54cfa7ad i.MX6: Some tweaks to the Kconfig files 2016-02-29 13:17:18 -06:00
Gregory Nutt
ad69f9d045 i.MX6: Add memory map header file 2016-02-29 12:26:21 -06:00
Gregory Nutt
4e5b80f4a6 Update submodules 2016-02-28 15:32:58 -06:00
Gregory Nutt
a0cdd1ddb1 Add a rudimentary arch/arm/src/imx6 directory for the i.MX6 family 2016-02-28 15:32:36 -06:00
Gregory Nutt
75973db9cc Change name IMX to IMX1 in configuration variable names to make room for i.MX6 2016-02-28 15:18:43 -06:00
Gregory Nutt
4ad08a2d85 Update ChangeLog 2016-02-28 14:17:39 -06:00
Gregory Nutt
0a9920a87a i.MX6: Add IRQ header file 2016-02-28 14:07:53 -06:00
Gregory Nutt
300edb9b0f Update ChangeLog 2016-02-27 10:37:42 -06:00
Gregory Nutt
74e5336b39 Rename the imx/ directories to imx1/ to make room in the namespace for other members of the i.MX family 2016-02-27 10:29:24 -06:00
Gregory Nutt
1ed1765e1a sys/socket.h: Add IEEE802.15-4 protocol family 2016-02-25 08:19:10 -06:00
Frank Benkert
2980985933 SAMV7 SPI: Revise support for Peripheral Chip Select Decoding to address up to 15 slaved 2016-02-25 08:13:33 -06:00
Gregory Nutt
f1a196cd40 Revert "SAMV7 SPI: Add support for Peripheral Chip Select Decoding to address up to 15 slaved"
This reverts commit 733010246bc55e28b8c99bc13798955a207c9860.
2016-02-25 08:05:39 -06:00
Gregory Nutt
bcbd8ee964 Networking: Cosmetic change 2016-02-24 19:02:51 -06:00
Gregory Nutt
0da57e1b53 It is too late to be doing this... Fix the spacing error introduced with the second correction to the spelling error 2016-02-24 17:56:40 -06:00
Gregory Nutt
29297da2a7 Another spelling error 2016-02-24 17:55:30 -06:00
Gregory Nutt
550e0f945b STM32 I2C: Fix some spelling; duplicate I2C reset fix on other variants of the driver 2016-02-24 16:45:45 -06:00
David Sidrane
3b871c4fa2 No really removed spaces 2016-02-24 22:23:39 +00:00
David Sidrane
052b45db0a Added spacing back 2016-02-24 22:21:07 +00:00
Gregory Nutt
d19e9cc448 networking: cosmetic changes 2016-02-24 16:10:20 -06:00
David Sidrane
aa6968dcd5 Ensures frequency is updated on reinitalized bus 2016-02-24 12:02:11 -10:00
Frank Benkert
c263fe1c8b SAMV7 SPI: Add support for Peripheral Chip Select Decoding to address up to 15 slaved 2016-02-24 13:47:15 -06:00
Gregory Nutt
0682671ffe Update Kconfig help comments 2016-02-23 06:38:51 -06:00
Gregory Nutt
9c9107171d Fix Kconfig help comments 2016-02-23 06:38:29 -06:00
Gregory Nutt
11d17572a1 Update Kconfig help comments 2016-02-23 06:37:44 -06:00
Gregory Nutt
c620b321b1 FAT: Add a new configuration option to decouple the logic that retries the direct transfer from the logic that enables DMA memory allocators. 2016-02-22 18:25:58 -06:00
Gregory Nutt
52d4bb24b5 Cosmetic: Remove some harmless kruft left in last commit 2016-02-22 16:58:42 -06:00
Gregory Nutt
d493e13792 Missed a couple of places in the last commit 2016-02-22 16:52:26 -06:00
Gregory Nutt
08f0086771 SAMV7 HSCMI: Don't assert of the data buffer is unaligned. Instead, return -EFAULT. This will allow the FAT file system to utilize the CONFIG_FAT_DMAMEMORY option and fix the problem from the file system 2016-02-22 16:44:33 -06:00
Gregory Nutt
7c44444883 FAT: Add an option to force all transfers to be performed indirectly through the FAT file system's internal sector buffers 2016-02-22 16:26:04 -06:00
Gregory Nutt
1446784fbd Cosmetic: Improve some comments; correct some code indentation. 2016-02-22 15:43:58 -06:00
Gregory Nutt
557756c8b4 Improve a debug assertion 2016-02-22 15:02:07 -06:00
Gregory Nutt
9e9c50a1a3 SAMV7 HSMCI: Add a configuration otpion to allow HSMCI to handle unaligned I/O buffers 2016-02-22 14:52:24 -06:00
Gregory Nutt
07bde1fd73 Missing semicolon in prototype 2016-02-22 13:40:27 -06:00
Gregory Nutt
bc0648119e Update submodules 2016-02-22 09:09:24 -06:00
Michael Spahlinger
96f3d618a1 SAMV7: Add CHIP ID and RSTC header file 2016-02-22 09:08:39 -06:00
Gregory Nutt
0fb035f76b Standardize some naming in code section comments 2016-02-21 18:09:04 -06:00
Gregory Nutt
9c63736c98 Standard some naming if code sectino comments 2016-02-21 18:06:09 -06:00
Gregory Nutt
c6a0f284e4 Remove comments before empty sections in C files 2016-02-21 14:19:01 -06:00
Gregory Nutt
143d287f11 Fix some missing header file inclusions and a misplaced semi-colon from recent commits 2016-02-21 11:27:55 -06:00
Gregory Nutt
9b3651f7a9 Remove comments before empty sections in C files 2016-02-21 11:26:43 -06:00
Gregory Nutt
0eadf1dcad Costmetic change + update submodules 2016-02-20 14:57:05 -06:00
Gregory Nutt
bd0d46138c SIM: Trivial, uninteresting change to file inclusion in IDLE loop 2016-02-20 14:56:25 -06:00
Gregory Nutt
9b214957a6 Update submodules 2016-02-19 08:19:14 -06:00
Gregory Nutt
e9bf66989e LPC43xx: Add RS485 configuration settings to Kconfig; For RS485, add an option to select DTR as the DIR pin 2016-02-19 07:59:24 -06:00
Gregory Nutt
fd94d7a675 Update TODO 2016-02-19 06:52:41 -06:00
Gregory Nutt
9b96057dc0 LPC43 VBUS sensing option should also depend on CONFIG_USDBDEV 2016-02-18 19:14:38 -06:00
Dave Marples
41b56a5f09 Enable the Ethernet for the LPC4330 and autonegotiation when the MAC is a LAN8720. 2016-02-18 19:07:33 -06:00
Gregory Nutt
6d97249348 Trivial, cosmetic changes 2016-02-18 14:56:48 -06:00
Gregory Nutt
de885064d2 SIM: Clean up some comments 2016-02-18 14:56:17 -06:00
Gregory Nutt
526c90986a sim SMP: CPU0 should not be the main thread. That introduces an asymmetry since the main thread has no pthread_t ID. Instead, start an additional pthread for CPU0. The main thread will just wait and do nothing in this case 2016-02-18 14:54:48 -06:00
Gregory Nutt
1780000777 SMP: Setting bit for wrong CPU. Assertion has cause false alarm crashes.. 2016-02-18 12:31:21 -06:00
Gregory Nutt
08e2fc0be8 Can't call sdbg() from a signal handler; And another name to nuttx-names.dat 2016-02-18 12:29:37 -06:00
Gregory Nutt
3508e22f3f SMP: Rename sim_cpupause to sim_cpu_pause for consistency with other naming 2016-02-18 11:46:08 -06:00
Gregory Nutt
3deac3d43d SMP: Initial implementation of up_cpu_pause and up_cpu_resume. Does not yet work. 2016-02-18 11:12:43 -06:00
Gregory Nutt
95735519dd SMP: Cosmetic renaming to clarify functionality of SMP interfaces. Update comments. 2016-02-17 13:36:25 -06:00
Gregory Nutt
e3ea40e4f9 SMP: Cosmetic renaming to clarify functionality of SMP interfaces. Update comments. 2016-02-17 13:35:23 -06:00
Gregory Nutt
6dfa72d038 SMP: Fix some dumb but difficult to debug errors 2016-02-16 16:43:19 -06:00
Gregory Nutt
063caf3a90 Add warnings and some comments 2016-02-16 16:08:59 -06:00
Gregory Nutt
384e51cb05 Add some additional schedule instrumentation 2016-02-16 15:21:45 -06:00
Gregory Nutt
8ac45d4f4d Add some additional schedule instrumentation 2016-02-16 15:19:44 -06:00
Gregory Nutt
b4dae46fd7 SIM: Add scheduler instrumentation 2016-02-16 13:40:15 -06:00
Gregory Nutt
a442245479 SMP: Fix some non-SMP errors that crept in; fix a recursion problem; re-partition some functionality to improve design and readability 2016-02-16 10:14:33 -06:00
Gregory Nutt
9234eec334 SIM: Needs to include stdint.h 2016-02-16 10:12:06 -06:00
Gregory Nutt
55d33fd912 Update some comments 2016-02-16 07:50:18 -06:00
Gregory Nutt
17cf9a57a0 Update some comments 2016-02-16 07:50:09 -06:00
Gregory Nutt
1e218415d6 Most cosmetic; fix spelling of teriminate 2016-02-16 07:24:28 -06:00
Gregory Nutt
fccef49305 Cosmetic changes to comments 2016-02-15 13:48:08 -06:00
Gregory Nutt
d2f13e4b12 SIM: If SMP is enabled, show CPU on assertion 2016-02-15 13:47:05 -06:00
Gregory Nutt
cfcd98ca89 SMP: Used wrong point to wrong TCB 2016-02-15 11:45:34 -06:00
Gregory Nutt
e238b29ddf SIM: Add pthread_yield to the list of name collisions 2016-02-15 11:44:53 -06:00
Gregory Nutt
c7df82147f SMP: First cut integration of enter/leave_critical_section and the scheduler. There are some issues. 2016-02-15 08:06:17 -06:00
Gregory Nutt
441cd2bf1c Fix a typo introduced in last set of name changes 2016-02-14 19:58:30 -06:00
Gregory Nutt
349e5bc3ec Fix some LPC31 and LPC43 errors introduced by a recent pull request 2016-02-14 19:35:40 -06:00
Gregory Nutt
8b7dd552a3 Fix a typo introduced in last big set of name changes 2016-02-14 17:44:45 -06:00
Gregory Nutt
4d0103f210 Update ChangeLog 2016-02-14 16:55:06 -06:00
Gregory Nutt
666cc280f4 Rename irqenable() to up_irq_enable(); rename irqdisable() to up_irq_disable() 2016-02-14 16:54:09 -06:00
Gregory Nutt
9cb2a6b1f9 Rename irqsave() and irqrestore() to up_irq_save() and up_irq_restore() 2016-02-14 16:19:15 -06:00
Gregory Nutt
83bc1c97c3 Rename irqsave() and irqrestore() to up_irq_save() and up_irq_restore() 2016-02-14 16:11:25 -06:00
Gregory Nutt
d09db96a7c Update ChangeLog 2016-02-13 19:28:57 -06:00
Gregory Nutt
2cd8d279d2 Missed a few name changes 2016-02-13 19:16:51 -06:00
Gregory Nutt
70e502adb0 Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section() 2016-02-13 19:11:09 -06:00
Gregory Nutt
3caffdd82e Standardization of some naming in preparation for a large automated change 2016-02-13 12:57:09 -06:00
Gregory Nutt
3f7f58de9d SMP: Fix some debug assertion problems when DEBUG is enabled; Partial fix for one bring-up issue 2016-02-12 17:13:38 -06:00
Gregory Nutt
a884818e32 SIM: Add empty stubs for SMP function up_cpustop and up_cpustart 2016-02-12 17:12:01 -06:00
Gregory Nutt
e7d077a389 LPC31: Fix some definitions to match LPC43 2016-02-12 16:30:30 -06:00
Gregory Nutt
7d7f4e140c OS: Add a RUNNABLE attribute to the tasklists to indicate if the task list includes the currently executing task. Use this additional bit of information to determine if a context switch could really occur when removing a TCB from a task list 2016-02-12 08:15:16 -06:00
Gregory Nutt
d22aa4b588 SIM: In SMP simulation, use pthread_yield(), not up_hostusleep() to reliquish the CPU. 2016-02-12 08:13:44 -06:00
Gregory Nutt
76e88c8963 SMP: Removed unused macros, update comments, update sched_removereadytorun for SMP 2016-02-11 17:24:19 -06:00
Gregory Nutt
62e6275fe5 SIM:Add missing mutex unlock; need to used up_hostusleep(), not usleep(), in up_idle 2016-02-11 17:18:28 -06:00
Gregory Nutt
c315479a04 SMP: Move IDLE thread init logic from sim to OS; need to assign unique IDs to each IDLE task 2016-02-11 14:11:26 -06:00
Gregory Nutt
e41de0a00e SIM: Move IDLE thread initialization from sim to OS since it should be common 2016-02-11 14:10:19 -06:00
Gregory Nutt
ddbc948895 SMP: Minor SMP-related clean-up/improvements 2016-02-11 12:18:54 -06:00
Gregory Nutt
ac6c9cf617 SIM: Add SMP idle thread setup logic -- forgot to add files before last commit. 2016-02-11 12:17:41 -06:00
Gregory Nutt
b087cb7f9a SIM: Add SMP idle thread setup logic 2016-02-11 12:16:19 -06:00
Gregory Nutt
89bea6917c Kconfig: Architecture must indicate that it support multiple CPUs in order to enable SMP 2016-02-10 17:31:16 -06:00
Gregory Nutt
2f08f2fe6c Missed something in the last commit 2016-02-10 17:30:29 -06:00
Gregory Nutt
0dbbf19fea SIM: Kconfig now indicates that it supports multiple CPUs. 2016-02-10 17:29:04 -06:00
Gregory Nutt
8a1789ba11 Update ChangeLog 2016-02-10 14:58:55 -06:00
Gregory Nutt
52f88b0625 SIM: Add simulation of a multi-CPU processor 2016-02-10 14:58:21 -06:00
Gregory Nutt
47a5663f8c SMP: A few preliminary data structure definitions 2016-02-10 11:45:26 -06:00
Gregory Nutt
5e91bf9a03 SIM: Add a fake spinlock.h header file that may be useful someday for testing of SMP features 2016-02-10 10:33:37 -06:00
Gregory Nutt
b022f1e9d8 Add basic support for spinlocks (not currently used by anything) 2016-02-09 13:48:59 -06:00
Gregory Nutt
6181711942 Correct some comments 2016-02-09 13:48:16 -06:00
Gregory Nutt
a6eb9a351c Add spinlock support for ARMv7-M architectures 2016-02-09 13:44:22 -06:00
Gregory Nutt
98e9e7d768 Add spinlock support for ARMv7-R architectures 2016-02-09 13:01:32 -06:00
Gregory Nutt
5d449e9991 Add spinlock support for ARMv7-A architectures 2016-02-09 12:53:10 -06:00
Gregory Nutt
74db48202e sched/: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 17:44:41 -06:00
Gregory Nutt
24428f7a59 z80 family: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 17:32:25 -06:00
Gregory Nutt
4078a3134e z16: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 17:17:17 -06:00
Gregory Nutt
b0bcd82ba7 x86: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 17:10:44 -06:00
Gregory Nutt
a1126361da sim: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 17:05:55 -06:00
Gregory Nutt
edc51a14cd SH: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 17:00:02 -06:00
Gregory Nutt
2dff5b27b7 SH: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 16:56:49 -06:00
Gregory Nutt
dc574dfd2e RGMP: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 16:52:38 -06:00
Gregory Nutt
b373894fbc MIPS: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 16:49:34 -06:00
Gregory Nutt
2b8d1fcbdb HC: Replace explicit references to g_readytorun with indirect references via the macro this_task() 2016-02-06 15:20:08 -06:00
Gregory Nutt
c62177be00 AVR: Replace explicit references to g_readytorun with indirect references via the macro this_task() 2016-02-06 13:55:15 -06:00
Gregory Nutt
ed4e3c0a9e ARM: Replace explicit references to g_readytorun with indirect references via the macro this_task() 2016-02-06 13:41:28 -06:00
Gregory Nutt
50cf53914c Update submodule; Improve some comments 2016-02-05 10:23:39 -06:00
Gregory Nutt
03b382d443 SAM3/4, SAMA5, SAMv7 Tickless: Refuse to call lower-level timer logic if not yet initialized 2016-02-05 10:22:11 -06:00
Gregory Nutt
e8a39c5eff Update submodules 2016-02-04 12:17:54 -06:00
Gregory Nutt
341fbe1186 Rename all tiva_spi functions to tiva_ssi 2016-02-04 10:33:15 -06:00
Gregory Nutt
ef64f8b3f4 Missed spiinitialize name change 2016-02-04 10:15:51 -06:00
Gregory Nutt
b5024263e9 Networking: Add a trivial cast 2016-02-03 18:12:19 -06:00
Gregory Nutt
d511afd507 LPC31: Fix an unmatching function prototype 2016-02-03 18:11:42 -06:00
Gregory Nutt
dea24c503a Networking: Remove the HSEC argument from devif_timer. 2016-02-03 12:12:41 -06:00
Gregory Nutt
1166e311b0 Networking: Remove the HSEC argument from devif_timer. 2016-02-03 11:17:15 -06:00
Gregory Nutt
42c365aab1 Duplicate Manuel's EMAC driver fix to every other driver that supports CONFIG_NET_NOINTS 2016-02-03 10:34:10 -06:00
Gregory Nutt
578402f8b5 Fix some spacing in a comment 2016-02-03 10:33:59 -06:00
Gregory Nutt
d2b2cd3415 Duplicate Manuel's EMAC driver fix to every other driver that supports CONFIG_NET_NOINTS 2016-02-03 10:33:22 -06:00
Manuel Stuehn
7236e742ab STM32 Ethernet: Fix a cornercase where the TX poll timer is not restarted. 2016-02-03 08:24:49 -06:00
Gregory Nutt
95df32a5ce Update ChangeLog 2016-02-02 12:27:26 -06:00
Gregory Nutt
1e4f2ae2c1 Rename up_i2c initialize and uninitialize functions using the correct MCU-specific naming 2016-02-02 12:08:23 -06:00
Gregory Nutt
9ce58ad5b7 I2C: up_i2creset should not be a global function; Now it is an I2C interface method 2016-02-02 11:21:48 -06:00
Gregory Nutt
d2571985ef I2C: up_i2creset should not be a global function; Now it is an I2C interface method 2016-02-02 11:21:45 -06:00
Gregory Nutt
009e9f76cb I2C: Fixes/improvements from last massive I2C commits 2016-02-02 07:13:03 -06:00
Gregory Nutt
f1a5a6dfc7 I2C: Fixes/improvements from last massive I2C commits 2016-02-02 07:12:50 -06:00
Gregory Nutt
456b5f06dc Clean up some comments 2016-02-01 19:52:16 -06:00
Gregory Nutt
30624c8dfa EFM32, STM32, and Tiva I2C Drivers: Clean up some kruft that is no longer needed after the last massive I2C interfcase change 2016-02-01 19:51:55 -06:00
Gregory Nutt
4cfbe50c0d I2C: Fix some compile time issues found with tools/testbuild.sh 2016-02-01 18:02:56 -06:00
Gregory Nutt
c9a7d48cb2 I2C: Fix some compile time issues found with tools/testbuild.sh 2016-02-01 18:02:39 -06:00
Gregory Nutt
69ce24c70c I2C: Remove the setfrequency method from the interface 2016-02-01 16:31:13 -06:00
Gregory Nutt
0693e76be8 I2C: Remove the setfrequency method from the interface 2016-02-01 16:30:29 -06:00
Gregory Nutt
6ad641888b Add I2C frequency to the i2c_msg_s structure 2016-02-01 14:17:20 -06:00
Gregory Nutt
bec6f373a7 I2C: Cosmetic changes 2016-02-01 14:15:52 -06:00
Gregory Nutt
f9053182d3 I2C: Remove setaddress method 2016-02-01 12:14:31 -06:00
Gregory Nutt
a64f36a63e I2C: Remove setaddress method 2016-02-01 12:14:20 -06:00
Gregory Nutt
ecdc428086 Remove the read and write methods from the I2C interface 2016-02-01 09:22:22 -06:00
Gregory Nutt
ce988c7ed3 Remove the read and write methods from the I2C interface 2016-02-01 09:22:10 -06:00
Gregory Nutt
fa2448fe63 Update submodules 2016-01-31 15:39:43 -06:00
Gregory Nutt
91fa0b9616 More SPI initialize naming clarification 2016-01-31 15:38:28 -06:00
Gregory Nutt
10000841a8 The I2C_TRANSFER method is no longer optional 2016-01-31 14:16:05 -06:00
Gregory Nutt
2171438c61 I2C_TRANSFER support is no longer optional 2016-01-31 14:00:53 -06:00
Gregory Nutt
2d41fb26b8 z8 I2C driver now supports the I2C_TRANSFER method 2016-01-31 13:49:34 -06:00
Gregory Nutt
74d2073fca ez80: Fix some compile errors when I2C_TRANSFER is enabled 2016-01-31 13:08:43 -06:00
Gregory Nutt
9370b94241 compiler.h: Missing IOBJ/IPTR definitions for the ZDS-II toolchain 2016-01-31 12:44:44 -06:00
Gregory Nutt
e4629af2bc ez80: Add I2C_TRANSFER method to the I2C driver; Fixes for working with ZDS-II toolchain (still some problems with internal errors; Various fixes due to bit rot 2016-01-31 12:43:14 -06:00
Gregory Nutt
10f3bb1fef Update ChangeLog 2016-01-30 13:08:12 -06:00
Gregory Nutt
b5019c4b54 Backport the LPC17xx I2C driver to the LPC2378 in order to get the I2C_TRANSFER method. 2016-01-30 13:06:18 -06:00
Gregory Nutt
80476a16e2 Update ChangeLog 2016-01-30 12:20:32 -06:00
Gregory Nutt
8f1b9886a9 Backport the new LPC17xx I2C driver to the LPC11xx in order to get the I2C_TRANSFER method 2016-01-30 12:17:01 -06:00
Gregory Nutt
af335827d0 Update ChangeLog 2016-01-30 11:27:49 -06:00
Gregory Nutt
8a37072e87 Backport the LPC32xx I2C driver to the LPC17xx in order to get the I2C_TRANSFER method 2016-01-30 11:26:38 -06:00
Gregory Nutt
3a781a2d3f Remove I2C slave methods from I2C master interface; rename i2c_dev_s to i2c_master_s. 2016-01-30 08:36:47 -06:00
Gregory Nutt
531d73af41 Remove I2C slave methods from I2C master interface; rename i2c_dev_s to i2c_master_s. 2016-01-30 08:35:46 -06:00
Gregory Nutt
ceb415204e Move include/nuttx/i2c.h to include/nuttx/i2c/i2c_master.h 2016-01-30 08:00:16 -06:00
Gregory Nutt
9f9b85a932 Move include/nuttx/i2c.h to include/nuttx/i2c/i2c_master.h 2016-01-30 07:59:44 -06:00
Entinger Alexander
dc8c14aa53 Driver for the 24-Bit Differential Input ADC ADS1242 that communicates via SPI with a MCU. Reading the ADC conversion result as well as configuring the ADC, setting the input channel, etc. is implemented via ioctl calls. However, it does not yet implement the standard ADC interface. 2016-01-29 07:41:23 -06:00
Freddie Chopin
8203659ee5 stm32_rtc_endwr(): wait for RTC_CRL_RTOFF bit to be set. This ensures that the write "reaches" RTC registers before access is disabled by stm32_pwr_enablebkp(). 2016-01-28 16:58:02 -06:00
Gregory Nutt
4a59ff34e9 Update submodules 2016-01-28 09:53:47 -06:00
Gregory Nutt
5d0c914121 LPC2148: Missing spi initializatin prototype 2016-01-28 09:52:46 -06:00
Gregory Nutt
9f2ae5bb86 LPC43: Fix a naming collision with i2c_read 2016-01-28 07:47:32 -06:00
Gregory Nutt
c1d4ce01e0 Update submodules 2016-01-27 16:42:01 -06:00
Gregory Nutt
4d2e423cf6 Calypso: Fix some typos in last SPI changes 2016-01-27 16:40:29 -06:00
Gregory Nutt
fd896330d8 Remove the final vestiges of up_spiinitialize() 2016-01-27 09:27:56 -06:00
Gregory Nutt
7a13837fdd Remove the final vestiges of up_spiinitialize() 2016-01-27 09:26:14 -06:00
Gregory Nutt
439620ab69 Update ChangeLog 2016-01-27 09:11:54 -06:00
Gregory Nutt
a0ce222318 For M9S12 MCUs, rename up_spiinitialize to hcs12_spibus_initialize 2016-01-27 09:10:36 -06:00
Gregory Nutt
215dfe778b For LPC2378 MCUs, rename up_spiinitialize to lpc23_spibus_initialize 2016-01-27 09:02:15 -06:00
Gregory Nutt
b4f0ad1af5 For i.MX1 MCUs, rename up_spiinitialize to imx_spibus_initialize 2016-01-27 08:57:34 -06:00
Gregory Nutt
bd5e6f784b For STR71xx MCUs, rename up_spiinitialize to str71_spibus_initialize 2016-01-27 08:50:01 -06:00
Gregory Nutt
f002980b50 For eZ80 MCUs, rename up_spiinitialize to ez80_spibus_initialize 2016-01-27 08:39:02 -06:00
Gregory Nutt
7bf1db388c Update ChangeLog 2016-01-27 08:22:44 -06:00
Gregory Nutt
a9dec09444 Minor fix to comment 2016-01-27 08:16:46 -06:00
Gregory Nutt
120f7ccebf For Calypso MCUs, rename up_spiinitialize to calypso_spibus_initialize 2016-01-27 08:13:51 -06:00
Gregory Nutt
afbd0f55c3 For AVR MCUs, rename up_spiinitialize to avr_spibus_initialize 2016-01-27 08:00:28 -06:00
Gregory Nutt
3dcafdb20a Update ChangeLog 2016-01-26 17:31:29 -06:00
Gregory Nutt
c958d83ee1 For LPC43xx MCUs, rename lpc17_spiinitialize to lpc43_spibus_initialize 2016-01-26 17:17:12 -06:00
Gregory Nutt
6305c4274a For LPC17xx MCUs, rename lpc17_spiinitialize to lpc17_spibus_initialize 2016-01-26 17:07:47 -06:00
Gregory Nutt
cc68a24972 For LPC31xx MCUs, rename up_spiinitialize to lpc31_spibus_initialize 2016-01-26 16:56:28 -06:00
Gregory Nutt
ee2bb9739e Update ChangeLog 2016-01-26 16:27:40 -06:00
Gregory Nutt
aa2ae3f26a For Kinetis MCUs, rename up_spiinitialize to kinetis_spibus_initialize 2016-01-26 16:25:50 -06:00
Gregory Nutt
3b6a502eff For LK MCUs, rename up_spiinitialize to kl_spibus_initialize 2016-01-26 16:19:03 -06:00
Gregory Nutt
d06fae98a3 EFM32: Rename efm_spi_initialize to efm_spibus_initialize for compatibility with corresponding changes to other platforms 2016-01-26 15:58:33 -06:00
Gregory Nutt
ba17c8ea18 For PIC32MX/Z MCUs, rename up_spiinitialize to pic32mx/z_spibus_initialize 2016-01-26 15:47:42 -06:00
Gregory Nutt
695ad45d83 Update ChangeLog 2016-01-26 15:23:01 -06:00
Gregory Nutt
8864c78e57 For Tiva/LM MCUs, rename up_spiinitialize to tiva_spibus_initialize 2016-01-26 15:20:31 -06:00
Gregory Nutt
11dab241de SPI slave: Prototype for MCU-specific slave initialization function removed from spi_slave.h 2016-01-26 13:04:12 -06:00
Gregory Nutt
d16978be7f For SAM MCUs, rename up_spiinitialize to sam_spibus_initialize 2016-01-26 13:03:17 -06:00
Gregory Nutt
49f3f30be4 Update submodules 2016-01-26 12:24:15 -06:00
Gregory Nutt
04bbd8c67f For STM32, rename up_spiinitialize to stm32_spibus_initialize 2016-01-26 12:22:27 -06:00
Gregory Nutt
d4a53ee131 I2C: Eliminate the I2C_WRITEREAD method 2016-01-26 10:26:16 -06:00
Gregory Nutt
c0fb4e34a7 I2C: Eliminate the I2C_WRITEREAD method 2016-01-26 10:23:09 -06:00
Gregory Nutt
a6b1e6bd23 Updat ChangeLog 2016-01-26 08:04:36 -06:00
Gregory Nutt
b64a45d667 Add a missing semicolon 2016-01-26 08:00:29 -06:00
Gregory Nutt
365e015010 iob_alloc_qentry() has the same issue that was recently fixed in iob_alloc() 2016-01-25 17:46:59 -06:00
Gregory Nutt
c9295c5152 Merge branch 'master' of bitbucket.org:nuttx/arch 2016-01-25 13:26:28 -06:00
Gregory Nutt
a2ce7cc30f Add SAMV7 AFEC header file 2016-01-25 13:25:12 -06:00
Gregory Nutt
047ed9e543 Add some utilities to support 64-bit math operations on platforms that do not support long long types. Not yet used anywhere 2016-01-25 09:56:00 -06:00
Gregory Nutt
f4115ab45c Correct LPC11xx priority definitions + fix some typos in comments 2016-01-25 07:36:26 -06:00
Lok Tep
1f4ce9e7f9 LPC43xx: Fix some NVIC priority definitions 2016-01-25 07:23:28 -06:00
=?UTF-8?Q?Manuel_St=c3=bchn?=
2bacc40350 Fix mismatched prototype error in work_queue() 2016-01-24 12:48:24 -06:00
Gregory Nutt
fb3baae5a4 Trivial: Change ASSERT to DEBUGASSERT 2016-01-24 10:48:35 -06:00
Gregory Nutt
7a7bb6387b Fix initialization of a semaphore 2016-01-24 09:25:39 -06:00
Gregory Nutt
abe8215a44 Refresh submodules 2016-01-24 09:16:18 -06:00
Gregory Nutt
52109ade2d Flesh out unfinished lock() method implementations in al SPI drivers 2016-01-24 09:15:57 -06:00
Gregory Nutt
7edf921c5e Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law 2016-01-23 18:54:36 -06:00
Gregory Nutt
b7cbbab761 Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law 2016-01-23 18:10:21 -06:00
Gregory Nutt
00aaceaf2f All SPI-based device drivers needs to call SPI_HWFEATURES() with zero in order to co-exist with drivers that use H/W features 2016-01-23 16:17:42 -06:00
Gregory Nutt
c36c49657b Remove carriage returns from files 2016-01-23 15:26:10 -06:00
Gregory Nutt
3850b9b70c Remove carriage returns from a file 2016-01-23 15:19:57 -06:00
Gregory Nutt
accd99db25 Add an optional hwfeatures method to the SPI interface 2016-01-23 15:12:45 -06:00
Gregory Nutt
4bd6adb725 Add dummy hwfeatures method to all SPI interfaces 2016-01-23 15:09:38 -06:00
Gregory Nutt
2de5be34e5 Update ChangeLog 2016-01-21 19:29:43 -06:00
Gregory Nutt
ece6517607 Kinetis ENET: Move ioctl function; add prototype and function header; split up some long lines 2016-01-21 19:14:04 -06:00
Andrew Webster
43303a5786 Kinetis: add MK60N512VLL100 support 2016-01-21 19:07:18 -06:00
Andrew Webster
9d0c378dbc Kinetis enet: switch to built-in byte swapper. Depends on GCC __builtin functions 2016-01-21 19:05:51 -06:00
Andrew Webster
d3238e6f95 Kinetis enet: buffer management update
This patch manages the packet buffer used by the upper layers by making sure it is always set to a valid transmit buffer that can be used by the MAC-NET core.  The only exception to this is when the upper layer re-uses a receive buffer to send a response. In this case, the updated receive buffer is swapped with an empty transmit buffer.  If there is no empty transmit buffer available, the packet will be dropped.

Signed-off-by: Andrew Webster <awebster@arcx.com>

Kinetis enet: add support for DBSWP

Signed-off-by: Andrew Webster <awebster@arcx.com>
2016-01-21 19:00:21 -06:00
Andrew Webster
64a0f54767 Kinetis enet: add PHY ioctl support. 2016-01-21 18:54:04 -06:00
Andrew Webster
a118233a59 Kinetis enet: set the MII_MODE bit. The RM states that this bit should always be 1. 2016-01-21 18:50:53 -06:00
Andrew Webster
36408697ca Kinetis enet: leave the write buffer wrap bit alone. The wrap buffer bit is initialized when the buffers are set up and should not be changed later 2016-01-21 18:49:23 -06:00
Andrew Webster
6ba74a281a Kinetis enet: RDAR should be called after ETHER_EN 2016-01-21 18:46:54 -06:00
Andrew Webster
c1a8443416 inetis enet: disallow transmit when the queue is full 2016-01-21 18:45:46 -06:00
Andrew Webster
a3f8be04ac Kinetis enet: initialize the MAC address 2016-01-21 18:44:10 -06:00
Andrew Webster
a16cae2b74 Kinetis enet: support multiple transmits between interrupts. Accounts for the unlikely event that more than one packet has been transmitted before the tx done is processed 2016-01-21 18:40:52 -06:00
Andrew Webster
409d499fc8 Kinetis enet: use rounded up MTU size for buffers. The buffers must be evenly divisible by 16, so round up the MTU size and use that for the buffer sizes 2016-01-21 18:39:12 -06:00
Andrew Webster
d09eec1066 Kinetis enet: fix minor logic errors 2016-01-21 18:36:27 -06:00
Andrew Webster
8dc63d6016 Kinetis enet: fix typos 2016-01-21 18:35:19 -06:00
Gregory Nutt
de995653fe Fix a typo from the last big set of changes 2016-01-21 12:26:53 -06:00
Gregory Nutt
5ebd84c890 Update to use 64-bit timer when available 2016-01-21 11:53:58 -06:00
Gregory Nutt
3a59eb4340 Fix romdisk_register prototype. Most ROMFS images actually lie in RAM. If moved to FLASH with const storage class, then changes are required to avoid warnings 2016-01-20 13:04:07 -06:00
Gregory Nutt
2bd27c856c Upate ChangeLog and README 2016-01-20 12:31:28 -06:00
Stefan Kolb
b6dd44bdcd SAMV71 TC: Fix compilation errors when certain timers are enabled. 2016-01-20 09:39:12 -06:00
Paul A. Patience
3ecdb0c21c STM32 TIM: Fix comment 2016-01-19 17:02:00 -05:00
Gregory Nutt
b7e9fb9284 Merged in paulpatience/nuttx-arch/stm32_qencoder (pull request #52)
STM32 QEncoder: Fix typo
2016-01-19 15:47:07 -06:00
Paul A. Patience
d81001326c STM32 QEncoder: Fix typo 2016-01-19 16:44:21 -05:00
Paul A. Patience
26a434d76a STM32 TIM: Fix typos and add forgotten bit 2016-01-19 15:49:03 -05:00
Gregory Nutt
727361d736 Remove Eclipse project files from repository. Noted by Sebastien Lorquet 2016-01-19 10:00:26 -06:00
Frank Benkert
da33ec6b2e CAN: Add more extensive error reporting information 2016-01-18 12:22:27 -06:00
Frank Benkert
dd13fcde44 CAN: Add more extensive error reporting information 2016-01-18 12:21:20 -06:00
Gregory Nutt
7670936bbf Update ChangeLog and submodule 2016-01-18 08:13:26 -06:00
Gregory Nutt
74c7e3d0bf STM32 OTF FS/HS Host. Fix two cases where stm32_putreg parameters were backward. Noted by Hang Xu 2016-01-18 08:10:37 -06:00
Gregory Nutt
60bb90cded Update README, Changelog, submodules 2016-01-18 08:04:25 -06:00
Paul A. Patience
196d379010 STM32 QEncoder: Fix some typos 2016-01-17 21:52:03 -05:00
Gregory Nutt
f7b8069b07 Update submodules 2016-01-17 08:12:21 -06:00
Gregory Nutt
4e8772dfca ATMEGA: A few trivial updates to USART-related macros 2016-01-16 14:38:28 -06:00
Gregory Nutt
6ca2315cf0 ATMEGA: Make some naming used with the 2560 compatible with other ATmega parts 2016-01-16 13:41:49 -06:00
Gregory Nutt
5da37ba164 Fix .gitignore 2016-01-15 13:40:52 -06:00
Gregory Nutt
b5584c3cf9 Trivia, cosmetic 2016-01-15 13:38:35 -06:00
Gregory Nutt
027e5ef1a1 LPC43xx: Fix some errors/warnings in ADC driver 2016-01-15 13:37:12 -06:00
Gregory Nutt
19810eef6b Update Changelog and README.txt 2016-01-15 13:14:07 -06:00
Gregory Nutt
6c2cd3edee Changes from review of last pull request 2016-01-15 10:55:58 -06:00
Lok Tep
a089847f39 Merged nuttx/arch into master 2016-01-15 15:32:55 +01:00
Gregory Nutt
fd91b4dd85 Fix minor typo in ChangeLog 2016-01-14 15:20:30 -06:00
Gregory Nutt
2030784891 sim: Add more symbols to nuttx-names.dat 2016-01-14 15:14:25 -06:00
Gregory Nutt
a0c4c071ed tools/cnvwindeps.c: Omit dependency paths that include spaces 2016-01-11 08:01:42 -06:00
Juha Niskanen
8a671d604d stm32/chip: Fix STM32L15 TIM5 base address. 2016-01-11 07:25:50 -06:00
Gregory Nutt
f6718fb050 Merge remote-tracking branch 'origin/master' into windeps 2016-01-09 20:04:53 -06:00
Gregory Nutt
4b71d74a2b Minor typo fix in warning 2016-01-09 19:57:48 -06:00
Gregory Nutt
c5bcfc166d tools/mkwindeps.sh. A script that coordinates the use of cnvwindeps.exe 2016-01-09 17:27:56 -06:00
Gregory Nutt
435b29fa7c Update submodules 2016-01-09 16:39:30 -06:00
Gregory Nutt
10001f8556 WINTOOl should be selected only for Cygwin. MSYS and native should not have it. 2016-01-09 16:34:33 -06:00
Gregory Nutt
468732e064 mkdeps.sh and mkdeps.bat have been deleted. All configurations must now use the compiler mkeps program 2016-01-09 16:07:12 -06:00
Gregory Nutt
b390bd802a tools/cnvwindeps.c: Add a tool that will convert dependencies created by a Windows native toolchain for use the Cygwin make 2016-01-09 13:51:34 -06:00
Gregory Nutt
7231439290 Test for CONFIG_AVR_HAS_MEMX_PTR must be after inclusion of config.h 2016-01-09 08:11:25 -06:00
Gregory Nutt
1ac6ecac87 Changes to last pull request needed for conformance with coding standard 2016-01-09 07:27:22 -06:00
Gregory Nutt
d0578bfc2b Changes to last pull request needed for conformance with coding standard 2016-01-09 07:25:24 -06:00
Gregory Nutt
203899cca8 Merged in kloper/arch/atmega2560 (pull request #48)
debug macros for AVR (take #2): Introduce debug macro hooks for AVR
2016-01-09 07:17:35 -06:00
Dimitry Kloper
642b92b391 Introduce debug macro hooks for AVR
When AVR_HAS_MEMX_PTR is enabled provide dbg macro hooks that place
the format strings in program memory releasing RAM for other tasks.
2016-01-09 14:44:38 +02:00
Gregory Nutt
953298d516 Update submodules 2016-01-08 11:26:45 -06:00
Gregory Nutt
7a393f9e8b Eliminate some warnings 2016-01-08 11:26:16 -06:00
Gregory Nutt
278701f93d Eliminate warnings (one of which looks like a bug) 2016-01-08 11:22:57 -06:00
Gregory Nutt
68e3f5d9ce All AVR toolchain configuration names must end with _TOOLCHAIN to work properly with nuttx/tools/testbuilds.sh 2016-01-08 10:39:59 -06:00
Gregory Nutt
5496c450c5 Update submodules 2016-01-08 07:51:21 -06:00
Gregory Nutt
595799212c SAMV7: Add logic to check if multiple banks are busy in TXINI interrupt processing. This logic is probably necessary, but currently commented out because it is untested 2016-01-08 07:47:00 -06:00
Gregory Nutt
31294fb468 Update submodules 2016-01-07 08:15:00 -06:00
Gregory Nutt
dfe3240973 AVR: Rename ATMEGA_PC_SIZE to AVR_PC_SIZE since it must be used in common AVR logic. Add definitions for other AVR architectures as necessary for compilation 2016-01-07 08:14:09 -06:00
Gregory Nutt
ce2a0b6b51 Eliminate a warning 2016-01-06 10:05:39 -06:00
Gregory Nutt
951c40215a Atmega: Eliminate some warnings 2016-01-06 09:50:15 -06:00
Dimitry Kloper
06d83c6261 Introduce support for Atmel toolchain in-flash strings
Atmel toolchain AVR compiler provides a transparent in-flash object support using __flash and __memx symbols. The former indicates to compiler that this is a flash-based object.  The later used with pointer indicates that the referenced object may reside either in flash or in RAM. The compiler automatically makes 32-bit pointer with flag indicating whether referenced object is in flash or RAM and generates code to access either in run-time. Thus, any function that accepts __memx object can transparently work with RAM and flash objects.

For platforms with a Harvard architecture and a very small RAM like AVR this allows to move all constant strings used in trace messages to flash in the instruction address space, releasing resources for other things.

This change introduces IOBJ and IPTR type qualifiers.  The 'I' indicates that the object may like in instruction space on a Harvard architecture machine.

For platforms that do not have __flash and __memx or similar symbols IOBJ and IPTR are empty, making the types equivalent to, for example, 'const char' and 'const char*'.  For Atmel compiler these will become 'const __flash char' and 'const __memx char*'.  All printf() functions and syslog() functions are changed so that the qualifier is used with the format parameter.

From: Dimitry Kloper <dikloper@cisco.com>
2016-01-05 10:29:29 -06:00
Gregory Nutt
fe94318bb4 PIC32MX/MZ: Fix error in assember macro. Noted by Tilak Tangudu 2016-01-05 10:04:50 -06:00
Dimitry Kloper
16212f19e7 AVR: Introduce Atmel Toolchain as a configuration option
Atmel's AVR8 toolchain is similar to WinAVR, but at present moment
it has one important feature that WinAVR does not. The __flash and __memx
allow built in comiler support for transparent program memory pointers.
Functions that use such pointers will work both with RAM arrays and
flash memory arrays. The compiler generates an appropriate code automatically.
For systems with tiny memory like atmega, this is very important and
allows to move all static const strings into flash.
2016-01-04 21:53:44 +02:00
Dimitry Kloper
b9f06dc5e3 ATMEGA2560: Fix compilation when CONFIG_DISABLE_SIGNALS is undefined 2016-01-04 21:39:48 +02:00
Gregory Nutt
efd5a63cf3 Update submodules 2016-01-01 12:18:04 -06:00
Gregory Nutt
b29ec04459 Trivial update to C comments 2016-01-01 12:17:40 -06:00
Gregory Nutt
9835eeb181 signals: Basic framework to support SIGEV_THREAD 2015-12-30 13:20:31 -06:00
Gregory Nutt
b323e1d5ff Trivial, cosmetic 2015-12-30 12:36:22 -06:00
Gregory Nutt
695a8890a6 Rename pm_internal.h to pm.h 2015-12-29 18:19:03 -06:00
Gregory Nutt
d235dcc3b0 Rename the LPC2378 header file internal.h to lpc2378.h 2015-12-29 18:17:23 -06:00
Gregory Nutt
71c289ce4f Rename all architecture files of form xyz_internal.h to just xyz.h 2015-12-29 18:07:11 -06:00
Gregory Nutt
fc30b31ed3 Update ChangeLog 2015-12-29 13:05:34 -06:00
Gregory Nutt
68cc2ecfd2 ATMEGA2560: Most cosmetic changes from review of pull request 2015-12-29 13:02:20 -06:00
Dimitry Kloper
0b8a43abbb Merged nuttx/arch/master into atmega2560 2015-12-29 19:10:57 +02:00
Dimitry Kloper
3c0c90e07d Minor identation fix 2015-12-29 19:09:20 +02:00
Dimitry Kloper
3746305f12 AVR: Minor adapt to a differnt TIMER IRQ notions for Atmega2560 2015-12-29 19:08:13 +02:00
Dimitry Kloper
556954141e AVR: Add support for AVR chips with 24-bit Program Counter register
The main challenge is to change the context switch code to be aware of the
extra byte that is saved on stack during call and intterupt. This relates also
to the task startup and signal handling.
2015-12-29 19:01:06 +02:00
Dimitry Kloper
99aab135b2 AVR: Make setting of XDIV optional for platforms that support it
Put setting of XDIV into ifdef since not AVR platforms support it.
2015-12-29 18:56:12 +02:00
Dimitry Kloper
462307f4b7 AVR: Clear EIND on system start-up
For AVR chips (Atmega2560) Program Counter register larger than 16 bits
EIND represents the most significant byte that is used for EICALL and EIJMP
instructions.

Setting of EIND is normally managed by compiler, but I have seen a situation
when for first 64K flash segment compiler didn't set EINT explicitly. Thus
setting EIND at system startup makes sure we are safe.
2015-12-29 18:46:28 +02:00
Dimitry Kloper
9a4a06bf47 AVR: Explicitly disable interrupts as the first step of system init
Disabling interrupts at the very beginning of system init does not
make sense after reset since interrupts are disabled anyway. But
it is very convenient for debugging purposes, in situations when the
system misbehaves and ocassionally jumps to zero.
2015-12-29 18:35:36 +02:00
Dimitry Kloper
ff5e589f76 AVR: add support for TCGETS and TCSETS terminal controls
Sometimes I need UART to support binary data transfer, TCSETS/TCGETS allow
stwitching into binary mode.
2015-12-29 17:56:44 +02:00
Gregory Nutt
416e01bbfa TMS570: Add some placeholders for missing logic; fix some conditional compilation 2015-12-29 09:30:37 -06:00
Dimitry Kloper
d6f6e41a36 AVR: Fix linking error for AVR platforms that have no ARCH_HAVE_LEDS defined
Minor bug while working on Arduino Mega support. I didn't add support
for ARCH_HAVE_LEDS and have it undefined in .config. To my surprise compilation
failed since AVR code had a related function compiled in.
2015-12-29 17:26:11 +02:00
Dimitry Kloper
8f8b88f532 AVR: Fix resulting nuttx file name when EXEEXT is not empty
arch/avr/Makefile is adding extra EXEEXT to the
nuttix image file. This was not discovered since in most configurations
EXEEXT is empty string.
2015-12-29 17:19:30 +02:00
Gregory Nutt
7a0d6cd7ca TMS570: Fix an error introduced in last commit 2015-12-29 08:10:16 -06:00
Gregory Nutt
d9737f0645 TMS570: reset stack pointer before calling os_start 2015-12-29 07:56:22 -06:00
Gregory Nutt
e7d7036cb9 ARMv7-R: L2CC_VBASE->L2CC_BASE 2015-12-28 16:32:34 -06:00
Gregory Nutt
e7c753801d Update submodules 2015-12-28 16:22:04 -06:00
Gregory Nutt
ae0e6b4096 ARMv7-R and TMS570: Re-orider some initialization logic. __start used to called arm_boot() which would return. Then __start would call os_start(). That won't work for the TMS570 if is does a destructive memory tested because the return information will be lost in the stack. Also comment a nuisance assertion. The assertion is probably correct but certainly a nuisance during initial testing 2015-12-28 16:15:33 -06:00
Gregory Nutt
00f70474bb TMS570: Power-up errcheck assertion is a headache 2015-12-28 08:30:03 -06:00
Dimitry Kloper
41bdcd16b8 Change notation of PCH and PCL registers into PC0 and PC1
This is for forthcoming Atmega2560 support. The Atmega2560 has 24-bit PC
thus, PCH and PCL would become PCH, PCM and PCL (M for Middle). The problem
that in this notation PCM is equivalent to former PCH. This makes compatable
porting kind of difficult, at least for my taste.

Instead PCH becomes PC0 and PCL becomes PC1 (think of the index as order of
bytes pushed to stack when call is performed, PC0 as MSB goes first, PC1
goes to stack second, and for 24-bit PC, PC2 as LDB goes last).
2015-12-28 00:46:24 +02:00
Gregory Nutt
c3758286d7 TMS570: Add ESM interrupt handler 2015-12-27 08:34:14 -06:00
Gregory Nutt
e0214f9d62 ARMv7-R: Remove some CONFIG_PAGING logic left over from ARMv7-A leverage 2015-12-27 08:32:53 -06:00
Gregory Nutt
e1b1f80237 TMS570: Add ESM initialization logic 2015-12-27 07:54:43 -06:00
Gregory Nutt
5206f8430f Update submodules 2015-12-26 18:13:25 -06:00
Gregory Nutt
6d0650349a Add support for ARM big-endian toolchains with prefix armeb- 2015-12-26 18:13:01 -06:00
Dimitry Kloper
0c1294d332 Introduce a new Kconfig variant for Atmega2560 and add some basic stuff
Modify Kconfig to be aware of the new chip.
Add all the interrupt hanler constants and vectors where needed.
Move contsatnts from generic to specific headers when needed.
2015-12-27 01:47:35 +02:00
Gregory Nutt
46da8a07ef Costmetic changes from review of merge request 2015-12-26 16:39:51 -06:00
Gregory Nutt
21bdeac349 Merged in kloper/arch/avr_irq_bomb_fix (pull request #45)
AVR: Fix interrupt bombing during a context switch
2015-12-26 16:31:25 -06:00
Gregory Nutt
658272bbbf FAT: Fix some duplicate definition warnings when big-endian is enabled 2015-12-26 14:49:40 -06:00
Gregory Nutt
9bcf27d15b TMS570 is big-endian 2015-12-26 14:47:54 -06:00
Dimitry Kloper
0998876ef6 AVR: Fix interrupt bombing during a context switch
TCB_RESTORE macro has a problem when restoring Status Register
and returning from the function (in up_fullcontextrestore()) as non-atomic action.

If there is some frequently occurring interrupt, chances are that we will
enter the interrupt handler just before ret is called.
The handler may cause a context switch which, when unrolled, will
execute up_fullcontextrestore() function that employs TCB_RESTORE.
It will be interrupted again just before return, leaving part of context
switch content un-popped again, etc... Thus, chances are that the stack will
eventually blow.

Note that this is not some edge condition fix. This bug was discovered when
testing AVR with UART configured to work on 115200 baud rate.
2015-12-26 21:55:40 +02:00
Gregory Nutt
1f2d9c9174 TMS570: Does not have prioritized interrupts in the sense of other CPUs. Fix some compile errors when DEBUG is enabled 2015-12-26 12:26:57 -06:00
Gregory Nutt
5d95abc679 Update submodules 2015-12-26 12:06:05 -06:00
Gregory Nutt
d592b2824e TMS570: A little more selftest logic 2015-12-26 12:05:32 -06:00
Gregory Nutt
a27cd8e54e TMS570: Add the beginning of some selftest logic 2015-12-26 10:01:53 -06:00
Gregory Nutt
9c1b677bd5 TMS570: Clean up misc. build issues 2015-12-26 08:18:52 -06:00
Gregory Nutt
0f2a48f640 Update submodules 2015-12-25 15:19:38 -06:00
Gregory Nutt
c58393cb4d TMS570: Add GIO drivrs and GIO interrupt support 2015-12-25 13:44:49 -06:00
Gregory Nutt
ccc6913383 TMS570: Add definitions to support GIO second level interrupts 2015-12-25 11:43:38 -06:00
Gregory Nutt
f539d331c5 TMS570: A few more GIO definitions 2015-12-25 11:30:08 -06:00
Gregory Nutt
0a936e7fa7 TMS570: More GIO definitions 2015-12-25 11:28:01 -06:00
Gregory Nutt
2563663a45 TMS570: Add GIO header file 2015-12-25 10:39:04 -06:00
Gregory Nutt
be99e773cf TMS570: Return serial status when a byte is read 2015-12-25 08:47:12 -06:00
Gregory Nutt
239c92ec2b Update submodules 2015-12-24 13:47:53 -06:00
Gregory Nutt
6b1f3da01a TMS570: Don't try building arm_fpuconfig.S for a Cortex-R4 2015-12-24 13:46:49 -06:00
Gregory Nutt
ea1fa2e938 TMS570: SCI serial driver is now included in the build and compiles without error 2015-12-24 13:37:42 -06:00
Gregory Nutt
90cfe8e23b TMS570: Initalize SCI interrupt handling logic 2015-12-24 12:35:22 -06:00
Gregory Nutt
af1504ec4a TMS570: Flesh out low-level serial console logic 2015-12-24 11:07:03 -06:00
Gregory Nutt
4832de4022 Update ChangeLog 2015-12-24 07:40:16 -06:00
Gregory Nutt
ba0f5467d0 A few more cosmetic changes 2015-12-24 07:38:17 -06:00
Gregory Nutt
376b35be39 Mostly cosmetic changes from review for conformance to coding standard 2015-12-24 07:35:19 -06:00
Manuel Stühn
4350b0ba0c Move macros timeradd() and friends from time.h to sys/time.h. 2015-12-24 07:09:39 -06:00
pnb
400d06e9ec fix capture bug 2015-12-24 12:26:39 +01:00
pnb
709c257a43 cosmetic 2015-12-24 09:45:02 +01:00
pnb
097b5820a1 Merge branch 'master' of bitbucket.org:pnb990/nuttx-kernel-arch 2015-12-24 09:42:48 +01:00
pnb
e22d8aea5d add oter timer 2015-12-24 09:42:33 +01:00
pnb
5f9d23290a Merge remote-tracking branch 'upstream/master' 2015-12-24 09:21:40 +01:00
Gregory Nutt
7c72f32bbc TMS570: Add TMS570 SCI driver(s). Initial commits are just SAMV7 drivers with name changes. A lot more needs to be done 2015-12-23 17:48:33 -06:00
Gregory Nutt
7110634a38 Trivial typo fix in a comment 2015-12-23 16:09:49 -06:00
Gregory Nutt
1ab3e02ac8 TMS570: Fix a few naming issues leftover from leverage 2015-12-23 16:08:29 -06:00
Manuel Stühn
3002023798 time.h: Add timeradd(), timersub(), timerclear(), timerisset(), and timercmp() as macros. These are non-POSIX interfaces, but included in most BSD deriviatives, included Linux. From Manuel Stühn 2015-12-23 15:13:01 -06:00
Gregory Nutt
a76f2b853a TMS570: Add system timer logic 2015-12-23 13:41:36 -06:00
pnb
cfe9555e24 capture start to works need test it more 2015-12-23 19:07:45 +01:00
Gregory Nutt
86935ca2dc Update README 2015-12-23 09:49:58 -06:00
Gregory Nutt
fa36531fee TMS570: Add default VIM channel assignments 2015-12-23 09:45:32 -06:00
Gregory Nutt
3036e53be4 Update TODO list 2015-12-23 08:19:13 -06:00
Gregory Nutt
6db67471cb TMS570: Add an RTI header file. Still incomplete on initial commit 2015-12-23 08:18:18 -06:00
Gregory Nutt
663d2b0127 Eliminate a warning due to a range check on an undefined pre-processar variable 2015-12-22 13:20:20 -06:00
Gregory Nutt
b90da3f27b waitpid: CRITICAL BUGFIX. Add a reference counting mechansim to prevent wait from using stale memory that was freed by the exiting task 2015-12-22 11:48:17 -06:00
pnb
54b275ec09 Merge branch 'master' of bitbucket.org:pnb990/nuttx-kernel-arch 2015-12-22 16:32:19 +01:00
pnb
9cc2119c4e capture compile 2015-12-22 16:28:19 +01:00
pnb
badc0c2215 Merge remote-tracking branch 'upstream/master' 2015-12-22 13:29:31 +01:00
pnb
0ef3dc81aa Merge branch 'master' of bitbucket.org:pnb990/nuttx-kernel-arch 2015-12-22 13:28:39 +01:00
pnb
7d244d4d04 Revert "add timer capture STM32"
This reverts commit 7a484f4d7665c533998d6893c21b69340038b5fc.
2015-12-22 13:27:42 +01:00
pnb
764c9ea887 Revert "used DEFINE instead of setcapturecfg function to set filter and prescaler of input capture"
This reverts commit 08600d05eb12cb4f62280766b7f780e8eaa2284b.
2015-12-22 13:27:35 +01:00
pnb
573462e355 Revert "continue capture integration"
This reverts commit c0b6ba73d59dc973d6984bce12ff4a20d870de2a.
2015-12-22 13:27:00 +01:00
pnb
406bc5e67e continue capture 2015-12-22 13:26:22 +01:00
Gregory Nutt
3e4fb7a60d Merged in paulpatience/nuttx-arch/stm32_adc (pull request #42)
STM32 ADC: Add DMA support for STM32F30xxx
2015-12-22 05:45:10 -06:00
pnb
f88e62c8e9 continue capture 2015-12-22 12:21:03 +01:00
Paul A. Patience
754a4ddb98 STM32 ADC: Add DMA support for STM32F30xxx 2015-12-22 03:42:37 -05:00
Gregory Nutt
d7af5b234c Fix an error in pre-processor condition 2015-12-21 21:36:34 -06:00
Gregory Nutt
a696b807fb PCF65263: Correct readback verification of seconds register 2015-12-21 14:00:25 -06:00
Gregory Nutt
860a2fc786 TMS570: Add interrupt decode logic 2015-12-21 12:17:26 -06:00
Gregory Nutt
1e96a07346 Kconfig: CONFIG_BUILD_KERNEL should not be experimental 2015-12-21 10:58:59 -06:00
Gregory Nutt
092c681157 TMS570: Add a little more IRQ/FIQ logic 2015-12-21 10:57:01 -06:00
Lok Tep
74c4f4636a adc initerrupts 2015-12-21 17:23:07 +01:00
Gregory Nutt
caad954b01 TMS570: Add VIM header file 2015-12-21 07:40:27 -06:00
Gregory Nutt
010a73d3b6 TMS570: A little more selftest structure 2015-12-20 17:55:21 -06:00
Gregory Nutt
a2fb50d812 TMS570: Add a framework that will eventually support self-test 2015-12-20 11:51:36 -06:00
Gregory Nutt
2629053bbe TMS570: Add pin multiplexing logic 2015-12-20 10:14:51 -06:00
pnb
510dc7872d Merge remote-tracking branch 'upstream/master' 2015-12-20 13:00:17 +01:00
pnb
2f78c0c1bc continue capture integration 2015-12-20 12:54:21 +01:00
Gregory Nutt
b69c91a8a8 TMS570: Add empty, stub interrupt initialization logic 2015-12-19 19:06:30 -06:00
Gregory Nutt
63d5032d3b TMS4570: Was not building arm_head.S or up_allocateheap.c; ARMv7-R: Fix variious problems not that arm_head.S is being built 2015-12-19 18:56:23 -06:00
Gregory Nutt
2c0770a4b6 Update submodules 2015-12-19 16:34:28 -06:00
Gregory Nutt
4d99e2b0e6 TMS570: Add FLASH wait state configuration 2015-12-19 16:33:39 -06:00
Gregory Nutt
c9c473997c TMS570: Add ECLK setup 2015-12-19 15:56:00 -06:00
Gregory Nutt
d7595446bf TMS570: More clock configuration logic 2015-12-19 13:15:26 -06:00
Gregory Nutt
2bd1be6c96 TMS570: Use values from TI OTP to set LPO trim value 2015-12-19 11:40:38 -06:00
Gregory Nutt
fac00f04d0 TMS570: Add a FLASH controller header file 2015-12-19 09:01:24 -06:00
Gregory Nutt
1ddabf9ff1 TMS570: Add peripheral initialization logic 2015-12-19 08:10:21 -06:00
Gregory Nutt
3a6aa75d15 TMS570: Initial PBIST register definitions 2015-12-18 20:36:06 -06:00
Gregory Nutt
834c2baf40 TMS570: Add SCI header file 2015-12-18 19:52:08 -06:00
Gregory Nutt
727f0f47d6 Merged in paulpatience/nuttx-arch/stm32_pwm (pull request #40)
STM32 PWM: Fix timer type bug
2015-12-18 18:47:41 -06:00
Gregory Nutt
50205b4342 TMS570: Add some basic PLL configuration logic 2015-12-18 18:24:53 -06:00
Gregory Nutt
aa524024d0 Add a few more TMS570 SYS register bit definitions 2015-12-18 11:15:16 -06:00
Gregory Nutt
0403132800 TMS570: Add selftest configuration option; Add a few more SYS register definitions 2015-12-18 09:09:58 -06:00
Gregory Nutt
d4b7bf59d0 TMS570: More start-up logic 2015-12-18 08:57:29 -06:00
Gregory Nutt
f55ff3a3c5 TMS570: Add PBIST header file 2015-12-18 06:55:43 -06:00
Gregory Nutt
e7b48d264b TMS570: Separate SYS register definitions into SYS, STS2, and PCR 2015-12-18 06:39:19 -06:00
Gregory Nutt
a12eeaf899 Update submodules 2015-12-17 15:32:25 -06:00
Gregory Nutt
1ff36b19e8 TMS570: Misc, minor updates 2015-12-17 15:31:58 -06:00
Gregory Nutt
0405ac92a2 TMS570: Add SYS register definitions (incomplete) 2015-12-17 15:30:54 -06:00
Gregory Nutt
4bdc22d7e2 TMS570: Eliminate some warnings 2015-12-17 12:57:48 -06:00
Gregory Nutt
0f7f364865 TMS570: Correct a few problems introduced in previous commits 2015-12-17 12:52:15 -06:00
Gregory Nutt
6baccab3ae Need to select MEMINIT if TMS570 selected 2015-12-17 12:40:24 -06:00
Gregory Nutt
3f964ab20c SR4 is the same as SR1-3 2015-12-17 12:28:45 -06:00
Gregory Nutt
add1754dcc TMS570: Add ESM header file 2015-12-17 12:17:48 -06:00
Gregory Nutt
cd0baf490f Fix Kconfig: BOOT_SDRAM_DATA, not CONFIG_BOOT_SDRAM_DATA 2015-12-17 10:50:53 -06:00
Gregory Nutt
c251fd7756 ARMv7-R: Add a configuration to support delayed memory initialization. This logic was already in place for SDRAM but is also required for some ECC memories as well. 2015-12-17 10:49:56 -06:00
Gregory Nutt
9364824a53 ARMv7-R: Add logic to work-around errata, remove logic to access VBAR since this is no VBAR and add logic to access PMCR. TMS570: Add logic to set debug bits in PMCR 2015-12-17 09:34:38 -06:00
pnb
e25bc48d01 used DEFINE instead of setcapturecfg function to set filter and prescaler of input capture 2015-12-16 23:42:43 +01:00
pnb
701c386299 add timer capture STM32 2015-12-16 21:39:51 +01:00
Gregory Nutt
5794675247 TMS570: Memory map applies only to LS04x and LS03x. Peripheral numbering seems to start with 1, not 0 2015-12-16 14:10:45 -06:00
Gregory Nutt
cc48a12464 Update submodules 2015-12-16 12:47:14 -06:00
Gregory Nutt
9f9cb00104 TMS570: Remove some garbage left in Kconfig file 2015-12-16 12:46:42 -06:00
Gregory Nutt
f310887bb9 TMS570: Add memory map and peripheral selection logic 2015-12-16 11:06:14 -06:00
Gregory Nutt
dc30bb5a54 Update submodules 2015-12-16 09:06:24 -06:00
Gregory Nutt
521ae00387 Merge remote-tracking branch 'origin/master' into armv7r 2015-12-16 09:03:55 -06:00
Gregory Nutt
bacf7cf07e ARMv7-R: fix some issues to get a clean compilation; TMS570: Add enough logic to support a minimum build. Not much there on the initial commit 2015-12-16 09:03:14 -06:00
Gregory Nutt
435d7597cf sycalls: Fix some missing quotes in the syscall CSV file 2015-12-15 17:49:07 -06:00
Gregory Nutt
797798d4ea Update ChangeLog 2015-12-15 17:21:34 -06:00
Gregory Nutt
aa1e67ffe7 Merge remote-tracking branch 'origin/master' into armv7r 2015-12-15 17:16:02 -06:00
Gregory Nutt
8cabb844ab TMS570: Hook into build/configuration system 2015-12-15 17:15:37 -06:00
Gregory Nutt
1cd73ec861 Merged in paulpatience/nuttx-arch/stm32_qencoder (pull request #41)
STM32 QEncoder: Add support for STM32F30xxx
2015-12-15 14:13:44 -06:00
Gregory Nutt
a6e035baeb TMS570: Add arch/arm/include/tms570 header files 2015-12-15 13:41:12 -06:00
Paul A. Patience
377d29f1a1 STM32 QEncoder: Add support for STM32F30xxx 2015-12-15 12:13:37 -05:00
Gregory Nutt
d62a626703 Adds a driver for the PCA9635PW I2C LED driver IC which can be used to control the intensity of up to 16 LEDs. From Alexander Entinger 2015-12-15 08:05:10 -06:00
Gregory Nutt
26883fc7b9 Merged in paulpatience/nuttx-arch/stm32_tim (pull request #39)
STM32 TIM: Remove some warnings, fix timer resolution bug and cosmetic changes
2015-12-14 16:59:51 -06:00
Gregory Nutt
8fb76cf970 TMS570: Add a place holder for the TMS570. Not much there yet 2015-12-14 16:38:05 -06:00
Paul A. Patience
b7e8e1fb99 STM32 TIM: Remove some warnings, fix timer resolution bug and cosmetic changes 2015-12-14 17:24:11 -05:00
Paul A. Patience
7274084540 STM32 PWM: Fix timer type bug 2015-12-14 17:21:55 -05:00
Gregory Nutt
c1933a0814 Merge remote-tracking branch 'origin/master' into armv7r 2015-12-14 15:44:12 -06:00
Gregory Nutt
ebfead6f0d Update submodules 2015-12-14 15:42:02 -06:00
Gregory Nutt
1169ff6dbd MPU: Add support for separated vs. unified MPU 2015-12-14 15:41:18 -06:00
Gregory Nutt
b3502af042 ARMv7-M: Add MPU support 2015-12-14 15:38:58 -06:00
Gregory Nutt
290e5058ea Merge remote-tracking branch 'origin/master' into armv7r 2015-12-14 13:58:08 -06:00
Gregory Nutt
dfec6a0dd0 Rename CONFIG_ARMV7M_MPU to CONFIG_ARM_MPU so that we can reuse the configuration settings for the ARMV7R MPU 2015-12-14 13:56:21 -06:00
Gregory Nutt
09f236aea4 Update ChangeLog 2015-12-14 13:20:47 -06:00
Gregory Nutt
09f79919b5 ARMv7-R: Review/update CPSR bit definitions 2015-12-14 13:19:22 -06:00
Gregory Nutt
3f5d4fc136 Merge remote-tracking branch 'origin/master' into armv7r 2015-12-14 13:04:47 -06:00
Gregory Nutt
1f05f49e66 ARMv7-A: Update some co-processor register naming 2015-12-14 13:04:03 -06:00
Gregory Nutt
39cace15a1 Update CP15 access macros 2015-12-14 13:02:54 -06:00
Gregory Nutt
7475712d87 ARMv7-R: Review/update cache operations 2015-12-14 12:32:32 -06:00
Gregory Nutt
c1e14b0a6b Merge remote-tracking branch 'origin/master' into armv7r 2015-12-14 11:57:10 -06:00
Gregory Nutt
6e9aa0a1d7 ARMv7-A/M: Cosmetic changes 2015-12-14 11:56:39 -06:00
Gregory Nutt
b9feaf13b0 Update ARMv7-R system control register definitions from TRM 2015-12-14 11:54:58 -06:00
Gregory Nutt
cbc2f226c0 Merged in paulpatience/nuttx-arch/stm32_pinmap (pull request #38)
STM32: Fix typos in pinmaps
2015-12-14 08:59:47 -06:00
Gregory Nutt
b7024fd202 Merged in paulpatience/nuttx-arch/stm32f30xxx_pinmap (pull request #37)
STM32: Fix typos in STM32F30xxx pinmap
2015-12-14 08:58:34 -06:00
Gregory Nutt
67604e661f Merge remote-tracking branch 'origin/master' into armv7r 2015-12-14 08:43:29 -06:00
Gregory Nutt
edecfc2dac ARMv7-A: Cosmetic changes 2015-12-14 08:42:39 -06:00
Paul A. Patience
89da1f27dd STM32: Fix typos in pinmaps 2015-12-14 09:41:49 -05:00
Gregory Nutt
5585f44b7e Add initial support for ARMv7-R architecture. Initial commit is largely a clone of ARMv7-A and needs further review 2015-12-14 08:40:38 -06:00
Paul A. Patience
7589e940b6 STM32: Fix typos in STM32F30xxx pinmap 2015-12-14 09:36:28 -05:00
Gregory Nutt
a908a61c5a Various module-related cosmetic changes 2015-12-12 12:55:50 -06:00
Gregory Nutt
cd8d37f46b Eliminate a warning 2015-12-12 11:37:25 -06:00
Gregory Nutt
0efcb5445b Fix compile error when cache coherency logic is enabled 2015-12-12 09:38:06 -06:00
Gregory Nutt
412c7c83a1 Forgot to add a file in the last commit 2015-12-12 09:37:01 -06:00
Gregory Nutt
daea1e614b All architectures need to build ELF support if either CONFIG_ELF or CONFIG_MODULE are selected. Cortex-M7 also must support module cache corherence 2015-12-12 09:35:05 -06:00
Gregory Nutt
44e45f0f91 insmod is code complete and ready for test 2015-12-11 10:55:21 -06:00
Gregory Nutt
ead6656a35 SAMV7 USBHS device: Beef up test for data sent in DMA complete interrupt handler 2015-12-11 08:28:49 -06:00
Gregory Nutt
4e3b7e3358 Update ChangeLog 2015-12-10 06:33:14 -06:00
Gregory Nutt
cb5c221ce7 Update a few comments 2015-12-10 06:32:27 -06:00
Gregory Nutt
a0594ec60e SAMV7 USBHS device: Last change fixed certain problems and introduced some new ones. Here is an untested fix to address all known problems 2015-12-09 14:19:14 -06:00
Gregory Nutt
c9925305b5 Same important bug as c623af03a0ee8ac041fc22051781047d6cb9cc75, but in a different location 2015-12-09 10:17:33 -06:00
Gregory Nutt
c26a624a9f SAMA5: Backport some USB device ZLP logic from the SAMV7 2015-12-08 17:36:46 -06:00
Gregory Nutt
208b4643ce Sync submodules 2015-12-08 13:31:44 -06:00
Gregory Nutt
e00bab70b7 Refresh all configurations that have Telnetd enabled; those configurations now also need the telnet driver 2015-12-08 13:31:43 -06:00
Gregory Nutt
9135afa8c1 SAMV7 USBHS device: End of DMA is too soon to process ZLP. Wait for TXINI 2015-12-08 13:21:43 -06:00
Gregory Nutt
cd7c22bbd4 SAMV7: Trivial correcto to last USBHS device change when using huge request buffers 2015-12-08 11:10:16 -06:00
Gregory Nutt
d1a3c3aa3b Update ChangeLog 2015-12-08 10:13:27 -06:00
Gregory Nutt
19520b5c2c SAMV7 USBHS device: Fix check if zero lenght packet is needed 2015-12-08 10:11:44 -06:00
Lok Tep
1481537f8c config B option, reverted 2015-12-08 09:27:23 +01:00
Lok Tep
6c872c3162 ssp in pin buffer fix 2015-12-07 23:13:14 +01:00
Lok Tep
8ddb2a6a2a ssp buffer check fix 2015-12-07 23:12:57 +01:00
Lok Tep
264fbc1ecc CONFIG_I2C_RESET dummy function 2015-12-07 23:12:40 +01:00
Gregory Nutt
8fdb173090 drivers/net/telnet.c: Now works like the loop device. A new interface called telnet_initialize() registers a telnet session "factory" device at /dev/telnet. Via ioctl, the factory device can create instances of the telnet character devices at /dev/telnetN to support Telnet sessions. 2015-12-07 13:48:06 -06:00
Gregory Nutt
927b1dcc1f Initialize the telnet factory as part of the common architecture intialization 2015-12-07 11:40:29 -06:00
Gregory Nutt
3f0bb06c54 Update ChangeLog 2015-12-06 16:41:50 -06:00
Gregory Nutt
8df99623aa SAMV7: For to add RSWDT driver before committing 2015-12-06 16:41:10 -06:00
Gregory Nutt
6a9876f960 SAMV7: Add an untested RSWDT driver 2015-12-06 09:56:45 -06:00
Gregory Nutt
d6a035d581 Update ChangeLog 2015-12-06 09:31:07 -06:00
Gregory Nutt
8f55ec5c69 SAMV7: Port the WDT driver from the SAMA5 to the SAMV7 2015-12-06 09:29:51 -06:00
Gregory Nutt
cbd9de2421 Update ChangeLog 2015-12-06 08:56:23 -06:00
Gregory Nutt
347bb86045 SAMV7: Port SAMAD5 TRNG driver to the SAMV7 2015-12-06 08:53:31 -06:00
Gregory Nutt
59b912477e Fix some warnings: Mismatched prototypes 2015-12-05 10:36:00 -06:00
Gregory Nutt
3afc0799ad Eliminate a warning 2015-12-05 10:35:11 -06:00
Gregory Nutt
745a16db48 Update ChangeLog 2015-12-04 10:55:04 -06:00
Gregory Nutt
52601d9da8 SAMV7: Add support for PCK6 as a timer/counter clock source 2015-12-04 10:49:20 -06:00
Lok Tep
82c865e2b0 init global interrupt in timer mode 2015-12-04 10:23:29 +01:00
Gregory Nutt
2726f0ac7c USB serial driver Kconfig: Select default sizes for serial buffers so that the can hold even multiples of the max packet size. 2015-12-03 14:17:41 -06:00
Gregory Nutt
9d769f6056 SAMV7: Extend programmable clock support for queries about the PCK configuration 2015-12-03 14:11:39 -06:00
Gregory Nutt
98c401a1f4 Update ChangeLog 2015-12-03 10:23:32 -06:00
Gregory Nutt
8c4302f75d Bring programmable clock logic from SAMA5 to SAMV7 2015-12-03 10:22:11 -06:00
Gregory Nutt
a77786ddf1 Update submodules 2015-12-02 18:09:57 -06:00
Gregory Nutt
1399e00166 SAMV7: Fix some issues with lost timer/counter interrupts 2015-12-02 18:09:23 -06:00
Gregory Nutt
2300273a07 SAMV7 TC: Some trivial improvements 2015-12-02 15:53:51 -06:00
Gregory Nutt
a43c294652 Update ChangeLog 2015-12-02 14:10:24 -06:00
Gregory Nutt
9a54702d99 SAMV7: Revise timer driver. SAMA5 has one pid/interrupt per timer/counter; SAMV7 has a pid/interrupt per channel 2015-12-02 14:09:34 -06:00
Gregory Nutt
7d3d49e227 Upate submodules 2015-12-02 09:22:58 -06:00
Gregory Nutt
192772b7ee SAMV7: Add support for CONFIG_SCHED_TICKLESS_LIMIT_MAX_SLEEP 2015-12-02 09:21:34 -06:00
Gregory Nutt
d166dda8f6 Update ChangeLog 2015-12-02 08:28:32 -06:00
Gregory Nutt
3ce3dbc6ed SAMV7: Ported tickless logic from the SAMA5/SAM4CM to the SAMV7 2015-12-02 08:26:33 -06:00
Gregory Nutt
02c57c22f8 SAMA5: Misc clean from review while porting some logic to the SAMV7 2015-12-02 08:25:23 -06:00
Gregory Nutt
f4978c12d5 Update ChangeLog 2015-12-02 07:19:36 -06:00
Gregory Nutt
bda05b312e SAMV7: Port the SAMA5 timer/counter driver to the SAMV7 2015-12-02 07:18:25 -06:00
Gregory Nutt
975ea3e677 SAMA5: Fix a typo in timer/counter setup 2015-12-02 07:17:17 -06:00
Lok Tep
f02d3808a3 compile spifi with vpath 2015-12-02 12:51:45 +01:00
Gregory Nutt
08213f830d poll() and select() should not be built if poll() is disabled 2015-12-02 05:30:52 -06:00
Gregory Nutt
6734c91a05 SAMV7 USB: Add some warnings to avoid certain bad configuration selections 2015-12-02 05:30:10 -06:00
Gregory Nutt
7483ed38ce Fix some procfs registration typos 2015-12-01 16:31:40 -06:00
Gregory Nutt
754aace61b STM32: CCM procfs more typos 2015-12-01 16:28:14 -06:00
Gregory Nutt
eaa113a284 Update submodule 2015-12-01 16:21:11 -06:00
Gregory Nutt
bc74aa322b STM32: Fix a couple of typos in STM32 CCM procfs 2015-12-01 16:20:51 -06:00
Lok Tep
fd74d0b625 spifi 2015-12-01 23:09:31 +01:00
Gregory Nutt
7a7a8f5835 Update submodules 2015-12-01 15:04:57 -06:00
Gregory Nutt
1f82dda9d8 Clean up some naming 2015-12-01 15:04:12 -06:00
Gregory Nutt
ad64c033e7 s/procfs: The procfs file system can now be configured so that it supports a runtime registration of procfs entries with CONFIG_FS_PROCFS_REGISTER=y 2015-12-01 14:56:20 -06:00
Gregory Nutt
548ba1640f STM32: CCM procfs is no longer a part of the 'base' procfs entries and can now only be supported via run time registration with CONFIG_FS_PROCFS_REGISTER=y 2015-12-01 14:55:05 -06:00
Lok Tep
9a527ad3ed adc: timer mode 2015-12-01 14:53:52 +01:00
Gregory Nutt
6af3ba78b9 Remove CONFIG_NET_PINGADDRCONF. This was a uIP way of assigning IP addresses, but is not standard and not a appropriate feature in general. 2015-12-01 07:48:56 -06:00
Gregory Nutt
7037f13c2d Trivial cosmetic change from review 2015-11-30 18:01:26 -06:00
Wail Khemir
fd8db7ad38 Change prescaler dynamically to support bigger periods on 16 bits timers 2015-11-30 18:52:05 -05:00
Gregory Nutt
4c22aae14a Update ChangeLog 2015-11-30 16:06:10 -06:00
Gregory Nutt
5367c5993c SAMV7: Add some conditional logic to handle the case where the board has no 32.768KHz crystal installed 2015-11-30 15:21:25 -06:00
Gregory Nutt
5c9e05693e Upate submodules 2015-11-29 13:54:35 -06:00
Gregory Nutt
e421258808 Move sim/src/up_appinit.c to configs/sim/src where it really belongs 2015-11-29 13:54:03 -06:00
Gregory Nutt
e4236941c6 net/net_procfs.c: Add basic support for networking procfs entries 2015-11-27 12:33:58 -06:00
Gregory Nutt
4d2299896e SAMV7: Add support to network device statistics to the Ethernet driver 2015-11-27 12:30:15 -06:00
Gregory Nutt
8075a67803 include/nuttx/net/netdef.h: Add a missing macro 2015-11-26 12:51:45 -06:00
Gregory Nutt
8ce454a584 Remove some warnings; eliminate unused variables 2015-11-26 12:46:53 -06:00
Gregory Nutt
2a93c66948 include/nuttx/net/netdev.h and several Ethernet drivers in arch/: Most network drivers to not support statistics. Those that do only support them when DEBUG is enabled. Each driver collects an architecture specific set of statistics and there is no mechanism in place to view those statistics. Thus, the driver feature was mostly useless. This change standardizes the driver statistics and puts the definition in the common network device structure defined in netdev.h where they can be accessed by network applications. All Ethernet drivers that collect statistics have been adapted to use these common statistics. 2015-11-26 12:08:09 -06:00
Gregory Nutt
e5e631e57f include/nuttx/net/netdev.h and several Ethernet drivers in arch/: Most network drivers to not support statistics. Those that do only support them when DEBUG is enabled. Each driver collects an architecture specific set of statistics and there is no mechanism in place to view those statistics. Thus, the driver feature was mostly useless. This change standardizes the driver statistics and puts the definition in the common network device structure defined in netdev.h where they can be accessed by network applications. All Ethernet drivers that collect statistics have been adapted to use these common statistics. 2015-11-26 12:07:18 -06:00
Gregory Nutt
2afd4595e4 Re-think how __KERNEL__ option is set in architecture Makefiles. Should be passed in EXTRADEFINES 2015-11-26 06:59:35 -06:00
Gregory Nutt
470784d8ca Update submodules 2015-11-25 18:36:29 -06:00
Gregory Nutt
22b4932a4f __KERNEL__ should be defined when compiler architecture specific logic 2015-11-25 18:06:56 -06:00
Gregory Nutt
4aa3dcb51a __KERNEL__ should be defined when compiler architecture specific logic 2015-11-25 18:05:36 -06:00
Gregory Nutt
603f3afd6d Some minor clean-up from last changes 2015-11-25 17:52:47 -06:00
Gregory Nutt
f4e8f84887 __KERNEL__ should be defined when compiler architecture specific logic 2015-11-25 17:52:14 -06:00
Gregory Nutt
ed35eb0f8d drivers/loop: Add a loop character device that can be used to setup and teardown loop devices 2015-11-25 17:13:56 -06:00
Gregory Nutt
14d7ede265 All instances of up_initialize() should call loop_register() is CONFIG_DEV_LOOP=y 2015-11-25 17:10:41 -06:00
Lok Tep
dd4ef7b2e9 rename to offset 2015-11-25 21:07:14 +01:00
Lok Tep
70ab09976a setup out with data
ep 5-6
fixex
2015-11-25 21:07:00 +01:00
Gregory Nutt
e5f27f5865 Fix some conditional compilation. CONFIG_LIBC_LOCALTIME should be checked in most of the same places wehre CONFIG_TIME_EXTENDED is checked 2015-11-25 12:51:45 -06:00
Gregory Nutt
b1e17d8892 Fix some conditional compilation. CONFIG_LIBC_LOCALTIME should be checked in most of the same places wehre CONFIG_TIME_EXTENDED is checked 2015-11-25 12:51:07 -06:00
Gregory Nutt
8f5047323f Update ChangeLog and submodules 2015-11-25 08:38:58 -06:00
Ken Pettit
641ca79321 arch/sim/src: Add a special file system for use with simulator that supports access to the host file system from the simulation. From Ken Petit 2015-11-25 08:36:44 -06:00
Ken Pettit
c0b9dcf8a9 fs/hostfs: Add a special file system for use with simulator that supports access to the host file system from the simulation. From Ken Petit 2015-11-25 08:26:26 -06:00
Gregory Nutt
d7c5ff98f4 Fix a typo 2015-11-23 18:55:38 +00:00
Gregory Nutt
edb1439d8f Last change introduced warnings when CONFIG_SIM_M32=y; This fixes those warnings too 2015-11-23 12:44:59 -06:00
Gregory Nutt
076b05b460 In Kconfig of all CPUs with 16-bit address, force CONFIG_MM_SMALL=y 2015-11-23 12:16:35 -06:00
Gregory Nutt
6230e6e199 size_t should be 64-bits on a 64-bit machine. mmsize_t should be 32-bits (unless CONFIG_MM_SMALL is selected). This commit backs out the last change to stddef.h 2015-11-23 12:03:36 -06:00
Gregory Nutt
9f98dfecb7 sim: Eliminate a warning 2015-11-23 11:59:33 -06:00
Gregory Nutt
8914400750 PCF85163: Correct I2C address 2015-11-21 07:14:36 -06:00
Gregory Nutt
30834721df Trivial changes for compliance with coding standard 2015-11-20 17:53:03 -06:00
Wail Khemir
702368fce4 Small bug fix for stm32 lower half timer driver 2015-11-20 18:16:39 -05:00
Gregory Nutt
4b29bcee7f Rename up_rtcinitialize to up_rtc_initialize so that it looks like other RTC interfaces 2015-11-20 08:27:52 -06:00
Gregory Nutt
25a2e17347 Rename up_rtcinitialize to up_rtc_initialize so that it looks like other RTC interfaces 2015-11-20 08:27:04 -06:00
Gregory Nutt
1b7d7a53b2 Update submodules 2015-11-18 14:35:24 -06:00
Gregory Nutt
25e54726a3 STM32: Fix a build error detected by tools/testbuil.sh: The STM32L does not define UID address 2015-11-18 14:33:27 -06:00
Gregory Nutt
0d18b13a16 Update ChangeLog 2015-11-18 07:09:59 -06:00
Ken Pettit
992d7d1e85 arch/sim/src/up_spiflash.c: Add support for W25 FLASH simulation. From Ken Petit 2015-11-18 07:08:38 -06:00
Gregory Nutt
a6d6c430d9 Changes to last merge from review for compliance to coding standards 2015-11-17 21:10:17 -06:00
Marwan Ragab
4999c14085 Added implementation to get 96-bit stm32 unique id 2015-11-17 21:34:41 -05:00
Gregory Nutt
8d963e66cf Fix some stylistic issues found by tools/nxstyle 2015-11-17 17:31:57 -06:00
Gregory Nutt
a8ab72f97a Fix some stylistic issues found by tools/nxstyle 2015-11-17 17:31:38 -06:00
Gregory Nutt
5a99735782 (Hopefully) cosmetic changes from review of recent merges for conformance to coding standard 2015-11-17 16:54:15 -06:00
Gregory Nutt
3c84aa3b5f (Hopefully) cosmetic changes from review of recent merges for conformance to coding standard 2015-11-17 16:53:21 -06:00
Wail Khemir
9451b09d3a Added a lower-half timer driver for stm32 which is compatible with the upper-half driver located at /drivers/timers/timer.c 2015-11-17 16:57:02 -05:00
Lok Tep
5d689fedcf spifi regs 2015-11-17 18:02:08 +01:00
Gregory Nutt
2ae7485a57 Update ChangeLog 2015-11-16 10:47:21 -06:00
Gregory Nutt
88ebcc895b Fix some spacing problems found by tools/nxstyle.c 2015-11-15 10:47:42 -06:00
Gregory Nutt
ab9d124528 serial: Remove confusing inline functions. Correct attribution for serial DMA logic 2015-11-15 08:39:01 -06:00
Gregory Nutt
bd384d93eb SAMV7 MCAN: Cosmetic change 2015-11-15 08:38:27 -06:00
Lok Tep
0d1ba69ba8 Merge remote-tracking branch 'origin/master' 2015-11-15 12:55:21 +01:00
Lok Tep
386939c8af roght ram bank 2015-11-15 12:52:57 +01:00
Gregory Nutt
5e241cd157 CAN Kconfig: Resolve a circular dependency. I am not sure if the correct version foolproof, however 2015-11-14 13:36:48 -06:00
Gregory Nutt
82b6c8aed7 Add SAME70 to arm/arch/src/samv7/Kconfig 2015-11-14 13:35:24 -06:00
Gregory Nutt
457796d39e Update ChangeLog 2015-11-14 12:15:38 -06:00
Gregory Nutt
39362feee0 arch/arm/src/samv7: Add pin configuratinos for SAME70. Not all verified. I assume that the SAME70 pin mapping is identical to the SAMV71 minus MediaLB pins 2015-11-14 12:14:27 -06:00
Gregory Nutt
58615a4e69 arch/arm/src/samv7: Add SAME70 memory map 2015-11-14 12:01:28 -06:00
Gregory Nutt
38a3d24706 arch/arm/src/samv7: Add support for SAME70 peripheral clocks 2015-11-14 11:41:53 -06:00
Gregory Nutt
0add2b8910 arch/arm/include/samv7: Add support for the SAME70 family 2015-11-14 11:36:21 -06:00
Gregory Nutt
015429684f MTD progmem: Fix an address calculation 2015-11-13 11:32:34 -06:00
Gregory Nutt
ba57b5bdc0 SAMV7 FLASH: Fix a cache error, fix an address comparison 2015-11-13 11:32:06 -06:00
Gregory Nutt
2706b4f8aa mtd_progmem.c: Fix calculation of block size 2015-11-13 09:19:25 -06:00
Gregory Nutt
a1e9a07c7a SAMV7 progmem: Debug fixes from intial testing 2015-11-13 09:18:26 -06:00
Gregory Nutt
5eaf368d16 progmem.h: Cosmetic updates to comments 2015-11-12 12:30:15 -06:00
Gregory Nutt
4ecf9b5bec SAMV7 FLASH driver now at least compiles 2015-11-12 12:26:53 -06:00
Gregory Nutt
1593cd7149 SAMV7 flash logic is complete, uncompiled, and untested 2015-11-12 10:46:59 -06:00
Gregory Nutt
a40496f424 Update submodule 2015-11-12 07:59:05 -06:00
Gregory Nutt
78153004ee SAMV7: Don't call can_txdone with the device locked. This can lead to deadlocks on subsequent actions from the upper half can driver 2015-11-12 07:58:09 -06:00
Frank Benkert
4a8626d332 CAN: Don't disable TX interrupts if the S/W TX FIFO is empty but the hardware supports a H/W TX FIFO 2015-11-12 07:46:05 -06:00
Frank Benkert
54cff3c5ae SAMV7 MCAN: Remove forcing of transfer complete interrupt 2015-11-12 07:35:01 -06:00
Gregory Nutt
b05fb671ff Trivial simplification to logic of last commit 2015-11-11 15:17:36 -06:00
Gregory Nutt
7fe6200b0f progmem.h: Clean-up a few comments 2015-11-11 14:30:06 -06:00
Gregory Nutt
003e022ce9 SAMV7 QSPI: Check if data to be transferred is unaligned; If unaligned, don't use DMA 2015-11-11 14:29:28 -06:00
Paul A. Patience
52454cf79b Fix typo 2015-11-11 13:06:15 -05:00
Gregory Nutt
e62673241d Eliminate some useless comments 2015-11-11 11:02:52 -06:00
Gregory Nutt
3964b4ac57 SAMV7: Add framework for on-chip FLASH access 2015-11-11 10:07:41 -06:00
Gregory Nutt
2ff1b173f2 SmartFS: Backout last change. It alters the behavior when it should not. Obviously there is something that I do not understand 2015-11-11 08:15:08 -06:00
Gregory Nutt
11e89f5a7b Cosmetic changes from code review 2015-11-11 07:41:51 -06:00
Gregory Nutt
518b4b14b2 Merged in petekol/arch (pull request #31)
forgotten changes
2015-11-11 07:38:38 -06:00
Gregory Nutt
50b96b3f50 Review of previous commit for coding style. Tickless RIT logic still does not follow naming conventions or file format rules 2015-11-11 07:36:41 -06:00
Lok Tep
485d317401 forgotten changes 2015-11-11 14:22:22 +01:00
Lok Tep
3e33d18cac Merge remote-tracking branch 'origin/master' 2015-11-11 13:48:53 +01:00
Lok Tep
67c5d07e83 usb/ssp initialization corrected 2015-11-11 13:47:21 +01:00
Lok Tep
f4d06f512f Merged nuttx/arch into master 2015-11-11 13:40:09 +01:00
Gregory Nutt
eb1191df63 S24FL1: Fix an error in the page write logic 2015-11-10 12:48:29 -06:00
Gregory Nutt
45549cb2e2 Change some debug output to verbose 2015-11-10 12:15:22 -06:00
Gregory Nutt
965addb397 s25fl1: When unprotecting, handle case where protection bits are inverted. Add option to s25flinitilize() to unprotected on power up 2015-11-10 11:33:35 -06:00
Gregory Nutt
d95da886f3 Cosmetic changes to comments 2015-11-10 11:31:00 -06:00
Lok Tep
5eff3a202b Merge remote-tracking branch 'origin/master' 2015-11-09 23:47:33 +01:00
Lok Tep
b654a6f467 alarm 2015-11-09 21:01:32 +01:00
Gregory Nutt
d6cc75dc64 Update submodules 2015-11-09 13:33:53 -06:00
Gregory Nutt
f080b43b80 SAMV7 QSPI: Improved debug output 2015-11-09 13:32:58 -06:00
Lok Tep
3b4c71ef8d more revert 2015-11-09 14:51:00 +01:00
Lok Tep
a8416d2a26 revert 2015-11-09 14:41:08 +01:00
Lok Tep
1f8c0fdcdb timer base name difference 2015-11-09 14:34:59 +01:00
Lok Tep
7d386866af Merged nuttx/arch into master 2015-11-09 14:24:41 +01:00
Gregory Nutt
874862abb9 CAN driver: Improve some comments 2015-11-08 07:00:09 -06:00
Gregory Nutt
612ebdeabd Kconfig: Set default number of MPU regions to 16 for Cortex-M7 2015-11-08 06:59:35 -06:00
Gregory Nutt
b2bdba0824 S25FL1 FLASH driver: Fix return value from the bwrite() method 2015-11-07 11:26:53 -06:00
Gregory Nutt
352d2a1d02 SAMV7 XDMAC: Don't sample interrupt status registers in debug mode. This can cause loss of interrupts 2015-11-07 11:25:20 -06:00
Gregory Nutt
dd69967934 SAMV7 protected mode: Don't enable D-Cache until userspace data has been initialized 2015-11-07 09:35:23 -06:00
Gregory Nutt
2e99311fb4 SAMV7 QSPI: DMA transfer width should be 32- not 16-bits 2015-11-07 09:34:40 -06:00
Gregory Nutt
7b3c0ac7bc ARMv7-M: Cosmetic fixes to some file headers 2015-11-06 13:37:37 -06:00
Gregory Nutt
41337324ba Update submodules 2015-11-06 13:03:07 -06:00
Gregory Nutt
b4b0dde792 SAMV7 QSPI: Back out some kludges that are no longer necessary 2015-11-06 13:02:45 -06:00
Gregory Nutt
17c8cbceaf SAMV7 QSPI: Rounding up buffer length for memcpy style transfer is un-necessary 2015-11-06 12:59:40 -06:00