nuttx/arch/risc-v/src/k210
Masayuki Ishikawa 5e7d48f4b0 arch: k210: Fix k210 timer on QEMU 6.1 or later
Summary:
- I noticed that 'sleep 1' on nsh took 10 seconds on QEMU-6.1,
  though the old version (e.g. QEMU-5.2) works correctly.
- I think we should implement PLL for the QEMU environment.
  However, this fix works as a tentative solution.

Impact:
- K210 on QEMU only

Tested
- Tested with QEMU-7.1

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2023-04-06 00:54:08 -07:00
..
hardware arch: risc-v: Introduce RISCV_IPI macro for SMP 2022-10-07 14:49:29 +08:00
chip.h RISC-V: Add setintstack for k210 and qemu 2022-04-12 01:59:35 +08:00
k210_allocateheap.c k210: Use common cpu idle stack implementation 2022-02-14 11:32:34 +08:00
k210_clockconfig.c arch: k210: Add a workaround for clock stabilization 2022-06-13 11:42:59 +08:00
k210_clockconfig.h arch: risc-v: Author Masayuki Ishikawa: Update license to Apache 2021-03-12 16:15:44 +08:00
k210_config.h arch: risc-v: Author Masayuki Ishikawa: Update license to Apache 2021-03-12 16:15:44 +08:00
k210_fpioa.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
k210_fpioa.h boards/risc-v/k210/maix-bit: Add initial autoled support 2020-06-08 10:53:29 +09:00
k210_gpiohs.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
k210_gpiohs.h arch: k210: remove extra license information 2021-08-31 08:20:18 +09:00
k210_head.S Remove the tail spaces from all files except Documentation 2023-02-26 13:24:24 -08:00
k210_irq_dispatch.c arch/risc-v: Move epc adjustment to riscv_doirq 2022-04-10 00:52:04 +08:00
k210_irq.c assert: switch from ASSERT(0/false) to PANIC 2023-01-26 10:15:34 +08:00
k210_lowputc.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
k210_lowputc.h arch: risc-v: Author Masayuki Ishikawa: Update license to Apache 2021-03-12 16:15:44 +08:00
k210_memorymap.h arch: Change the linker generated symbols from uint32_t to uint8_t * 2022-09-24 21:26:56 +02:00
k210_serial.c drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
k210_start.c Remove the unnessary empty line after label 2022-09-30 17:54:56 +02:00
k210_timerisr.c arch: k210: Fix k210 timer on QEMU 6.1 or later 2023-04-06 00:54:08 -07:00
k210_userspace.c arch: risc-v: Add support for PROTECTED build to k210 2020-02-14 09:29:51 -06:00
k210_userspace.h arch: risc-v: Add support for PROTECTED build to k210 2020-02-14 09:29:51 -06:00
k210.h arch: risc-v: Author Masayuki Ishikawa: Update license to Apache 2021-03-12 16:15:44 +08:00
Kconfig Fix copy/paste typo in various Kconfigs 2020-04-14 22:42:21 +01:00
Make.defs arch/risc-v: Unify common source include 2022-05-31 07:59:33 +03:00