- 12 Aug, 2014 1 commit
-
-
Lucas Russo authored
-
- 11 Aug, 2014 1 commit
-
-
Lucas Russo authored
Mistakenly, the brackets were added in the HAL assert macros and, becasue of this, 2 brackets were print on an error.
-
- 07 Aug, 2014 1 commit
-
-
Lucas Russo authored
Now, they are located in hal/include/protocols/smpr_spi_regs.h. Also, updated the hal.mk file to search files in the new folder
-
- 06 Aug, 2014 6 commits
-
-
Lucas Russo authored
-
Lucas Russo authored
-
Lucas Russo authored
We were suppose to call DBG_SM_PR inside sm_pr subsystem DBG macros, but instead we had DBG_LL_IO.
-
Lucas Russo authored
-
Lucas Russo authored
-
Lucas Russo authored
The option can be selected on compile-time through the use of the Makefile variable BOARD, with possible values of ml605 and afcv3. Examples: BOARD=ml605 or BOARD=afcv3.
-
- 05 Aug, 2014 9 commits
-
-
Lucas Russo authored
-
Lucas Russo authored
Now, we are using just the offset from a SMIO base address which is set on SMIO boot time. This fixes #23 github issue
-
Lucas Russo authored
There are some cases that we need to write to the LLIO without ORing the SMIO register address with the SMIO base address, such as when we are reading from BAR2 (DDR3 currently). This is part of the github issue #23
-
Lucas Russo authored
This is part of the github issue #23
-
Lucas Russo authored
Now, we must specify the base SMIO core address and its instance. In the future, these parameters will be set by the SDB subsystem. This is part of the github issue #23
-
Lucas Russo authored
Now, this allows us to instantiate various SMIO with the same base name service, apart from the ID appended at the end of the service, such as: BPM0:DEVIO:SWAP0, BPM0:DEVIO:SWAP1, and so on. This is part of the github issue #23
-
Lucas Russo authored
Now, it is possbile to concatenate 2 or 3 strings with a separator inbetween the first and the second strings. This is a very restrict case, but it is the one we need. TODO: make this function more generic
-
Lucas Russo authored
As we are going to use a new SMIO specifier, we update the old ML605 macro definitions here.
-
Lucas Russo authored
Also, we have changed the way we specify the devices. Now, we have only the offsets to a generic base address. In this way, we can instantiate various SMIO with the same name service, apart from an ID at the end, such as: BPM0:DEVIO:SWAP0, BPM0:DEVIO:SWAP1 and so on.
-
- 01 Aug, 2014 1 commit
-
-
Lucas Russo authored
-
- 30 Jul, 2014 7 commits
-
-
Lucas Russo authored
-
Lucas Russo authored
-
Lucas Russo authored
-
Lucas Russo authored
-
Lucas Russo authored
Started the implementation of the SMPR layer, with SPI interface, which sits on top of the SMIO. This layer implements some customary protocols commonly found, such as: SPI, I2C, Onewire, GPIO and a Bypass mode.
-
Lucas Russo authored
We can't use the ASSERT macros, as the goto labels would be repeated throughout the same function.
-
Lucas Russo authored
This makes mre sense, since we are not using a CPU inside the FPGA. This clock refers only to the Wishbone FPGA internal clock.
-
- 29 Jul, 2014 1 commit
-
-
Lucas Russo authored
Now, the GET and SET macros have error checking and "return" the error to the "caller". The sematic is changedm but for now, the only file using the GEt and SET macros was itself. So, no refactoring was necessary.
-
- 24 Jul, 2014 2 commits
-
-
Lucas Russo authored
This is just to keep the consistency between register and unregister methods. Effectivelly, this was not necessary, but it adds a more uniform way creating/destroying the LLIO instance.
-
Lucas Russo authored
This method should only be called once by the owner of this LLIO instance. This fixes #28 github issue.
-
- 18 Jul, 2014 11 commits
-
-
Lucas Russo authored
-
Lucas Russo authored
-
Lucas Russo authored
-
Lucas Russo authored
This commit closes #11 github issue.
-
Lucas Russo authored
Part of the github issue #11.
-
Lucas Russo authored
Now, we have the option to output our debug messages to any FILE stream. We default it to stdout.
-
Lucas Russo authored
It makes sense to have delta-sigma minimum threshold to 0, meaning to effectively disable this feature. Part of the github issue #11.
-
Lucas Russo authored
Part of the github issue #11.
-
Lucas Russo authored
Now, we can specify some per-entity (dev_io, dev_mngr) dynamic and static libraries. Also, we had to change the libbpmclient compilation order, as we need the static library to be compiled before dev_io (now we depend on libbpmclient to configure our SMIOs) Part of the github issue #11.
-
Lucas Russo authored
-
Lucas Russo authored
Now, once this SMIO gets spawn by the DEVIO, its config function will also be called. Part of the github issue #11.
-