Commit Graph

92 Commits

Author SHA1 Message Date
Fabio Utzig e07ebbcac3 Add initial system header + makefile 2015-04-29 19:48:06 -03:00
marcoveeneman e5f1b8b034 Tiva. ST. Moved ST interrupt priority check from hal_lld to st_lld. 2015-04-16 22:15:15 +02:00
marcoveeneman 5130840d32 Tiva. MAC. Added check for valid interrupt priority. 2015-04-16 22:03:13 +02:00
marcoveeneman cd95bc80f0 Tiva. EXT. Added checks for valid interrupt priorities. 2015-04-16 21:56:32 +02:00
marcoveeneman 7b7c6fd198 Tiva. Replaced all references to CORTEX_IS_VALID_KERNEL_PRIORITY with OSAL_IRQ_IS_VALID_PRIORITY. 2015-04-16 21:46:53 +02:00
marcoveeneman 2c0b573553 Merge branch 'tiva_ext_driver' 2015-04-14 23:07:24 +02:00
marcoveeneman a8358f2140 Tiva. EXT. Changed name of ext_serve_port_interrupt and ext_serve_pin_interrupt. 2015-04-14 23:00:29 +02:00
marcoveeneman 2c66f54771 Tiva. EXT. Fixed typo in ext_serve_pin_interrupt macro. 2015-04-14 22:53:48 +02:00
marcoveeneman f4e68ad23a Tiva. EXT. Wrapped ext_serve_port_interrupt and ext_serve_pin_interrupt in a do{}while(0) 2015-04-14 22:52:22 +02:00
marcoveeneman 1afe28e9be Tiva. EXT. Added ext_lld files and added ext_lld.c to platform.mk 2015-04-14 22:43:42 +02:00
marcoveeneman c6474b882a Tiva. EXT. Added number of GPIO pins to the registry. 2015-04-14 22:40:24 +02:00
barthess 3d45d3d4fa EICU. Updated lld according to chibios updates. 2015-03-31 16:43:14 +03:00
marcoveeneman 91d9d09673 Removing GPTM_TAMR_TASNAPS was a bad idea. This caused the TAR register to not update at match so an incorrect value was read in st_lld_get_counter. 2015-03-23 21:08:57 +01:00
marcoveeneman 560076be34 Removed ST_CLOCK_SRC for Tiva st_lld and replaced with TIVA_SYSCLK. 2015-03-23 20:55:52 +01:00
marcoveeneman 927cbb1bee Tiva tickless mode is working for 16 bit timers too. Typecasting was not correct before. 2015-03-22 22:46:09 +01:00
marcoveeneman 2d6792780a Added macros in st_lld for Tiva defices to wait until a timer is ready before using it. 2015-03-22 22:40:22 +01:00
marcoveeneman 61f2081d66 Fixed incorrect Tiva ST_HANDLER and ST_NUMBER defines in st_lld. 2015-03-22 22:27:51 +01:00
marcoveeneman bc7117e04c Wait until the timer peripheral is ready to continue. When built with -O0 this was not needed, but with -O2 the peripheral was not ready when it was accessed. 2015-03-20 21:38:01 +01:00
marcoveeneman 273b1fa525 Fixed using incorrect registers. 2015-03-20 21:36:52 +01:00
marcoveeneman b3c2194d95 Tiva st_lld files cleanup. 2015-03-20 21:11:57 +01:00
marcoveeneman 94ae99ab51 Tiva Tickless timer in down mode turned out not to work in last commit. It's working for WGPT5 now.
Started some cleanup in st_lld driver.
2015-03-20 21:04:38 +01:00
marcoveeneman 87e99fedd8 Changed the Tiva tickless timer implementation to use the timer in down mode. It's working for WGPT5 now. 2015-03-20 20:21:38 +01:00
marcoveeneman 930d2d6de0 Tickless mode for Tiva seems to be working using WGPT5 in up mode. 2015-03-20 19:49:21 +01:00
marcoveeneman 799f3b5d8a Merge branch 'tiva_spi_dma' 2015-03-17 21:58:57 +01:00
marcoveeneman 7a68c44dd0 Added Tiva UDMA initialization in hal_lld of TM4C123x devices.
Added UDMA and SPI driver to platform.mk of TM4C123x devices.
2015-03-17 21:49:01 +01:00
marcoveeneman c38910ced9 Added Tiva SPI low level driver. 2015-03-17 21:47:56 +01:00
marcoveeneman a1899308aa Added Tiva UDMA driver. 2015-03-17 21:47:12 +01:00
marcoveeneman 6c105d29d2 Changed Tiva UDMA peripheral structure for TM4C123x. 2015-03-17 21:44:45 +01:00
marcoveeneman e941fc7f5b Added Tiva UDMA ISR names and numbers to TM4C123x tiva_isr.h 2015-03-17 21:43:40 +01:00
marcoveeneman 04d4618419 Renamed Tiva GPIOA SSI pins to their function (RX, TX and CLK) in TI_TM4C123G_LAUNCHPAD board.h. 2015-03-17 21:42:17 +01:00
barthess 0feccaa469 EICU. Updated authors. 2015-03-13 23:53:00 +03:00
barthess 6398d0d351 EICU. Low level driver moved to TIMv1 directory 2015-03-13 23:26:24 +03:00
barthess 22819b0f46 EICU. Temporal code moved to main chibios repo. 2015-03-13 23:19:12 +03:00
barthess 6f9bf595fd Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib into HEAD 2015-03-13 22:48:38 +03:00
barthess bff52a2141 EICU. Minor improvements 2015-03-13 22:48:25 +03:00
barthess bfac876090 EICU. Added support of single channel timers.
Tested in hardware with TIM11.
2015-03-13 12:07:48 +03:00
barthess ceb3c861d5 EICU improvements.
Added field containing available channels into EICU driver structure.
This simplified driver code.
2015-03-12 18:24:49 +03:00
barthess 070bcc130c EICU. Added const qualifier for driver pointer in some functions 2015-03-05 16:03:05 +03:00
barthess 6518ddaf22 Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib 2015-03-05 16:00:24 +03:00
barthess ae1ce0ea2b EICU. Timer widht (16-32 bits) now stored in driver field and detected durign startup 2015-03-05 15:59:32 +03:00
marcoveeneman 817efe19e0 Merge branch 'tiva_pal_driver' 2015-03-04 21:57:47 +01:00
marcoveeneman ff68a0b1f0 Changed the Tiva board.h files so all pins are configured as GPIOs and tri-stated except the JTAG pins. 2015-03-03 23:05:02 +01:00
marcoveeneman 61b7a9f0f3 Added missing PAL_TIVA_DEN_ENABLE for PAL_MODE_INPUT in Tiva devices. 2015-03-03 23:02:56 +01:00
marcoveeneman 0f7928dd85 Added missing drive strength enable for PAL_MODE_OUTPUT_OPENDRAIN in Tiva devices. 2015-03-03 22:02:56 +01:00
marcoveeneman 4cd44e345e Implemented PAL_MODE_* defines for Tiva devices. 2015-03-03 21:53:33 +01:00
marcoveeneman 555d45f70a Implemented AHB access for GPIOA - GPIOJ for TM4C123x devices. On TM4C129x devices the AHB is the only used bus for GPIO.
Replaced the nops after starting the gpio peripheral clocks with a busy wait until all GPIO peripherals are ready.
Added Sub-Family identifier for TM4C123x devices.
2015-03-03 21:15:21 +01:00
barthess e75668f53b EICU. Cosmetical cleanup 2015-03-03 22:43:25 +03:00
barthess 35c48df910 EICU. Deleted code for "fast" capture.
Reasons:
1) It duplicates functionality of "vanilla" ICU driver
2) Fast and slow modes are mutually exclided in single timer
2015-03-03 22:24:16 +03:00
barthess 8b2ddb7f2b EICU. Cosmetical improvements. 2015-03-03 21:10:03 +03:00
barthess 28ab149cf7 EICU. Cosmetical improvements. 2015-03-03 21:07:44 +03:00