Commit Graph

5938 Commits

Author SHA1 Message Date
Gregory Nutt 4d4f54a789 Rename current_regs to g_current_regs; For ARM, g_current_regs needs to be an array to support multiple CPUs 2016-03-09 13:41:48 -06:00
Gregory Nutt 7b0a696498 i.MX6: Add a system timer based on the i.MX6 GPT 2016-03-09 12:16:44 -06:00
Gregory Nutt 725e6878c4 i.MX6: Finish bit definitions in GPT header file 2016-03-09 09:31:36 -06:00
Gregory Nutt 80dce6dba1 i.MX6: Add incomplete GPT header file 2016-03-09 09:08:01 -06:00
Gregory Nutt 613786ff3d ARMv7-A: Add global timer header file 2016-03-09 08:36:22 -06:00
David Sidrane a2052d006c Fix what I believe to be typos in SAMV7 timer 2016-03-08 17:26:01 -06:00
David Sidrane 72eef9f628 Ensure that CONFIG_ARMV7M_STACKCHECK works on the samv7 2016-03-08 17:22:07 -06:00
Gregory Nutt 85a7ca1ddd i.MX6: Fill in some 'Missing logic' that depended on CCM definitions. Correct confusion with boot media configuration. 2016-03-08 16:49:09 -06:00
Gregory Nutt 145853a930 i.MX6: Complete CCM header file 2016-03-08 13:54:43 -06:00
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 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 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 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 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