<commit_before>\ board definitions

cr eraseflash
compiletoflash

3 constant io-ports  \ A..C

include ../mlib/hexdump.fs
include ../flib/io-stm32l0.fs
include ../flib/hal-stm32l0.fs
\ include ../flib/timer-stm32f1.fs
\ include ../flib/pwm-stm32f1.fs
\ include ../flib/adc-stm32f1.fs
\ include ../flib/ring.fs
\ include ../flib/uart2-stm32f1.fs
\ include ../flib/uart2-irq-stm32f1.fs
\ include ../flib/spi-stm32f1.fs

PA4 variable ssel  \ can be changed at run time
PA5 constant SCLK
PA6 constant MISO
PA7 constant MOSI
include ../flib/spi-bb.fs

PB6 constant SCL
PB7 constant SDA
include ../flib/i2c-bb.fs

PA15 constant LED

: init ( -- )  \ board initialisation
  $00 hex.empty !  \ empty flash shows up as $00 iso $FF on these chips<commit_msg>work around folie include quirk<commit_after>\ board definitions

cr cr eraseflash
compiletoflash

3 constant io-ports  \ A..C

include ../mlib/hexdump.fs
include ../flib/io-stm32l0.fs
include ../flib/hal-stm32l0.fs
\ include ../flib/timer-stm32f1.fs
\ include ../flib/pwm-stm32f1.fs
\ include ../flib/adc-stm32f1.fs
\ include ../flib/ring.fs
\ include ../flib/uart2-stm32f1.fs
\ include ../flib/uart2-irq-stm32f1.fs
\ include ../flib/spi-stm32f1.fs

PA4 variable ssel  \ can be changed at run time
PA5 constant SCLK
PA6 constant MISO
PA7 constant MOSI
include ../flib/spi-bb.fs

PB6 constant SCL
PB7 constant SDA
include ../flib/i2c-bb.fs

PA15 constant LED

: init ( -- )  \ board initialisation
  $00 hex.empty !  \ empty flash shows up as $00 iso $FF on these chips
{'fraction_non_alphanumeric': 0.13052076466710613, 'fraction_numerical': 0.05273566249176005, 'mean_word_length': 2.8527918781725887, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5914074', 'n_tokens_mistral': 650, 'n_tokens_neox': 597, 'n_words': 158}