Commit Graph

1432 Commits

Author SHA1 Message Date
Markus Fröschle
d7b59ca25a update to xenial 2020-02-16 21:05:29 +01:00
Markus Fröschle
e791f8bdae fix typo that caused a hex number wrongly interpreted as octal 2020-02-16 19:21:56 +01:00
Markus Fröschle
dd462f481b Merge branch 'master' of https://github.com/firebee-org/BaS_gcc 2020-02-16 17:42:22 +01:00
Markus Fröschle
22ad6be23c silent failed include 2019-08-04 10:43:30 +02:00
Markus Fröschle
0e3b10b694 make sure build dirs exist 2019-05-18 06:59:01 +02:00
Mark Duckworth
3446b32a45 Add support for the M5475EVB Board 2019-05-17 19:20:52 +02:00
David Gálvez
8001d4ed8b Correct speed setting in ACP_CONFIG register
Using a negative number to set the device as not existing
was incorrect, we set the device as a slow device (3) and
set the "not wait" bit like BaS CodeWarrior does.
2018-12-14 18:31:07 +01:00
David Gálvez
7a11f284d7 Clear IDE fields in ACP_CONFIG register
Don't trust that the IDE fields in ACP_CONFIG are set
to zero when the FPGA is loaded.
2018-12-14 18:31:07 +01:00
David Gálvez
0982b91c87 Fix FireTOS booting
For some reason which I coudn't figure it out FireTOS
fails to boot randomly when we turn on the MMU before
the IDE ports are initialized (FireTOS doesn't detect
the IDE devices). This is fixed when we turn on the MMU
after the IDE initialization. CodeWarrior BaS does it
this way too.
2018-12-14 18:31:07 +01:00
David Gálvez
025e8c9a28 Correct delay time from 1us to 1ms 2018-12-14 18:31:07 +01:00
David Gálvez
4799ba56b0 Add blank lines to make source more readable 2018-11-20 20:47:59 +01:00
David Gálvez
e1871d64d4 Show FPGA date after config loading
FPGA have now a register(0xf0040100) where the date is stored
2018-11-20 20:47:59 +01:00
David Gálvez
152c06f333 Add support for latest IDE improvements in FPGA 2018-11-20 20:47:59 +01:00
David Gálvez
3ae36eb937 Don't use error() to show shutdown message
It's misleading, RTC data is being saved in the PIC
and there is no error, better use inf() instead.
2018-11-02 14:27:34 +01:00
David Gálvez
795efccf75 Fix SD-Card initialization process
After command ACMD41 was being sent we were not waiting
for the error idle state bit being cleared, so we were
really never going out from the initialization phase.
2018-11-02 14:27:34 +01:00
Markus Fröschle
af9f9bca71 fix assembler error 2018-03-17 10:40:41 +01:00
Markus Fröschle
f1dd71908f revert Makefile change 2018-03-17 10:28:07 +01:00
Markus Fröschle
b2a567277a fix off-by-one error in memset() 2018-03-17 08:24:59 +01:00
Markus
7f7de32cac fix build status badge 2018-03-12 13:30:05 +01:00
Markus
80f784a2a9 fix build status badge 2018-03-12 13:28:44 +01:00
Markus
d778286ea7 Update README.md
add travis-ci build status icon
2018-03-12 13:25:59 +01:00
Markus Fröschle
2a62201c06 fix off-by-one error 2018-03-12 13:09:44 +01:00
Markus Fröschle
40080be43b remove unneeded volatile qualifier 2018-03-12 11:50:51 +01:00
Markus Fröschle
4eabb849e4 initialize global variables 2018-03-12 11:39:14 +01:00
Markus Fröschle
02f559ae1d simplify memset() 2018-03-12 11:15:22 +01:00
David Gálvez
6d6484fc51 Add extensions and file names to .gitignore 2018-02-28 20:20:03 +01:00
David Gálvez
4e8a038984 Fix warnings in Makefile
ELF compilation's condition that is used to
generate the objcopy command line is reversed.
2018-02-28 19:45:23 +01:00
Markus Fröschle
94f99638cc fix cast 2018-02-24 20:32:20 +01:00
Markus Fröschle
c7af0a3896 make local functions static 2018-02-24 20:30:18 +01:00
Markus Fröschle
e1fab76fc6 make global variables static 2018-02-24 20:28:29 +01:00
Markus Fröschle
e31204235d renamed BaS sprintf to xsprintf to avoid conflicts in TOS programs 2018-02-24 20:23:14 +01:00
Markus Fröschle
cb217e3e95 fix missing include of stdlib.h 2018-02-24 20:11:56 +01:00
Markus Fröschle
e443a23cd4 adapt to libcmini path as on github now 2018-02-24 20:11:04 +01:00
Markus Fröschle
7e94098f73 fix prototype warning 2018-02-24 20:10:37 +01:00
Markus Fröschle
624bc64f35 add include path 2018-02-24 20:10:08 +01:00
Markus Fröschle
d96f186fff remove generated files 2018-02-24 20:08:44 +01:00
Markus Fröschle
f3dba8f145 disable deployment step (for now) 2017-12-25 13:51:36 +01:00
Markus Fröschle
dfa1ae5ff9 ensure libbas.a is linked latest to avoid mintlib conflict 2017-12-25 13:47:37 +01:00
Markus Fröschle
d577b061cc re-add inadvertently removed INCLUDE variable 2017-12-25 13:41:34 +01:00
Markus Fröschle
b4423bc3a1 remove libcmini dependency and -mshort build 2017-12-25 13:36:53 +01:00
Markus Fröschle
5600e3e342 remove libcmini dependency 2017-12-25 13:31:58 +01:00
Markus Fröschle
e5c3dcce56 remove libcmini dependency 2017-12-25 13:26:35 +01:00
Markus Fröschle
0ec34f7ec1 remove mshort build
there seems to be something wrong with the newest mintlib build (mshort builds for ColdFire fail). Temporarily disabling this until fixed.
2017-12-25 13:20:53 +01:00
Markus Fröschle
1a3e02d27d temporarily remove libcmini dependency 2017-12-25 13:18:19 +01:00
Markus Fröschle
09dafa8861 remove libcmini dependency 2017-12-25 13:14:01 +01:00
Markus Fröschle
4628df5cc8 remove LIBCMINI dependency
this needs to be disabled until libcmini is available for travis-ci builds
2017-12-25 13:09:18 +01:00
Markus Fröschle
efbbaaac3d fix to not compile -mshort
there appears to be something wrong with -mshort -mcpu=547x (undef symbol)
Disable mshort compilation until this has been fixed
2017-12-25 13:00:29 +01:00
Markus Fröschle
92a68e51c8 add missing .gitignore files 2017-12-25 12:06:11 +01:00
Markus Fröschle
a419df9589 fix for newer binutils 2017-12-25 11:59:39 +01:00
Markus Fröschle
498547f234 add .gitignore files to enforce output dir creation 2017-12-25 11:55:04 +01:00