<commit_before>depth := ../..
products := lib demo

lib[type] := library

lib[cc_files] :=

lib[cc_flags] := -std=gnu++0x

lib[libs] :=


demo[type] := program
demo[arch] := stm32f4xx

demo[cc_files] := main.cc

demo[cc_flags] := -std=gnu++0x

demo[libs] := \
  lib/armv7m:armv7m \
  lib/armv7m:exception_table \
  lib/stm32f4xx:interrupt_table \
  runtime:runtime \
  runtime:default_traps \
  vga:vga \
  demo/tunnel:lib

demo[whole_archive] := \
  lib/armv7m:exception_table \
  lib/stm32f4xx:interrupt_table \
  runtime:default_traps

demo[l_flags] = \
  -lm \
  -Wl,-Map=$(intermediate)/demo.map \
  -T$(shell pwd)/$(depth)/m4vga-stm32f4xx.ld \
  -nostartfiles


include $(depth)/build/Makefile.rules


flash: $(intermediate)/demo
	openocd -f $(depth)/openocd.cfg \<commit_msg>demo/tunnel: use -O2 on renderer.<commit_after>depth := ../..
products := lib demo

lib[type] := library

lib[cc_files] :=

lib[cc_flags] := -std=gnu++0x

lib[libs] :=


demo[type] := program
demo[arch] := stm32f4xx

demo[cc_files] := main.cc

demo[cc_flags] := -std=gnu++0x -O2

demo[libs] := \
  lib/armv7m:armv7m \
  lib/armv7m:exception_table \
  lib/stm32f4xx:interrupt_table \
  runtime:runtime \
  runtime:default_traps \
  vga:vga \
  demo/tunnel:lib

demo[whole_archive] := \
  lib/armv7m:exception_table \
  lib/stm32f4xx:interrupt_table \
  runtime:default_traps

demo[l_flags] = \
  -lm \
  -Wl,-Map=$(intermediate)/demo.map \
  -T$(shell pwd)/$(depth)/m4vga-stm32f4xx.ld \
  -nostartfiles


include $(depth)/build/Makefile.rules


flash: $(intermediate)/demo
	openocd -f $(depth)/openocd.cfg \
{'fraction_non_alphanumeric': 0.17191435768261965, 'fraction_numerical': 0.02518891687657431, 'mean_word_length': 3.7574850299401197, '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': '4512452', 'n_tokens_mistral': 699, 'n_tokens_neox': 675, 'n_words': 91}