Commit Graph

205 Commits

Author SHA1 Message Date
Kelvin Lawson
2393a08321 dm36x uart: Allow UART write from interrupt context. 2013-11-14 01:01:06 +00:00
Kelvin Lawson
735b42a182 dm36x: Add more DM365 interrupt vectors. 2013-11-09 01:15:41 +00:00
Kelvin Lawson
39dc800a6e dm36x: ISR install function renamed. 2013-11-02 18:02:54 +00:00
Kelvin Lawson
29a48d310e dm36x: Add interrupt-enable function for application code. 2013-11-02 17:58:28 +00:00
Kelvin Lawson
9f5e709ba2 dm36x: Move ISR registration to header available from application code. 2013-11-02 17:42:49 +00:00
Kelvin Lawson
4cf4d722ea dm36x: Support user-registered interrupt handlers via archISRInstall(). 2013-11-02 17:01:52 +00:00
Kelvin Lawson
71cbd0013e dm36x: Add VPFE register base addresses. 2013-10-31 21:32:37 +00:00
Kelvin Lawson
1494b48edd dm36x: Add SD/MMC registers. 2013-10-22 00:00:08 +01:00
Kelvin Lawson
5d54ff8f9b dm36x: More fully-featured UART driver, does not require previous initialisation by u-boot. 2013-10-21 01:51:42 +01:00
Kelvin Lawson
ae3397deb4 dm36x: Correct sense of timer expiry. 2013-10-21 00:50:37 +01:00
Kelvin Lawson
ebffc439a0 DM36x: Add microsecond accuracy timer. 2013-10-19 01:40:22 +01:00
Kelvin Lawson
aba6c6f5fd DM36X: First draft of archUsleep() timer. 2013-10-18 02:07:59 +01:00
Kelvin Lawson
c8f46a8075 DM36X: First draft of archUsleep() timer. 2013-10-18 02:07:47 +01:00
Kelvin Lawson
f2f262aa55 DM36X: Work in progress, add high-speed hardware timer support. 2013-10-18 01:35:13 +01:00
Kelvin Lawson
d996dd52c7 ARM syscalls.c: Add _exit() stub required by toolchain https://launchpad.net/~terry.guo/+archive/gcc-arm-embedded 2013-10-11 13:23:08 +01:00
Kelvin Lawson
e3c90317a4 atomtimer: Support timer callbacks registering new timers by walking the timer list, and building up a separate list of callbacks to be run later. 2013-10-01 23:47:39 +01:00
Kelvin Lawson
1b8681efa4 atomtimer: Add note regarding timer callback registrations from within timer callbacks. 2013-10-01 21:57:23 +01:00
Kelvin Lawson
0bebd89268 dm36x: Add I2C ICSTR register bitfields. 2013-09-26 23:35:46 +01:00
Kelvin Lawson
702e9dd0b5 dm36x: Add I2C register bitfields. 2013-09-25 01:02:30 +01:00
Kelvin Lawson
bbd8085736 dm36x: Add I2C register offsets. 2013-09-25 00:26:48 +01:00
Kelvin Lawson
ae636f9053 dm36x: Use appropriate memory size for DM368 Leopardboard (128MB). 2013-09-24 23:49:15 +01:00
Kelvin Lawson
342e66da44 dm36x: Cross-platform Makefile. 2013-09-24 23:33:27 +01:00
Kelvin Lawson
25d69cd73f dm36x: Add PINMUX registers and bitfields. 2013-09-24 01:24:32 +01:00
Kelvin Lawson
c10006cf13 dm36x: Add GPIO register addresses. 2013-09-23 23:22:55 +01:00
Kelvin Lawson
4b9022a55e dm36x: Add libatomthreads.a build target for linking to external applications. 2013-09-18 22:56:21 +01:00
Kelvin Lawson
dfe296b01b dm36x: Write README file for DM365/DM368. 2013-09-18 00:17:25 +01:00
Kelvin Lawson
e0c4cba602 dm36x: Add full run of automated test suite via UART + expect. All tests pass on DM36x! 2013-09-17 23:33:18 +01:00
Kelvin Lawson
4e6e30dcb3 dm36x: Ack the timer interrupt before we get the chance to be scheduled out. 2013-09-17 22:38:32 +01:00
Kelvin Lawson
ecffe72257 dm36x: UART convert \n to \r\n 2013-09-17 22:13:27 +01:00
Kelvin Lawson
d9b901c2b4 dm36x: IRQ dispatcher, extra brackets required inside macro. 2013-09-17 20:36:25 +01:00
Kelvin Lawson
e73d2a533c dm36x: Fix IRQENTRY register address. Debug out on spurious interrupts. 2013-09-17 20:17:18 +01:00
Kelvin Lawson
d329e5f631 ARM9: Don't use relative branches from interrupt vector table to support vector vectors a long way from the table in memory. 2013-09-17 19:33:58 +01:00
Kelvin Lawson
5924485def dm36x: Copy vector table from initial 0x80000000 to required location on ARM, 0x00000000. 2013-09-17 17:06:06 +01:00
Kelvin Lawson
8f8eddf6fc dm36x: system.ld, increase stack sizes. 2013-09-17 16:07:32 +01:00
Kelvin Lawson
49dbc3855a dm36x: Reloader timer int period. 2013-09-17 16:01:58 +01:00
Kelvin Lawson
c284a81e0c dm36x: Convert tabs to spaces. 2013-09-17 15:50:00 +01:00
Kelvin Lawson
4b3639916c dm36x: atomport-private.c add INTC setup. Convert tabs to spaces. 2013-09-17 15:48:23 +01:00
Kelvin Lawson
d1ac6d8768 dm36x: uart.c allow easy switch between UART ports. 2013-09-17 15:41:45 +01:00
Kelvin Lawson
59728345e6 dm36x: Fix empty-polling. Switch to UART0. Disable uart_read() temporarily, not used therefore not yet tested. 2013-09-17 15:26:14 +01:00
Kelvin Lawson
45a5e9f5a2 dm36x: Add UART0 and INTC addresses. 2013-09-17 15:24:57 +01:00
Kelvin Lawson
23b533f2a2 dm36x: Use alternative uImage load locations. 2013-09-17 15:23:18 +01:00
Kelvin Lawson
28bfbe74c2 system.ld: Correct memory map. 2013-08-22 02:19:31 +01:00
Kelvin Lawson
8a449559d0 dm36x: Add bin/uImage generation (BIN currently oversized). 2013-08-22 02:16:00 +01:00
Kelvin Lawson
1d25a82de8 Tabs to spaces 2013-08-22 01:49:15 +01:00
Kelvin Lawson
1f2879e03f Add work-in-progress DM36X port. 2013-08-22 01:43:58 +01:00
Kelvin Lawson
5d3f670ac0 Merge new ARM port submitted by navaro, with modifications to fit with the other Atomthreads ports, new folder structure, Makefiles and documentation. Tested on ARM926EJS using IntegratorCP platform emulated by QEMU.
Also minor changes to AVR/STM8 ports to use similar code structure throughout all ports.
2013-07-09 22:06:10 +01:00
Kelvin Lawson
5181143343 ARMv7A Port: Add contact details for contributer to README. 2012-07-13 22:20:31 +01:00
Kelvin Lawson
34e989424f Add extern "C" modifiers to main public header files for mixing C/C++. Minor modifications to pull request from @bacek. 2012-07-13 22:13:21 +01:00
Kelvin Lawson
43df30809c STM8: Correct pinout for UART. 2012-06-22 01:23:53 +01:00
Kelvin Lawson
6ce391f581 AVR port: introduce simulator for all automated tests, allowing the full test suite to be run within a simulator for continuous integration. 2012-06-21 23:32:44 +01:00