Commit Graph
1401 Commits
Author SHA1 Message Date
Markus Fröschle a8dfbb1ba7 move remaining routines into BaS.c (after copy to RAM) 2020-06-23 09:58:06 +02:00
Markus Fröschle 2801f78313 include related headers into pci.h 2020-06-23 09:57:37 +02:00
Markus Fröschle 53a0fcba45 change executable bit (can be called directly from commandline) 2020-06-23 09:57:03 +02:00
Markus Fröschle 3254a46278 rearrange to only run essential code from flash, everything else from
RAM

Move all code that is not essential before we copy code to RAM from
sysinit.c to BaS.c. Thus we only run basic initialization from flash and
everything else after RAM copy
2020-06-23 09:24:24 +02:00
Markus Fröschle 99af46af2a remove unused code 2020-06-23 09:09:23 +02:00
Markus 2a1740c66b Update README.md 2020-06-13 11:36:51 +02:00
Markus 3d67885c19 Update README.md 2020-06-13 11:36:07 +02:00
Markus 4f4b26c429 Update README.md 2020-06-13 11:34:09 +02:00
Markus e1390a1644 Update README.md 2020-06-13 11:33:16 +02:00
Markus 7dd2921825 Update README.md 2020-06-13 11:30:31 +02:00
Markus ac008082a3 Update README.md 2020-06-13 11:15:11 +02:00
Markus Fröschle 5ce03cdf0f describe pros and cons of BaS_gcc vs original BaS 2020-06-13 11:08:01 +02:00
Markus Fröschle 3f52fa97de remote reset to the FireBee/m5484lite device connected to BDM 2020-06-13 11:08:01 +02:00
Markus Fröschle b41439bcf6 flash script for open source BDM tools 2020-06-13 11:08:01 +02:00
Markus Fröschle 29639d3741 shell script to flash bas using open source BDM tools 2020-06-13 11:08:01 +02:00
David Galvez d2ab324368 Remove the execution bit in a bunch of code files 2020-05-14 19:18:22 +02:00
David Gálvez 231c71106e Fix typo 2020-05-14 19:18:22 +02:00
Markus Fröschle ac4301670c Merge branch 'master' of https://github.com/firebee-org/BaS_gcc 2020-04-26 10:23:48 +02:00
Markus Fröschle 6b9c8351ca build and flash EmuTOS
emutos source directory needs to be installed on the same directory level than
BaS_gcc, than this script can be directly called to build and flash
EmuTOS for the Firebee. Convenient if you have to do a git bisect
2020-04-26 10:20:57 +02:00
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