Ignore:
Timestamp:
May 18, 2015, 6:45:58 PM (9 years ago)
Author:
alain
Message:

1) Introduce a new driver "sdc_driver" for SD Card uding directly the 4 bits SD bus.
2) Improve the debug for all IOC drivers (debug activated only if _get_time() > GIET_DEBUG_IOC_DRIVER).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_drivers/mwr_driver.c

    r554 r563  
    1010#include <mapping_info.h>
    1111#include <mwr_driver.h>
     12#include <xcu_driver.h>
    1213#include <ctx_handler.h>
    1314#include <utils.h>
     
    155156    unsigned int x          = cluster_xy >> Y_WIDTH;
    156157    unsigned int y          = cluster_xy & ((1<<Y_WIDTH)-1);
    157     unsigned int p          = gpid & ((1<<P_WIDTH)-1);
    158158    unsigned int cluster_id = x * Y_SIZE + y;
    159159    unsigned int info       = _coproc_info[cluster_id];
     
    221221
    222222#if GIET_DEBUG_COPROC 
     223unsigned int p          = gpid & ((1<<P_WIDTH)-1);
    223224_printf("\n[GIET DEBUG COPROC] P[%d,%d,%d] executes _mwr_isr() at cycle %d\n"
    224225        "  for task %d running on P[%d,%d,%d] / error = %d\n",
Note: See TracChangeset for help on using the changeset viewer.