Commit Graph

794 Commits

Author SHA1 Message Date
Markus Fröschle
66a573cb32 fixed a few compiler warnings 2012-12-15 18:50:15 +00:00
Markus Fröschle
8c6306e0d7 merged SD_CARD branch 2012-12-15 18:25:15 +00:00
Markus Fröschle
5e0b5d39d1 was accidentally added to svn; deleted 2012-12-10 10:05:39 +00:00
Markus Fröschle
f6da3365cd was accidentally added to svn 2012-12-10 10:04:05 +00:00
Markus Fröschle
fd7f452860 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
041d31881c 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
703df3199e 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
6bf3a165b2 2012-12-09 18:17:07 +00:00
Markus Fröschle
c34bae81df added version numbering 2012-12-09 14:02:50 +00:00
Markus Fröschle
abac8b3627 flashing works with host-flash routine. Plugin doesn't for some reason 2012-12-09 10:36:50 +00:00
Markus Fröschle
570f61471d code does now flash with bdmctrl and runs with FireTOS and EmuTOS 2012-12-09 10:23:48 +00:00
Markus Fröschle
39a67d3382 can now flash through bdmctrl 2012-12-09 06:34:05 +00:00
Markus Fröschle
78e99605fd fixed hang in Firetos initialize_hardware() 2012-12-08 08:33:45 +00:00
Markus Fröschle
260d863d1c 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
5e64c5a8d7 renamed functions to spi_...() and sd_card...() according to target 2012-12-04 08:49:21 +00:00
Markus Fröschle
b3246e5f0c renamed functions to spi_...() and sd_card...() according to target 2012-12-03 12:02:55 +00:00
Markus Fröschle
04c83e68c1 removed a few other volatile declarations 2012-11-28 04:25:09 +00:00
Markus Fröschle
e7e5347c70 removed stupid "volatile void" declaration 2012-11-28 04:18:13 +00:00
Markus Fröschle
1da2567df4 write diagnostic message if PIC initialization failed 2012-11-24 07:00:00 +00:00
Markus Fröschle
9ecb9177dd cosmetic changes 2012-11-20 22:27:47 +00:00
Markus Fröschle
89bd397cb7 added comment 2012-11-20 22:21:49 +00:00
Markus Fröschle
32ed4084a0 added comments 2012-11-19 16:48:17 +00:00
Markus Fröschle
31b6e02a23 use shorter sd_send_bytes() routines 2012-11-19 16:42:46 +00:00
Markus Fröschle
c3f7e0e76e use shorter sd_send_bytes() routines 2012-11-19 15:02:06 +00:00
Markus Fröschle
5ee9f19b2c modified as inline functions 2012-11-19 14:19:10 +00:00
Markus Fröschle
0aeaa46bf5 added optimized read and write routines 2012-11-19 14:00:00 +00:00
Markus Fröschle
574dfe21bd modified to accept new path (BaS_gcc) 2012-11-19 12:03:48 +00:00
Markus Fröschle
84c707d132 new include file sd_card.h 2012-11-19 06:38:02 +00:00
Markus Fröschle
ed9133bce6 new include file sd_card.h 2012-11-19 06:37:17 +00:00
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
b9c88021c6 renamed directory 2012-11-16 18:57:09 +00:00