• Adam Wujek's avatar
    userspace: export temperature from sensors to HAL's shmem · 147e8ea5
    Adam Wujek authored
    HAL at update of fan speed reads Switch's temperature sensors.
    Sensors read:
    -FPGA
    -PLL (was read before to drive PWM for fan)
    -Power supply left
    -Power supply right
    
    Additionally:
    -add hal_temp_sensors structure to hal shmem, add current temperature and
     threshold values (to be implemented in later commits)
    -increment HAL_SHMEM_VERSION
    -update hal_shmem.h in ppsi
    -update dump_shmem with new structure, add specific type for temperature
     sensors
    -in hal_ports.c
     --rename struct wrs_shm_head *head to struct wrs_shm_head *hal_shmem_hdr
     --remove void *hal_port_shmem as not needed,
     --make struct hal_shmem_header *hal_shmem extern, defined in hal_main.c
    Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
    147e8ea5
Name
Last commit
Last update
..
include/libwr Loading commit data...
Makefile Loading commit data...
README Loading commit data...
dot-config.c Loading commit data...
fan.c Loading commit data...
fpga_io.c Loading commit data...
hal_client.c Loading commit data...
hwiu.c Loading commit data...
i2c.c Loading commit data...
i2c.h Loading commit data...
i2c_bitbang.c Loading commit data...
i2c_bitbang.h Loading commit data...
i2c_fpga_reg.c Loading commit data...
i2c_fpga_reg.h Loading commit data...
i2c_io.c Loading commit data...
i2c_io.h Loading commit data...
i2c_sfp.c Loading commit data...
i2c_sfp.h Loading commit data...
init.c Loading commit data...
libshw_i2c.c Loading commit data...
libshw_i2c.h Loading commit data...
pio.c Loading commit data...
pps_gen.c Loading commit data...
ptpd_netif.c Loading commit data...
rt_client.c Loading commit data...
shmem.c Loading commit data...
shw_io.c Loading commit data...
spwm-regs.h Loading commit data...
util.c Loading commit data...
wrs-msg.c Loading commit data...