marcoveeneman
3d661a9185
Fixed typo in TM4C129x platform makefile.
2016-08-29 22:14:42 +02:00
marcoveeneman
220619763e
Updated hal_lld.c files to use the new TivaWare macros.
2016-08-24 20:43:29 +02:00
marcoveeneman
1853428c80
Implemented smart build for Tiva platform.
2016-08-09 20:42:31 +02:00
marcoveeneman
81c70f5ce6
Organized Tiva LLD folder.
2016-07-06 20:12:03 +02:00
marcoveeneman
0e86736605
Tiva. Wait for peripheral ready after enabling its clock.
...
This was already done for some peripherals, but not for GPT, I2C, PWM and UART.
2016-05-12 23:45:41 +02:00
marcoveeneman
32e712aae1
Tiva. UART. Fixed enabling and disabling UART modules 1-7.
2016-05-11 20:40:28 +02:00
marcoveeneman
d4cb8ca216
Mass license update.
2016-04-28 22:07:07 +02:00
marcoveeneman
bae745fd33
Tiva. WDG. Added watchdog driver to tm4c129 platform.mk.
2016-04-06 21:33:16 +02:00
marcoveeneman
46d9d3c97d
Tiva. WDG. Added missing declarations for watchdog peripherals.
2016-04-06 21:32:13 +02:00
marcoveeneman
eb960077b8
Tiva. WDG. Added watchdog low level driver.
2016-04-06 21:20:35 +02:00
marcoveeneman
beff5671d4
Tiva. WDG. Added missing declarations for watchdog peripherals.
2016-04-06 21:19:37 +02:00
Fabio Utzig
653c72ccc3
Fix tiva demos
2016-04-04 21:35:11 -03:00
Fabio Utzig
39b332e3dd
Fix header guard style
2016-04-04 19:50:15 -03:00
Fabio Utzig
1c1fd7d294
Fix hal files naming scheme
2016-04-04 19:44:42 -03:00
barthess
74065b233a
Fixed rest of paths in build scripts.
2015-08-24 16:26:22 +03:00
Fabien Poussin
48a03708ff
Changed the way files are included to a more convenient way.
2015-08-20 17:47:21 +02:00
marcoveeneman
ca60a9cba2
Tiva. I2C. Fixed bug where number of bytes read is 2 more then requested. This only occurs when the number of bytes to read is 3 or more.
2015-04-24 22:00:47 +02: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
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
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
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
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
marcoveeneman
12d6c494d3
Restructured Tiva pal_lld.h
2015-02-26 22:45:32 +01:00
marcoveeneman
631ec2d5cb
Added missing static keyword for Tiva gpio_init function.
2015-02-26 21:38:20 +01:00
marcoveeneman
71f9a8ff50
Fixed incorrect and missing GPIO pin unlocking for JTAG and NMI pins in pal_lld_init.
2015-02-26 21:35:46 +01:00
marcoveeneman
f376aec4d8
Changed the Tiva pal driver RCGCGPIO enable mask name.
...
Added a note about the RCGC register.
2015-02-26 21:11:51 +01:00
marcoveeneman
8a7ede5e0a
Fixed wrong bit mask in Tiva pal driver.
2015-02-26 21:09:10 +01:00
marcoveeneman
c17c2f6edf
Added Tiva I/O mode flags.
...
Implemented _pal_lld_setgroupmode.
2015-02-26 20:31:47 +01:00
marcoveeneman
2463abdd1b
Renamed Tiva launch and debug configurations.
...
Fixed wrong SYSCTL access of gpt, i2c and pwm after changing the SYSCTL structure in TM4C123x.h.
2015-02-17 21:25:12 +01:00
marcoveeneman
7b73ccd1d0
Added basic demo for TM4C1294 Connected Launchpad with LwIP.
2015-02-16 21:49:29 +01:00
marcoveeneman
59499bd0cf
Added MAC low level driver for the TM4C129x. Tested on the TM4C1294 Connected Launchpad.
2015-02-16 21:31:04 +01:00
marcoveeneman
e391b1509d
Reverted TM4C129x SYSCTL to old structure.
...
Added Ethernet peripheral structure for TM4C129x devices.
2015-02-16 20:49:37 +01:00
marcoveeneman
0214eb9bcc
Changed some peripheral register structures in tm4c123x.h and tm4c129x.h to reduce the amount of duplicated text.
...
Updated gpt_lld, i2c_lld, pal_lld, pwm_lld, serial_lld, hal_lld register access to the changed peripheral register structures.
Replaced old interrupt numbers from tm4c123x.h and tm4c129x.h in serial_lld.c with the new interrupt number defines from tiva_isr.h.
2014-10-16 20:59:31 +02:00
marcoveeneman
6d5f529f28
Fixed missing peripheral declarations in tm4c123x.h and tm4c129x.h
2014-10-14 22:02:27 +02:00
marcoveeneman
b74008c849
Added Tiva HAL files.
2014-10-13 23:01:10 +02:00