Commit Graph

287 Commits

Author SHA1 Message Date
Markus Fröschle
2f8ecb7514 fixed eclipse build settings (scanner did not work right on MacOSX) 2012-11-19 06:22:37 +00:00
Markus Fröschle
acc3d12210 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
953552ea81 updated comments 2012-11-18 10:28:21 +00:00
Markus Fröschle
eab62d6676 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
6f9c349f72 deleted cfg directory which is not needed for gcc 2012-11-18 09:29:36 +00:00
Markus Fröschle
687cf64e27 loops to trick out DSPI FIFO 2012-11-18 09:25:28 +00:00
Markus Fröschle
cb63962e90 started sd_card.c transcribe to C 2012-11-18 09:20:50 +00:00
Markus Fröschle
92acd774e9 added NOP() macro 2012-11-18 07:42:02 +00:00
Markus Fröschle
498fc6a775 return from busy-waiting after a certain time 2012-11-18 07:39:33 +00:00
Markus Fröschle
7494aa5cb3 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
318ede8240 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
57a5a763ec disabled FPGA early until its initialized freshly. 2012-11-17 21:05:12 +00:00
Markus Fröschle
424ca6bac8 fixed __cplusplus preprocessor define 2012-11-17 14:24:18 +00:00
Markus Fröschle
39eacc978d 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
9cad7a7c8d reintegrated BaS_gcc from BaS_GNU branch into trunk 2012-11-16 21:22:35 +00:00
Markus Fröschle
4dafbc7894 renamed directory 2012-11-16 18:57:09 +00:00
Markus Fröschle
b57301ca8c renamed directory 2012-11-16 18:39:58 +00:00
Markus Fröschle
9b73391b82 seems to hang in sdcard_idle. Commented that call again. 2012-11-15 21:06:50 +00:00
Markus Fröschle
8fdef56ce2 seems to hang in sdcard_idle. Commented that call again. 2012-11-15 21:05:24 +00:00
Markus Fröschle
7248d85904 enabled SD card routines in bas again.
SD card detection seems to work.
2012-11-15 20:54:56 +00:00
Markus Fröschle
558581e751 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
d51058103f Fixed NVRAM initialization. 2012-11-13 00:10:01 +00:00
Vincent Rivière
49a8c99534 Reordered. 2012-11-12 15:57:09 +00:00
Vincent Rivière
e8b5429f8f 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
71c1982db9 Jump to _rom_entry instead of ___BOOT_FLASH. 2012-11-12 15:49:58 +00:00
Vincent Rivière
8952207299 Clean up and comments. 2012-11-12 15:41:09 +00:00
Vincent Rivière
cfcc21a22d Better definition of __BAS_IN_RAM. 2012-11-12 15:06:19 +00:00
Vincent Rivière
62168830d7 Moved sections definition at the top. 2012-11-12 15:00:53 +00:00
Vincent Rivière
10b4123d82 Renamed memory regions. 2012-11-12 13:50:23 +00:00
Vincent Rivière
12bfaa31e5 Moved all __BAS_* defines to the same place. 2012-11-12 13:47:02 +00:00
Vincent Rivière
0b5294c111 Removed redundant sections VMA. 2012-11-12 13:41:21 +00:00
Vincent Rivière
301d8d615c Removed useless cast. 2012-11-10 17:10:46 +00:00
Vincent Rivière
b05b86b92d Fixed warning about unused variable. 2012-11-10 16:41:11 +00:00
Vincent Rivière
b7f35ea73a Removed useless jmp variable. 2012-11-07 22:20:13 +00:00
Vincent Rivière
4f6de23d4d Renamed _Bas_base and __BAS_VMA to __BAS_IN_RAM. 2012-11-07 22:18:27 +00:00
Vincent Rivière
c186491dbd Use __STRAM_END. 2012-11-07 21:54:21 +00:00
Vincent Rivière
de779e15a1 Renamed _tos_base to __TOS. 2012-11-07 21:53:01 +00:00
Vincent Rivière
059ef90645 Reordered symbols. 2012-11-07 21:24:59 +00:00
Vincent Rivière
786f275cce Added ST-RAM and FastRAM symbols. 2012-11-07 21:16:19 +00:00
Vincent Rivière
e08bebf43b Better BaS alignment handling. 2012-11-07 20:57:09 +00:00
Vincent Rivière
2406e88ec6 Fixed potential BaS size alignment issue. 2012-11-07 20:24:42 +00:00
Vincent Rivière
89e2df2e4d Removed useless _bas_end symbol. 2012-11-07 20:13:43 +00:00
Vincent Rivière
41d0693da6 Added missing dependency to $(LDCSRC). 2012-11-07 20:02:42 +00:00
Vincent Rivière
2701e6b998 Rollback commit by mistake. 2012-11-07 19:55:02 +00:00
Vincent Rivière
80855e8f65 Removed STRT_SRC and STRT_OBJ. 2012-11-07 19:53:43 +00:00
Vincent Rivière
991bd0bff2 Removed useless ABSOLUTE(). 2012-11-07 19:40:39 +00:00
Vincent Rivière
ab9ebebead Moved *_before_copy labels in a separate paragraph. 2012-11-07 19:17:10 +00:00
Vincent Rivière
2e47760315 Fixed *_before_copy labels when linking to .s19 2012-11-05 22:48:04 +00:00
Vincent Rivière
6f8c628ab5 Create ram.elf.s19 with ELF tools. 2012-11-05 20:20:29 +00:00
Vincent Rivière
fbdb4b0111 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