zephyr/boards
Filip Kokosinski 70c978bb97 soc/riscv/sifive-freedom/fe310: use correct SYS_CLOCK_HW_CYCLES_PER_SEC
This commit introduces changes in three places in order to fix the
problem with timer-related tests on FE310-based boards:
* tests/kernel/sleep/kernel.common.timing
* tests/kernel/tickless/tickless_concept/kernel.tickless.concept
* tests/kernel/workq/work_queue/kernel.workqueue

The first change is the modification of the SYS_CLOCK_HW_CYCLES_PER_SEC
value back to 32768 Hz to match FE310's datasheet description.

The second change is CLINT frequency reduction in Renode simulation
model to 16 MHz to correspond with the oscillator frequency given by the
FE310's datasheet and the HiFive1 board schematic. This fixes the first
two tests.

The last change is reducing the MIN_DELAY define to 100. This causes the
RISC-V machine timer driver to update the mtimecmp register more often,
which in turn addresses the `work_queue/kernel.workqueue` problem with
work items finishing prematurely, causing the above-mentioned test to
fail.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2022-05-24 08:58:43 -07:00
..
arc ARC: boards: HSDK: ged rid of pinmux usage 2022-05-18 17:20:26 +02:00
arm boards: stm32h7: Update openocd runner to specify target handle 2022-05-24 08:52:16 -07:00
arm64 board: fvp_baser_aemv8r: Disable cache_state_modelled 2022-05-17 11:45:16 +09:00
common
mips
nios2 dts: nios2: intel: Move SoC devicetree includes under a vendor directory 2022-05-09 17:54:48 -04:00
posix boards: migrate includes to <zephyr/...> 2022-05-06 19:57:15 +02:00
riscv soc/riscv/sifive-freedom/fe310: use correct SYS_CLOCK_HW_CYCLES_PER_SEC 2022-05-24 08:58:43 -07:00
shields boards: mikroe_wifi_bt_click: added support 2022-05-15 21:34:32 +02:00
sparc dts: sparc: gaisler: Move SoC devicetree includes under a vendor dir 2022-05-09 17:54:48 -04:00
x86 dts: x86: intel: Move SoC devicetree includes under a vendor directory 2022-05-09 17:54:48 -04:00
xtensa fix: boards: esp32: uart: pinmux assignment 2022-05-20 12:39:38 +02:00
CMakeLists.txt
deprecated.cmake
index.rst
Kconfig Kconfig: add CONFIG_BOARD_REVISION 2022-04-08 10:30:54 -07:00