Commit Graph

470 Commits

Author SHA1 Message Date
Markus Fröschle
cb20f7ff30 fixed eclipse build settings (scanner did not work right on MacOSX) 2012-11-19 06:22:37 +00:00
Markus Fröschle
d7600c620a beefed up with Freescale's symbolic constants which hopefully makes the code more readable. 2012-11-18 20:57:16 +00:00
Markus Fröschle
b23337a303 updated comments 2012-11-18 10:28:21 +00:00
Markus Fröschle
0b5e4aca81 declared wait()-routines as inline void volatile since gcc decided to optimize out them sometimes. Do we need __attribute__(always_inline) ? 2012-11-18 10:10:38 +00:00
Markus Fröschle
3101237277 deleted cfg directory which is not needed for gcc 2012-11-18 09:29:36 +00:00
Markus Fröschle
b8fac29d99 loops to trick out DSPI FIFO 2012-11-18 09:25:28 +00:00
Markus Fröschle
03e6b13e0a started sd_card.c transcribe to C 2012-11-18 09:20:50 +00:00
Markus Fröschle
900c7a48af added NOP() macro 2012-11-18 07:42:02 +00:00
Markus Fröschle
fee5213b83 return from busy-waiting after a certain time 2012-11-18 07:39:33 +00:00
Markus Fröschle
fbb866e5c3 there was still an occasional hang in test_udp720101(). Commented offending statement until fully understood... 2012-11-17 22:31:01 +00:00
Markus Fröschle
f050f49e98 there was still an occasional hang in test_udp720101(). Commented offending statement until fully understood... 2012-11-17 21:12:54 +00:00
Markus Fröschle
4a4a907ce5 disabled FPGA early until its initialized freshly. 2012-11-17 21:05:12 +00:00
Markus Fröschle
c4c7046432 fixed __cplusplus preprocessor define 2012-11-17 14:24:18 +00:00
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