[riot-commits] [RIOT-OS/RIOT] c1d81c: cpu/riscv_common: Jump to rom start on boot

benpicco noreply at github.com
Wed Aug 25 00:38:15 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: c1d81cfb561befc0aac8978d0e28d425f0f90325
      https://github.com/RIOT-OS/RIOT/commit/c1d81cfb561befc0aac8978d0e28d425f0f90325
  Author: Koen Zandberg <koen at bergzand.net>
  Date:   2021-08-24 (Tue, 24 Aug 2021)

  Changed paths:
    M cpu/riscv_common/Makefile.include
    M cpu/riscv_common/start.S

  Log Message:
  -----------
  cpu/riscv_common: Jump to rom start on boot

With this the riscv start code jumps to the ROM start on boot when the
ROM area doesn't start at address 0x0.


  Commit: 9239c2fe149a7f5dfa81a4394c15ba12ef5a2196
      https://github.com/RIOT-OS/RIOT/commit/9239c2fe149a7f5dfa81a4394c15ba12ef5a2196
  Author: Koen Zandberg <koen at bergzand.net>
  Date:   2021-08-24 (Tue, 24 Aug 2021)

  Changed paths:
    M cpu/riscv_common/include/cpu.h

  Log Message:
  -----------
  cpu/riscv_common: Add bit set and clear functions


  Commit: 48aa533639cd909ac36d5cdee0d7481076c4c5e5
      https://github.com/RIOT-OS/RIOT/commit/48aa533639cd909ac36d5cdee0d7481076c4c5e5
  Author: Koen Zandberg <koen at bergzand.net>
  Date:   2021-08-24 (Tue, 24 Aug 2021)

  Changed paths:
    A cpu/riscv_common/include/clic.h
    M cpu/riscv_common/include/irq_arch.h
    M cpu/riscv_common/irq_arch.c
    A cpu/riscv_common/periph/clic.c
    M kconfigs/Kconfig.features

  Log Message:
  -----------
  cpu/riscv_common: Add CLIC peripheral driver

The CLIC is a next generation interrupt controller for the RISC-V
architecture.

Co-authored-by:


  Commit: 3d470b0c12410fd7440e02b3ef2f8a3f229cc1f5
      https://github.com/RIOT-OS/RIOT/commit/3d470b0c12410fd7440e02b3ef2f8a3f229cc1f5
  Author: Koen Zandberg <koen at bergzand.net>
  Date:   2021-08-24 (Tue, 24 Aug 2021)

  Changed paths:
    A cpu/gd32v/Kconfig
    A cpu/gd32v/Makefile
    A cpu/gd32v/Makefile.dep
    A cpu/gd32v/Makefile.features
    A cpu/gd32v/Makefile.include
    A cpu/gd32v/clock.c
    A cpu/gd32v/cpu.c
    A cpu/gd32v/doc.txt
    A cpu/gd32v/include/cpu_conf.h
    A cpu/gd32v/include/periph_cpu.h
    A cpu/gd32v/include/vendor/gd32vf103.h
    A cpu/gd32v/include/vendor/gd32vf103_adc.h
    A cpu/gd32v/include/vendor/gd32vf103_bkp.h
    A cpu/gd32v/include/vendor/gd32vf103_can.h
    A cpu/gd32v/include/vendor/gd32vf103_core.h
    A cpu/gd32v/include/vendor/gd32vf103_crc.h
    A cpu/gd32v/include/vendor/gd32vf103_dac.h
    A cpu/gd32v/include/vendor/gd32vf103_dbg.h
    A cpu/gd32v/include/vendor/gd32vf103_dma.h
    A cpu/gd32v/include/vendor/gd32vf103_eclic.h
    A cpu/gd32v/include/vendor/gd32vf103_exmc.h
    A cpu/gd32v/include/vendor/gd32vf103_exti.h
    A cpu/gd32v/include/vendor/gd32vf103_fmc.h
    A cpu/gd32v/include/vendor/gd32vf103_fwdgt.h
    A cpu/gd32v/include/vendor/gd32vf103_gpio.h
    A cpu/gd32v/include/vendor/gd32vf103_i2c.h
    A cpu/gd32v/include/vendor/gd32vf103_periph.h
    A cpu/gd32v/include/vendor/gd32vf103_pmu.h
    A cpu/gd32v/include/vendor/gd32vf103_rcu.h
    A cpu/gd32v/include/vendor/gd32vf103_rtc.h
    A cpu/gd32v/include/vendor/gd32vf103_spi.h
    A cpu/gd32v/include/vendor/gd32vf103_timer.h
    A cpu/gd32v/include/vendor/gd32vf103_usart.h
    A cpu/gd32v/include/vendor/gd32vf103_wwdgt.h
    A cpu/gd32v/periph/Makefile
    A cpu/gd32v/periph/flashpage.c
    A cpu/gd32v/periph/gpio.c
    A cpu/gd32v/periph/pm.c
    A cpu/gd32v/periph/timer.c
    A cpu/gd32v/periph/uart.c
    A cpu/gd32v/periph/wdt.c
    M sys/stdio_semihosting/stdio_semihosting.c

  Log Message:
  -----------
  cpu/gd32v: Initial include of the GD32VF103 device

This adds support for the gd32v class devices from Gigadevice. The
gd32vf103 contains an 108 MHz RISC-V core with similar peripherals as
the stm32f1 devices

Co-authored-by: Benjamin Valentin <benjamin.valentin at ml-pa.com>


  Commit: f2787448e16258f8d19d452b8483fba2fdde9ec2
      https://github.com/RIOT-OS/RIOT/commit/f2787448e16258f8d19d452b8483fba2fdde9ec2
  Author: Koen Zandberg <koen at bergzand.net>
  Date:   2021-08-24 (Tue, 24 Aug 2021)

  Changed paths:
    M cpu/fe310/include/vendor/platform.h
    M cpu/riscv_common/include/vendor/riscv_csr.h
    M cpu/riscv_common/thread_arch.c

  Log Message:
  -----------
  cpu/riscv_common: Move MCAUSE defines to riscv_common


  Commit: f8bb757baec74d9bef16d706ce612a0968fc9509
      https://github.com/RIOT-OS/RIOT/commit/f8bb757baec74d9bef16d706ce612a0968fc9509
  Author: Koen Zandberg <koen at bergzand.net>
  Date:   2021-08-24 (Tue, 24 Aug 2021)

  Changed paths:
    A boards/seeedstudio-gd32/Kconfig
    A boards/seeedstudio-gd32/Makefile
    A boards/seeedstudio-gd32/Makefile.features
    A boards/seeedstudio-gd32/Makefile.include
    A boards/seeedstudio-gd32/board.c
    A boards/seeedstudio-gd32/dist/openocd.cfg
    A boards/seeedstudio-gd32/include/board.h
    A boards/seeedstudio-gd32/include/periph_conf.h
    M examples/dtls-wolfssl/Makefile.ci
    M examples/javascript/Makefile.ci
    M tests/pkg_utensor/Makefile.ci
    M tests/unittests/Makefile.ci

  Log Message:
  -----------
  seeedstudio-gd32: Initial include of board

The seeedstudio-gd32 is an small development board based on the
gd32vf103 MCU

Co-authored-by: Benjamin Valentin <benjamin.valentin at ml-pa.com>


  Commit: 75e2a65681bb9133263f2bf776abc98ae551dc43
      https://github.com/RIOT-OS/RIOT/commit/75e2a65681bb9133263f2bf776abc98ae551dc43
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2021-08-24 (Tue, 24 Aug 2021)

  Changed paths:
    M drivers/include/periph/flashpage.h

  Log Message:
  -----------
  drivers/flashpage: add missing include


  Commit: 025770968ba7e6fb29d118b3c4b01baea6c24083
      https://github.com/RIOT-OS/RIOT/commit/025770968ba7e6fb29d118b3c4b01baea6c24083
  Author: benpicco <benjamin.valentin at ml-pa.com>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    A boards/seeedstudio-gd32/Kconfig
    A boards/seeedstudio-gd32/Makefile
    A boards/seeedstudio-gd32/Makefile.features
    A boards/seeedstudio-gd32/Makefile.include
    A boards/seeedstudio-gd32/board.c
    A boards/seeedstudio-gd32/dist/openocd.cfg
    A boards/seeedstudio-gd32/include/board.h
    A boards/seeedstudio-gd32/include/periph_conf.h
    M cpu/fe310/include/vendor/platform.h
    A cpu/gd32v/Kconfig
    A cpu/gd32v/Makefile
    A cpu/gd32v/Makefile.dep
    A cpu/gd32v/Makefile.features
    A cpu/gd32v/Makefile.include
    A cpu/gd32v/clock.c
    A cpu/gd32v/cpu.c
    A cpu/gd32v/doc.txt
    A cpu/gd32v/include/cpu_conf.h
    A cpu/gd32v/include/periph_cpu.h
    A cpu/gd32v/include/vendor/gd32vf103.h
    A cpu/gd32v/include/vendor/gd32vf103_adc.h
    A cpu/gd32v/include/vendor/gd32vf103_bkp.h
    A cpu/gd32v/include/vendor/gd32vf103_can.h
    A cpu/gd32v/include/vendor/gd32vf103_core.h
    A cpu/gd32v/include/vendor/gd32vf103_crc.h
    A cpu/gd32v/include/vendor/gd32vf103_dac.h
    A cpu/gd32v/include/vendor/gd32vf103_dbg.h
    A cpu/gd32v/include/vendor/gd32vf103_dma.h
    A cpu/gd32v/include/vendor/gd32vf103_eclic.h
    A cpu/gd32v/include/vendor/gd32vf103_exmc.h
    A cpu/gd32v/include/vendor/gd32vf103_exti.h
    A cpu/gd32v/include/vendor/gd32vf103_fmc.h
    A cpu/gd32v/include/vendor/gd32vf103_fwdgt.h
    A cpu/gd32v/include/vendor/gd32vf103_gpio.h
    A cpu/gd32v/include/vendor/gd32vf103_i2c.h
    A cpu/gd32v/include/vendor/gd32vf103_periph.h
    A cpu/gd32v/include/vendor/gd32vf103_pmu.h
    A cpu/gd32v/include/vendor/gd32vf103_rcu.h
    A cpu/gd32v/include/vendor/gd32vf103_rtc.h
    A cpu/gd32v/include/vendor/gd32vf103_spi.h
    A cpu/gd32v/include/vendor/gd32vf103_timer.h
    A cpu/gd32v/include/vendor/gd32vf103_usart.h
    A cpu/gd32v/include/vendor/gd32vf103_wwdgt.h
    A cpu/gd32v/periph/Makefile
    A cpu/gd32v/periph/flashpage.c
    A cpu/gd32v/periph/gpio.c
    A cpu/gd32v/periph/pm.c
    A cpu/gd32v/periph/timer.c
    A cpu/gd32v/periph/uart.c
    A cpu/gd32v/periph/wdt.c
    M cpu/riscv_common/Makefile.include
    A cpu/riscv_common/include/clic.h
    M cpu/riscv_common/include/cpu.h
    M cpu/riscv_common/include/irq_arch.h
    M cpu/riscv_common/include/vendor/riscv_csr.h
    M cpu/riscv_common/irq_arch.c
    A cpu/riscv_common/periph/clic.c
    M cpu/riscv_common/start.S
    M cpu/riscv_common/thread_arch.c
    M drivers/include/periph/flashpage.h
    M examples/dtls-wolfssl/Makefile.ci
    M examples/javascript/Makefile.ci
    M kconfigs/Kconfig.features
    M sys/stdio_semihosting/stdio_semihosting.c
    M tests/pkg_utensor/Makefile.ci
    M tests/unittests/Makefile.ci

  Log Message:
  -----------
  Merge pull request #16036 from bergzand/pr/gd32vf103/initial

gd32v/seeedstudio-gd32: Initial support


Compare: https://github.com/RIOT-OS/RIOT/compare/be6115447e5e...025770968ba7


More information about the commits mailing list