Commit Graph

614 Commits

Author SHA1 Message Date
Markus Fröschle
25ac96a4d0 was accidentally added to svn; deleted 2012-12-10 10:05:39 +00:00
Markus Fröschle
3f822f015f was accidentally added to svn 2012-12-10 10:04:05 +00:00
Markus Fröschle
62d6486227 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
842a33ebfd 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
7975ee35b2 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
55d0e0b9fb 2012-12-09 18:17:07 +00:00
Markus Fröschle
f124b71092 added version numbering 2012-12-09 14:02:50 +00:00
Markus Fröschle
a6eb9ced64 flashing works with host-flash routine. Plugin doesn't for some reason 2012-12-09 10:36:50 +00:00
Markus Fröschle
981db7e1c8 code does now flash with bdmctrl and runs with FireTOS and EmuTOS 2012-12-09 10:23:48 +00:00
Markus Fröschle
f6ebb95116 can now flash through bdmctrl 2012-12-09 06:34:05 +00:00
Markus Fröschle
be7c0111f6 fixed hang in Firetos initialize_hardware() 2012-12-08 08:33:45 +00:00
Markus Fröschle
7d60d34f90 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
a53d35f9b5 renamed functions to spi_...() and sd_card...() according to target 2012-12-04 08:49:21 +00:00
Markus Fröschle
16e7341a2a renamed functions to spi_...() and sd_card...() according to target 2012-12-03 12:02:55 +00:00
Markus Fröschle
5ffc7def57 removed a few other volatile declarations 2012-11-28 04:25:09 +00:00
Markus Fröschle
000e2a0a0a removed stupid "volatile void" declaration 2012-11-28 04:18:13 +00:00
Markus Fröschle
4f49909ce2 write diagnostic message if PIC initialization failed 2012-11-24 07:00:00 +00:00
Markus Fröschle
70acc87851 cosmetic changes 2012-11-20 22:27:47 +00:00
Markus Fröschle
153914b1b9 added comment 2012-11-20 22:21:49 +00:00
Markus Fröschle
4a2ed537db added comments 2012-11-19 16:48:17 +00:00
Markus Fröschle
eebd888aa2 use shorter sd_send_bytes() routines 2012-11-19 16:42:46 +00:00
Markus Fröschle
8693502294 use shorter sd_send_bytes() routines 2012-11-19 15:02:06 +00:00
Markus Fröschle
40804399d2 modified as inline functions 2012-11-19 14:19:10 +00:00
Markus Fröschle
9d31166c87 added optimized read and write routines 2012-11-19 14:00:00 +00:00
Markus Fröschle
6ac649f5d0 modified to accept new path (BaS_gcc) 2012-11-19 12:03:48 +00:00
Markus Fröschle
5a7a2b7a88 new include file sd_card.h 2012-11-19 06:38:02 +00:00
Markus Fröschle
45949351ed new include file sd_card.h 2012-11-19 06:37:17 +00:00
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