Go to file
imi415 d22600328a
Added demo script.
2022-01-19 17:28:48 +08:00
Core Added demo script. 2022-01-19 17:28:48 +08:00
Drivers Initial commit. 2022-01-09 23:12:37 +08:00
FATFS Fixed SDMMC DMA transfer, enabled load from SD card. 2022-01-13 19:39:36 +08:00
Middlewares/Third_Party Added FatFS. 2022-01-13 15:00:21 +08:00
example Added demo script. 2022-01-19 17:28:48 +08:00
lib/mruby Added demo script. 2022-01-19 17:28:48 +08:00
.clang-format Initial commit. 2022-01-09 23:12:37 +08:00
.gitignore Added .gitignore. 2022-01-11 23:51:21 +08:00
.gitmodules Working MRuby port. 2022-01-10 23:48:51 +08:00
CMakeLists.txt Implemented malloc lock. 2022-01-19 00:18:19 +08:00
LICENSE Added README and LICENSE. 2022-01-13 20:34:42 +08:00
README.md Updated README. 2022-01-13 20:35:46 +08:00
STM32H750VBTx_FLASH.ld Initial commit. 2022-01-09 23:12:37 +08:00
STM32H750VBTx_RAM.ld Fixed SDMMC DMA transfer, enabled load from SD card. 2022-01-13 19:39:36 +08:00
STM32H750VB_MRB.ioc Implemented malloc lock. 2022-01-19 00:18:19 +08:00
arm-none-eabi.cmake Initial commit. 2022-01-09 23:12:37 +08:00
pyocd_user.py Initial commit. 2022-01-09 23:12:37 +08:00
startup_stm32h750xx.s Initial commit. 2022-01-09 23:12:37 +08:00

README.md

STM32H750VB_MRB

This is a WIP reference implementation for mruby on some random STM32 boards.
It loads a script (boot.rb) from SD card, compiles to IREP and executes it.

They do have Python

What's working

  • mRuby core and compiler
  • UART(stdout)
  • RTOS delay
  • SD Card (FatFS)

What's not working

  • Everything else

How to build

mkdir build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=arm-none-eabi.cmake  ..

About targets

_FLASH.elf is not working, since H750VB only got 128kB Flash
_RAM.elf is mean to be loaded by a debugger, e.g. ST-LINK

Notes

This code is highly coupled with STM32H750(caused by fixed memory map).
A custom board design is planned.

License

Anything comes with its own license, either in the header of the file, or listed seperately.
Others are subject to the LICENSE file.

TODO

  • QUADSPI XIP bootloader
  • Driver wrappers
  • File access and load/require support
  • A custom board (hopefully)
  • Platform independent (without CubeMX)