Commit Graph

307 Commits

Author SHA1 Message Date
Markus Fröschle
845744778a modified busy waiting loops (new function: waitfor(us, condition) to only wait for a certain time until the expected condition comes true, otherwise just return without the job done 2012-11-17 14:22:34 +00:00
Markus Fröschle
d9d7b8b7bf reintegrated BaS_gcc from BaS_GNU branch into trunk 2012-11-16 21:22:35 +00:00
Markus Fröschle
1c8a4d0dcd new run of quartus 2012-11-16 19:32:30 +00:00
Markus Fröschle
b9c88021c6 renamed directory 2012-11-16 18:57:09 +00:00
Markus Fröschle
707cf601aa renamed directory 2012-11-16 18:39:58 +00:00
Markus Fröschle
b609a727d8 seems to hang in sdcard_idle. Commented that call again. 2012-11-15 21:06:50 +00:00
Markus Fröschle
75421c03f3 seems to hang in sdcard_idle. Commented that call again. 2012-11-15 21:05:24 +00:00
Markus Fröschle
ba6fe6a245 enabled SD card routines in bas again.
SD card detection seems to work.
2012-11-15 20:54:56 +00:00
Markus Fröschle
16d3e69492 replaced wait_xms()- and wait_xus()-routines by a generic one that takes the number of us to wait as a parameter 2012-11-15 06:25:15 +00:00
Vincent Rivière
6770bdc060 Fixed NVRAM initialization. 2012-11-13 00:10:01 +00:00
Vincent Rivière
2c9ef1e11b Reordered. 2012-11-12 15:57:09 +00:00
Vincent Rivière
6c8b9d1eb7 Set ___BOOT_FLASH to the real flash address even if the BaS is being run in RAM with GDB. 2012-11-12 15:53:23 +00:00
Vincent Rivière
fc449e53c5 Jump to _rom_entry instead of ___BOOT_FLASH. 2012-11-12 15:49:58 +00:00
Vincent Rivière
cfb4d43ec5 Clean up and comments. 2012-11-12 15:41:09 +00:00
Vincent Rivière
b71be8c5f5 Better definition of __BAS_IN_RAM. 2012-11-12 15:06:19 +00:00
Vincent Rivière
1c75bf612a Moved sections definition at the top. 2012-11-12 15:00:53 +00:00
Vincent Rivière
fabc2a1a82 Renamed memory regions. 2012-11-12 13:50:23 +00:00
Vincent Rivière
a4307fd6dd Moved all __BAS_* defines to the same place. 2012-11-12 13:47:02 +00:00
Vincent Rivière
1ec0489b2e Removed redundant sections VMA. 2012-11-12 13:41:21 +00:00
Vincent Rivière
69cd718dc7 Removed useless cast. 2012-11-10 17:10:46 +00:00
Vincent Rivière
49d0df7d03 Fixed warning about unused variable. 2012-11-10 16:41:11 +00:00
Vincent Rivière
46d00e1013 Removed useless jmp variable. 2012-11-07 22:20:13 +00:00
Vincent Rivière
7887114882 Renamed _Bas_base and __BAS_VMA to __BAS_IN_RAM. 2012-11-07 22:18:27 +00:00
Vincent Rivière
4d52accc10 Use __STRAM_END. 2012-11-07 21:54:21 +00:00
Vincent Rivière
f44e61964d Renamed _tos_base to __TOS. 2012-11-07 21:53:01 +00:00
Vincent Rivière
3d3bea331a Reordered symbols. 2012-11-07 21:24:59 +00:00
Vincent Rivière
212d0f84ef Added ST-RAM and FastRAM symbols. 2012-11-07 21:16:19 +00:00
Vincent Rivière
1dc856c7f9 Better BaS alignment handling. 2012-11-07 20:57:09 +00:00
Vincent Rivière
8c1fb6796d Fixed potential BaS size alignment issue. 2012-11-07 20:24:42 +00:00
Vincent Rivière
41ac4d0d54 Removed useless _bas_end symbol. 2012-11-07 20:13:43 +00:00
Vincent Rivière
c68eb2df0c Added missing dependency to $(LDCSRC). 2012-11-07 20:02:42 +00:00
Vincent Rivière
9d5f06f7f6 Rollback commit by mistake. 2012-11-07 19:55:02 +00:00
Vincent Rivière
c1a018dc81 Removed STRT_SRC and STRT_OBJ. 2012-11-07 19:53:43 +00:00
Vincent Rivière
6bb86ff69a Removed useless ABSOLUTE(). 2012-11-07 19:40:39 +00:00
Vincent Rivière
86b4e34558 Moved *_before_copy labels in a separate paragraph. 2012-11-07 19:17:10 +00:00
Vincent Rivière
20ada45bf9 Fixed *_before_copy labels when linking to .s19 2012-11-05 22:48:04 +00:00
Vincent Rivière
77ed1f8473 Create ram.elf.s19 with ELF tools. 2012-11-05 20:20:29 +00:00
Vincent Rivière
937819a502 Replaced -fno-builtin by -ffreestanding to allow usage of stdint.h when the standard library is not available. 2012-11-05 19:44:08 +00:00
Markus Fröschle
c7e76c70ec more diagnostic output 2012-11-04 19:18:19 +00:00
Markus Fröschle
45553bb9e2 adopted original preprocessor defines 2012-11-04 16:52:31 +00:00
Markus Fröschle
8448733826 fixed irq macro definition 2012-11-04 16:18:14 +00:00
Markus Fröschle
8a67ea1fa9 move #0x2[\]200,sr 2012-11-04 11:26:26 +00:00
Markus Fröschle
3bc842eab9 re-enabled MMU 2012-11-04 11:23:48 +00:00
Markus Fröschle
60e7b206d5 fixed -mpcrel cflags for cache.c and bas_printf.c 2012-11-03 22:41:08 +00:00
Markus Fröschle
f898515123 compile cache.c -mpcrel 2012-11-03 22:35:47 +00:00
Markus Fröschle
cc01b9eaee removed register variables. Better let the compiler decide about. 2012-11-03 22:28:28 +00:00
Markus Fröschle
f7e35792c9 2012-11-01 20:36:52 +00:00
Markus Fröschle
6c0eaab5b1 finally, we reach the BaS() code which dies when enabling interrupts (exception routine bad?) 2012-11-01 08:31:12 +00:00
Markus Fröschle
5d9a66a2c2 got rid of uart_out_word() 2012-10-31 22:04:53 +00:00
Markus Fröschle
c748271750 2012-10-31 21:19:19 +00:00