Commit Graph

323 Commits

Author SHA1 Message Date
Markus Fröschle
cc41e6e49b renamed FCLK_xxx macros to SPICLK_xxx 2012-12-16 06:42:13 +00:00
Markus Fröschle
21ff94f57c explicitely initialize SPI to start with slow clock 2012-12-16 06:39:58 +00:00
Markus Fröschle
0fd987e847 further cleaned up project 2012-12-16 06:36:21 +00:00
Markus Fröschle
5b7ee343e9 cleaned up project - removed unused files 2012-12-15 18:55:39 +00:00
Markus Fröschle
e298e1b4c9 fixed a few compiler warnings 2012-12-15 18:50:15 +00:00
Markus Fröschle
68194329d2 merged SD_CARD branch 2012-12-15 18:25:15 +00:00
Markus Fröschle
499c6af355 was accidentally added to svn; deleted 2012-12-10 10:05:39 +00:00
Markus Fröschle
a1c1b039b4 was accidentally added to svn 2012-12-10 10:04:05 +00:00
Markus Fröschle
1a718db4aa cleaned up project:
-moved all includes into "include" directory
-extracted "wait...()"-routines into separate files
2012-12-10 10:01:49 +00:00
Markus Fröschle
b2f1b22335 cleaned up project:
-moved all includes into "include" directory
-extracted "wait...()"-routines into separate files
2012-12-10 09:44:19 +00:00
Markus Fröschle
51561769c6 cleaned up project:
-moved all includes into "include" directory
-extracted "wait...()"-routines into separate files
2012-12-10 09:30:27 +00:00
Markus Fröschle
97c82f6345 2012-12-09 18:17:07 +00:00
Markus Fröschle
89b3d2980e added version numbering 2012-12-09 14:02:50 +00:00
Markus Fröschle
9840bf0640 flashing works with host-flash routine. Plugin doesn't for some reason 2012-12-09 10:36:50 +00:00
Markus Fröschle
25d341b48f code does now flash with bdmctrl and runs with FireTOS and EmuTOS 2012-12-09 10:23:48 +00:00
Markus Fröschle
77f0164502 can now flash through bdmctrl 2012-12-09 06:34:05 +00:00
Markus Fröschle
182ae661ce fixed hang in Firetos initialize_hardware() 2012-12-08 08:33:45 +00:00
Markus Fröschle
c6b029860f Added LGPL copyright headers to all files that did undergo significant changes during the development of BaS_gcc.
Didn't touch any files that weren't changed.
Added COPYING and COPYING.LESSER, the LGPL mandatory license files
2012-12-04 08:57:13 +00:00
Markus Fröschle
7cdf71810f renamed functions to spi_...() and sd_card...() according to target 2012-12-04 08:49:21 +00:00
Markus Fröschle
b85b977223 renamed functions to spi_...() and sd_card...() according to target 2012-12-03 12:02:55 +00:00
Markus Fröschle
bb5159cca4 removed a few other volatile declarations 2012-11-28 04:25:09 +00:00
Markus Fröschle
8020d107b1 removed stupid "volatile void" declaration 2012-11-28 04:18:13 +00:00
Markus Fröschle
85d23c994a write diagnostic message if PIC initialization failed 2012-11-24 07:00:00 +00:00
Markus Fröschle
a9d3cfeeb5 cosmetic changes 2012-11-20 22:27:47 +00:00
Markus Fröschle
5d97a5161e added comment 2012-11-20 22:21:49 +00:00
Markus Fröschle
b084209e46 added comments 2012-11-19 16:48:17 +00:00
Markus Fröschle
f2aa8f6bad use shorter sd_send_bytes() routines 2012-11-19 16:42:46 +00:00
Markus Fröschle
459e39a42d use shorter sd_send_bytes() routines 2012-11-19 15:02:06 +00:00
Markus Fröschle
55d26c5271 modified as inline functions 2012-11-19 14:19:10 +00:00
Markus Fröschle
11b5d0c01b added optimized read and write routines 2012-11-19 14:00:00 +00:00
Markus Fröschle
5ae1cf4cb1 modified to accept new path (BaS_gcc) 2012-11-19 12:03:48 +00:00
Markus Fröschle
1f89005d16 new include file sd_card.h 2012-11-19 06:38:02 +00:00
Markus Fröschle
b3b93a8041 new include file sd_card.h 2012-11-19 06:37:17 +00:00
Markus Fröschle
8edac06f30 fixed eclipse build settings (scanner did not work right on MacOSX) 2012-11-19 06:22:37 +00:00
Markus Fröschle
f0d6cf3abd 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
c826e061f2 updated comments 2012-11-18 10:28:21 +00:00
Markus Fröschle
2077415729 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
a38f607dfc deleted cfg directory which is not needed for gcc 2012-11-18 09:29:36 +00:00
Markus Fröschle
77748bdbff loops to trick out DSPI FIFO 2012-11-18 09:25:28 +00:00
Markus Fröschle
1df70e6aee started sd_card.c transcribe to C 2012-11-18 09:20:50 +00:00
Markus Fröschle
9aa82d6a91 added NOP() macro 2012-11-18 07:42:02 +00:00
Markus Fröschle
e6f5d863fc return from busy-waiting after a certain time 2012-11-18 07:39:33 +00:00
Markus Fröschle
f4a0dec4e1 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
700ee9adf6 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
b8eb3353db disabled FPGA early until its initialized freshly. 2012-11-17 21:05:12 +00:00
Markus Fröschle
70bfe34a99 fixed __cplusplus preprocessor define 2012-11-17 14:24:18 +00:00
Markus Fröschle
913ea1f46a 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
08b35e4997 reintegrated BaS_gcc from BaS_GNU branch into trunk 2012-11-16 21:22:35 +00:00
Markus Fröschle
bf929ec880 renamed directory R_0_8_3@315 R_0_8_5@315 R_0_8_6@315 R_0_8_7@315 R_0_8_8@315 R_0_9@315 R_0_9_1@315 R_0_9_3@315 2012-11-16 18:57:09 +00:00
Markus Fröschle
3b83097df1 renamed directory R_0_8_3@313 R_0_8_5@313 R_0_8_6@313 R_0_8_7@313 R_0_8_8@313 R_0_9@313 R_0_9_1@313 R_0_9_3@313 2012-11-16 18:39:58 +00:00