Commit Graph

4778 Commits

Author SHA1 Message Date
Giovanni Di Sirio f1e6a55322 Tentative fix for L4 OTG.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10454 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-22 07:52:33 +00:00
Giovanni Di Sirio 15f4e5c3f3 Tentative workaround for L4 OTG driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10453 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-20 10:04:44 +00:00
isiora e50bc32840 Added check to verify that the matrix H64H32 clock ratio is compatible with master clock frequency.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10451 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-18 21:06:02 +00:00
isiora 3f4b4d7fb7 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10450 35acf78f-673a-0410-8e92-d51de3d6d3f4 2017-08-18 21:03:53 +00:00
Giovanni Di Sirio 9662d58fb6 Some renaming work for clearness.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10449 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-18 13:35:28 +00:00
isiora 62f078360f Added matrix H64H32 clock ratio.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10447 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-17 21:24:31 +00:00
isiora 8abd932cac Added matrix clock ratio setting.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10446 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-17 21:21:44 +00:00
isiora 4058d89f61 Fixed SAMA_PIT define. Now it includes the dependency on busses clock ratio.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10445 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-17 21:20:46 +00:00
isiora 9bf548700a Fixed compiler warning.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10440 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-16 21:50:52 +00:00
isiora 2de41265e3 Added debug asserts.
Fixed slow clock select.
Added mainf measurement
Tested XT main clock.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10438 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-16 21:37:20 +00:00
Theodore Ateba 836e693c4a Add LLD directory to the AVR XMEGA Low Level Drivers.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10433 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-16 06:39:03 +00:00
Theodore Ateba ccdc3635ef Modify AVR XMEGA platform according the new architecture.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10432 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-16 06:38:55 +00:00
Theodore Ateba 81208fd6be Add low level driver directory and platfor for AVR MEGA.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10431 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-16 06:38:35 +00:00
isiora 2ec713733e Fixed IVR address
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10430 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-14 09:39:15 +00:00
isiora 16ff9e3b59 Added init code to setup the secure VBAR.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10429 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-14 09:22:19 +00:00
isiora e9043d1d77 Added acknowledgement of PIT and AIC interrupt.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10428 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-14 09:15:35 +00:00
isiora 5355de8c26 Changed ST interrupt priority to 0, the lowest one.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10427 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-14 09:14:16 +00:00
isiora f4ed4a5891 Fixed disable/enable macro.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10426 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-14 09:13:03 +00:00
isiora fe3c915916 Fixed PLLA_MUL.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10425 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-14 09:11:48 +00:00
isiora ccbb6cb153 Added a macro to acknowledge the current interrupt.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10424 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-14 09:10:38 +00:00
isiora f4d5d1c0ad The IRQ handlers are normal functions: deleted interrupt attribute to them.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10423 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-14 09:08:03 +00:00
isiora c06ff694bd Enabled FIQ in _port_thread_start
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10422 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-14 09:03:32 +00:00
Theodore Ateba 1320b9c2e2 Remove the not implemented TIM lld files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10421 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-13 14:28:39 +00:00
Theodore Ateba a5d9d7e741 Remove the not implemented USART lld files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10420 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-13 14:28:30 +00:00
Theodore Ateba 0d4535dc1a Update AVR tiny platform path according the new architecture and correct comment.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10417 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-13 14:19:31 +00:00
Theodore Ateba 6580d6f6da Update the platform name and comments.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10416 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-13 14:19:20 +00:00
Theodore Ateba 49561260e6 Change the ATTiny GPIO files path according the new architecture and correct comment.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10415 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-13 14:19:14 +00:00
Theodore Ateba 0a6815ba49 Change the ATTiny TIM files path according the new architecture and correct comment.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10414 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-13 14:19:07 +00:00
Theodore Ateba 0c965b03f3 Change the ATTiny USART files path according the new architecture and correct comment.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10413 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-13 14:18:59 +00:00
Theodore Ateba 0879845f96 Update the AVR Tiny Architecture.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10412 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-13 14:18:30 +00:00
Rocco Marco Guglielmi cd06f9a246 Fixed Bug #870
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10411 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-13 11:20:39 +00:00
Giovanni Di Sirio 11aa9fa563 Fixed number of vectors for newer devices.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10408 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-12 14:59:41 +00:00
Rocco Marco Guglielmi 58e167350f Added PIT implementation for ATSAMA5D2 (Still incomplete)
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10404 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-11 18:45:50 +00:00
Rocco Marco Guglielmi e2f3acbc5c Minor changes in sama_pmc helper header
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10403 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-11 17:16:33 +00:00
Rocco Marco Guglielmi 701c73b0ca Minor changes in AIC pseudo driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10402 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-11 17:15:04 +00:00
edolomb 200d9dc64c Added platform file aic.c
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10400 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-11 14:30:21 +00:00
edolomb 87188816b1 Added aic header
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10399 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-11 14:28:35 +00:00
edolomb b2bd02f3df Added macros Enabled/Disabled write protection
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10398 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-11 13:54:22 +00:00
Rocco Marco Guglielmi a152d4e545 Fixed Bug #869
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10397 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-11 13:22:02 +00:00
isiora 4b915aa925 Fixed comments.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10394 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-11 10:53:13 +00:00
isiora 0a1de698b1 Moved peripheral id definitions in sama5d2x.h.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10393 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-11 10:43:45 +00:00
isiora 67acdca7a4 Added peripheral ID masks.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10392 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-11 10:40:31 +00:00
isiora 7925433a0d Added PID 64-78
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10391 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-11 09:06:27 +00:00
edolomb 13e3e2bd8a Changed name of functions
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10390 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-11 09:04:26 +00:00
isiora c057dda13a Reverted
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10388 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-10 14:12:36 +00:00
isiora c104a3541c Moved
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10387 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-10 14:04:33 +00:00
isiora d66747a381 Moved
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10386 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-10 14:04:08 +00:00
edolomb 2f04d74a23 Added SAMA Advanced Interrupt Controller aic
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10385 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-10 12:40:27 +00:00
edolomb c8b1c0c45e Added aicInit() function
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10384 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-10 12:36:46 +00:00
edolomb b4b855bd44 add aic init
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10383 35acf78f-673a-0410-8e92-d51de3d6d3f4
2017-08-10 12:27:16 +00:00