<commit_before>rnk
===

rnk is a RTOS targeting ARM architecture.

For now, only the Cortex-M4 is supported. ARM7TDMI is no longer supported.


Building
--------

  * get a cross compiler for baremetal arm, here: https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads
  * export ARCH=arm
  * export your cross compiler bin/ folder in PATH
  * export CROSS_COMPILE=arm-none-eabi-
  
or
  * edit the cross compiler path in "setup.sh" and use it like: $. setup.sh
  
then
  * make the boards config you wanted (take a look at: arch/arm/configs), for example: make stm32f429_disco_defconfig
  * and then: make clean && make all
  * flash the kernel on the board & enjoy

Current known bugs
------------------

  * Building the kernel with symbols lookup table for using apps/ and quite painful since you need to build 3 times the kernel for : compile without the symbols / generate the symbols lookup array / compile with the symbols lookup array.
  * Scheduling algo needs to be improved on real applications.
  * Writing data in flash on stm32 boards are buggy.
<commit_msg>README: update compilation part<commit_after>rnk
===

rnk is a RTOS targeting ARM architecture.

For now, only the Cortex-M4 is supported. ARM7TDMI is no longer supported.


Building
--------

  * get a cross compiler for baremetal arm, here: https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads
  * export ARCH=arm
  * export your cross compiler bin/ folder in PATH
  * export CROSS_COMPILE=arm-none-eabi-
  
or
  * edit the cross compiler path in "setup.sh" and use it like: $. setup.sh
  
then
  * make the boards config you wanted (take a look at: arch/arm/configs), for example: make stm32f429_disco_defconfig
  * and then: make symbols-clean && make clean && make all && make symbols-make && make clean && make all (yes it is painful but it is needed for include symbol lookup table)
  * flash the kernel on the board & enjoy

Current known bugs
------------------

  * Building the kernel with symbols lookup table for using apps/ and quite painful since you need to build 2 times the kernel for : compile without the symbols / generate the symbols lookup array / compile with the symbols lookup array.
  * Scheduling algo needs to be improved on real applications.
  * Writing data in flash on stm32 boards are buggy.

{'fraction_non_alphanumeric': 0.08548109965635739, 'fraction_numerical': 0.00859106529209622, 'mean_word_length': 3.320964749536178, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4751015', 'n_tokens_mistral': 669, 'n_tokens_neox': 640, 'n_words': 310}