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
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
b466f18daf
i.MX6: Some fixes for early compile issues
2016-03-01 14:15:43 -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
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
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
0a9920a87a
i.MX6: Add IRQ header file
2016-02-28 14:07:53 -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
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
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
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
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
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
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
Michael Spahlinger
96f3d618a1
SAMV7: Add CHIP ID and RSTC header file
2016-02-22 09:08:39 -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
9b3651f7a9
Remove comments before empty sections in C files
2016-02-21 11:26:43 -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
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
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
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
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
e3ea40e4f9
SMP: Cosmetic renaming to clarify functionality of SMP interfaces. Update comments.
2016-02-17 13:35:23 -06:00
Gregory Nutt
063caf3a90
Add warnings and some comments
2016-02-16 16:08:59 -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
9234eec334
SIM: Needs to include stdint.h
2016-02-16 10:12:06 -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
d2f13e4b12
SIM: If SMP is enabled, show CPU on assertion
2016-02-15 13:47:05 -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
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
666cc280f4
Rename irqenable() to up_irq_enable(); rename irqdisable() to up_irq_disable()
2016-02-14 16:54:09 -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
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
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
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
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
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
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
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
52f88b0625
SIM: Add simulation of a multi-CPU processor
2016-02-10 14:58:21 -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
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
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
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
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
d511afd507
LPC31: Fix an unmatching function prototype
2016-02-03 18:11:42 -06:00
Gregory Nutt
1166e311b0
Networking: Remove the HSEC argument from devif_timer.
2016-02-03 11:17:15 -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
1e4f2ae2c1
Rename up_i2c initialize and uninitialize functions using the correct MCU-specific naming
2016-02-02 12:08:23 -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
f1a5a6dfc7
I2C: Fixes/improvements from last massive I2C commits
2016-02-02 07:12:50 -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
c9a7d48cb2
I2C: Fix some compile time issues found with tools/testbuild.sh
2016-02-01 18:02:39 -06:00
Gregory Nutt
0693e76be8
I2C: Remove the setfrequency method from the interface
2016-02-01 16:30:29 -06:00
Gregory Nutt
bec6f373a7
I2C: Cosmetic changes
2016-02-01 14:15:52 -06:00
Gregory Nutt
a64f36a63e
I2C: Remove setaddress method
2016-02-01 12:14:20 -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
91fa0b9616
More SPI initialize naming clarification
2016-01-31 15:38:28 -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
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
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
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
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
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
9f9b85a932
Move include/nuttx/i2c.h to include/nuttx/i2c/i2c_master.h
2016-01-30 07:59:44 -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
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
4d2e423cf6
Calypso: Fix some typos in last SPI changes
2016-01-27 16:40:29 -06:00
Gregory Nutt
7a13837fdd
Remove the final vestiges of up_spiinitialize()
2016-01-27 09:26:14 -06:00