├── .vscode ├── .gitignore ├── c_cpp_properties.json ├── launch.json ├── settings.json └── tasks.json ├── LICENSE.md ├── README.md └── code └── sections ├── .gitignore ├── 1_gpio_configuration ├── .gitignore └── snippets.hpp ├── 2_compiler_generated_lookup_tables ├── .gitignore ├── cortex-compile.sh ├── lookup-tables.hpp ├── main.cpp └── pc-compile.sh ├── 3_developer_friendly_address_like ├── unicode_string.hpp └── uuid.hpp ├── 4_lean_stream_io ├── README.md ├── boot.asm ├── build.sh ├── default.ld ├── filestream.hpp ├── linker-symbols.h ├── main-bare.cpp ├── main-better.cpp ├── main-conventional.cpp └── syscalls.cpp ├── 5_allocate_once_efficiency ├── .gitignore ├── README.md ├── build_run.sh ├── class-new.hpp ├── main.cpp └── mcu │ ├── boot.asm │ ├── build_run.sh │ ├── cachel1_armv7.h │ ├── chrono.cpp │ ├── clock-impl.hpp │ ├── clock.cpp │ ├── cmsis_compiler.h │ ├── cmsis_gcc.h │ ├── cmsis_version.h │ ├── commandfile.jlink │ ├── core_cm7.h │ ├── default.ld │ ├── filestream.cpp │ ├── filestream.hpp │ ├── linker-symbols.h │ ├── main.cpp │ ├── mpu_armv7.h │ ├── stm32h743xx.h │ ├── stm32h7xx.h │ ├── syscalls.cpp │ ├── system_init.cpp │ ├── system_stm32h7xx.h │ └── usart.cpp ├── 6_std_chrono ├── .gitignore ├── README.md ├── build_run.sh ├── hw-chrono.hpp ├── main.cpp ├── mcu │ ├── boot.asm │ ├── build_run.sh │ ├── cachel1_armv7.h │ ├── chrono.cpp │ ├── clock-impl.hpp │ ├── clock.cpp │ ├── cmsis_compiler.h │ ├── cmsis_gcc.h │ ├── cmsis_version.h │ ├── commandfile.jlink │ ├── core_cm7.h │ ├── default.ld │ ├── filestream.cpp │ ├── filestream.hpp │ ├── linker-symbols.h │ ├── mpu_armv7.h │ ├── stm32h743xx.h │ ├── stm32h7xx.h │ ├── syscalls.cpp │ ├── system_init.cpp │ ├── system_stm32h7xx.h │ └── usart.cpp └── shim.cpp └── 7_std_random ├── .gitignore ├── README.md ├── bimodal-dist.hpp ├── build_run.sh ├── hw-random.hpp ├── main.cpp └── mcu ├── boot.asm ├── build_run.sh ├── cachel1_armv7.h ├── chrono.cpp ├── clock-impl.hpp ├── clock.cpp ├── cmsis_compiler.h ├── cmsis_gcc.h ├── cmsis_version.h ├── commandfile.jlink ├── core_cm7.h ├── default.ld ├── filestream.cpp ├── filestream.hpp ├── linker-symbols.h ├── main.cpp ├── mpu_armv7.h ├── stm32h743xx.h ├── stm32h7xx.h ├── syscalls.cpp ├── system_init.cpp ├── system_stm32h7xx.h └── usart.cpp /.vscode/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/.vscode/.gitignore -------------------------------------------------------------------------------- /.vscode/c_cpp_properties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/.vscode/c_cpp_properties.json -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/README.md -------------------------------------------------------------------------------- /code/sections/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/.gitignore -------------------------------------------------------------------------------- /code/sections/1_gpio_configuration/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /code/sections/1_gpio_configuration/snippets.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/1_gpio_configuration/snippets.hpp -------------------------------------------------------------------------------- /code/sections/2_compiler_generated_lookup_tables/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /code/sections/2_compiler_generated_lookup_tables/cortex-compile.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/2_compiler_generated_lookup_tables/cortex-compile.sh -------------------------------------------------------------------------------- /code/sections/2_compiler_generated_lookup_tables/lookup-tables.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/2_compiler_generated_lookup_tables/lookup-tables.hpp -------------------------------------------------------------------------------- /code/sections/2_compiler_generated_lookup_tables/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/2_compiler_generated_lookup_tables/main.cpp -------------------------------------------------------------------------------- /code/sections/2_compiler_generated_lookup_tables/pc-compile.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/2_compiler_generated_lookup_tables/pc-compile.sh -------------------------------------------------------------------------------- /code/sections/3_developer_friendly_address_like/unicode_string.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/3_developer_friendly_address_like/unicode_string.hpp -------------------------------------------------------------------------------- /code/sections/3_developer_friendly_address_like/uuid.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/3_developer_friendly_address_like/uuid.hpp -------------------------------------------------------------------------------- /code/sections/4_lean_stream_io/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/4_lean_stream_io/README.md -------------------------------------------------------------------------------- /code/sections/4_lean_stream_io/boot.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/4_lean_stream_io/boot.asm -------------------------------------------------------------------------------- /code/sections/4_lean_stream_io/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/4_lean_stream_io/build.sh -------------------------------------------------------------------------------- /code/sections/4_lean_stream_io/default.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/4_lean_stream_io/default.ld -------------------------------------------------------------------------------- /code/sections/4_lean_stream_io/filestream.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/4_lean_stream_io/filestream.hpp -------------------------------------------------------------------------------- /code/sections/4_lean_stream_io/linker-symbols.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/4_lean_stream_io/linker-symbols.h -------------------------------------------------------------------------------- /code/sections/4_lean_stream_io/main-bare.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/4_lean_stream_io/main-bare.cpp -------------------------------------------------------------------------------- /code/sections/4_lean_stream_io/main-better.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/4_lean_stream_io/main-better.cpp -------------------------------------------------------------------------------- /code/sections/4_lean_stream_io/main-conventional.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/4_lean_stream_io/main-conventional.cpp -------------------------------------------------------------------------------- /code/sections/4_lean_stream_io/syscalls.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/4_lean_stream_io/syscalls.cpp -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/README.md -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/build_run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/build_run.sh -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/class-new.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/class-new.hpp -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/main.cpp -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/boot.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/boot.asm -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/build_run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/build_run.sh -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/cachel1_armv7.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/cachel1_armv7.h -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/chrono.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/chrono.cpp -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/clock-impl.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/clock-impl.hpp -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/clock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/clock.cpp -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/cmsis_compiler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/cmsis_compiler.h -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/cmsis_gcc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/cmsis_gcc.h -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/cmsis_version.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/cmsis_version.h -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/commandfile.jlink: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/commandfile.jlink -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/core_cm7.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/core_cm7.h -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/default.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/default.ld -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/filestream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/filestream.cpp -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/filestream.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/filestream.hpp -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/linker-symbols.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/linker-symbols.h -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/main.cpp -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/mpu_armv7.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/mpu_armv7.h -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/stm32h743xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/stm32h743xx.h -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/stm32h7xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/stm32h7xx.h -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/syscalls.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/syscalls.cpp -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/system_init.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/system_init.cpp -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/system_stm32h7xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/system_stm32h7xx.h -------------------------------------------------------------------------------- /code/sections/5_allocate_once_efficiency/mcu/usart.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/5_allocate_once_efficiency/mcu/usart.cpp -------------------------------------------------------------------------------- /code/sections/6_std_chrono/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /code/sections/6_std_chrono/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/README.md -------------------------------------------------------------------------------- /code/sections/6_std_chrono/build_run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/build_run.sh -------------------------------------------------------------------------------- /code/sections/6_std_chrono/hw-chrono.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/hw-chrono.hpp -------------------------------------------------------------------------------- /code/sections/6_std_chrono/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/main.cpp -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/boot.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/boot.asm -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/build_run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/build_run.sh -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/cachel1_armv7.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/cachel1_armv7.h -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/chrono.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/chrono.cpp -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/clock-impl.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/clock-impl.hpp -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/clock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/clock.cpp -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/cmsis_compiler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/cmsis_compiler.h -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/cmsis_gcc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/cmsis_gcc.h -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/cmsis_version.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/cmsis_version.h -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/commandfile.jlink: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/commandfile.jlink -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/core_cm7.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/core_cm7.h -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/default.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/default.ld -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/filestream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/filestream.cpp -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/filestream.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/filestream.hpp -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/linker-symbols.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/linker-symbols.h -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/mpu_armv7.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/mpu_armv7.h -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/stm32h743xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/stm32h743xx.h -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/stm32h7xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/stm32h7xx.h -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/syscalls.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/syscalls.cpp -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/system_init.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/system_init.cpp -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/system_stm32h7xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/system_stm32h7xx.h -------------------------------------------------------------------------------- /code/sections/6_std_chrono/mcu/usart.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/mcu/usart.cpp -------------------------------------------------------------------------------- /code/sections/6_std_chrono/shim.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/6_std_chrono/shim.cpp -------------------------------------------------------------------------------- /code/sections/7_std_random/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /code/sections/7_std_random/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/README.md -------------------------------------------------------------------------------- /code/sections/7_std_random/bimodal-dist.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/bimodal-dist.hpp -------------------------------------------------------------------------------- /code/sections/7_std_random/build_run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/build_run.sh -------------------------------------------------------------------------------- /code/sections/7_std_random/hw-random.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/hw-random.hpp -------------------------------------------------------------------------------- /code/sections/7_std_random/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/main.cpp -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/boot.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/boot.asm -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/build_run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/build_run.sh -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/cachel1_armv7.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/cachel1_armv7.h -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/chrono.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/chrono.cpp -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/clock-impl.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/clock-impl.hpp -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/clock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/clock.cpp -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/cmsis_compiler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/cmsis_compiler.h -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/cmsis_gcc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/cmsis_gcc.h -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/cmsis_version.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/cmsis_version.h -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/commandfile.jlink: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/commandfile.jlink -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/core_cm7.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/core_cm7.h -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/default.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/default.ld -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/filestream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/filestream.cpp -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/filestream.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/filestream.hpp -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/linker-symbols.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/linker-symbols.h -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/main.cpp -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/mpu_armv7.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/mpu_armv7.h -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/stm32h743xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/stm32h743xx.h -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/stm32h7xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/stm32h7xx.h -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/syscalls.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/syscalls.cpp -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/system_init.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/system_init.cpp -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/system_stm32h7xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/system_stm32h7xx.h -------------------------------------------------------------------------------- /code/sections/7_std_random/mcu/usart.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgbush/cppcon2022/HEAD/code/sections/7_std_random/mcu/usart.cpp --------------------------------------------------------------------------------