Commit Graph

359 Commits

Author SHA1 Message Date
Nathan Schulte a81a4c8a12
stm32f7: fix board.h unification breaks (#577)
* stm32f7: port EFI_PIN_MODE_DEFAULT/EFI_DR_DEFAULT concept

via 49497dec6d
fixes ea3b865602

* stm32f7: port DEFAULT_GPIO_SPEED concept

via 9e8d72ff1e
fixes ea3b865602
2025-03-31 10:00:50 -07:00
Matthew Kennedy ea3b865602 uniform board.h 2025-03-30 20:41:42 -07:00
Matthew Kennedy 6b7b392b61 guard for bootloader 2025-03-17 00:15:47 -07:00
Matthew Kennedy 40da381b91 working toward splitting logging vs sd card 2025-03-16 23:24:17 -07:00
Matthew Kennedy 5a59089400 enable dynamic thread on H7 2025-03-15 19:48:55 -07:00
Matthew Kennedy a2a504d2c3 format usb 2025-03-08 13:15:24 -08:00
Matthew Kennedy f0161a69ba remove AdcDevice class, do it directly in stm32_adc_v2.cpp 2025-03-07 00:04:40 -08:00
Matthew Kennedy 7e9695c65b adc simplification and cleanup 2025-03-06 23:51:43 -08:00
Matthew Kennedy 91689a3b01 ADC gets stuck if you sample with zero channels 2025-03-06 23:41:37 -08:00
Matthew Kennedy 4ed0c954fc
turn on guard page for F4 (#557)
* turn on guard page for F4

* F4 needs 32 byte shared area too
2025-02-17 17:11:10 -08:00
Matthew Kennedy ea1f9914de
enable F7/H7 double precision (#559) 2025-02-17 01:38:51 -08:00
Matthew Kennedy 45c1378890 use 32-byte bootloader shared area to avoid MPU collision with stacks 2025-02-16 20:35:06 -08:00
Matthew Kennedy 0c7df47bba turn off guard pages on F7 for a minute as it's causing probems 2025-02-16 17:44:08 -08:00
Matthew Kennedy a714e7a803 Don't overlap MPU region between nocache and guard pages on F7 2025-02-16 17:43:35 -08:00
Matthew Kennedy dcfc53159e
enable stack guard on F7 (#549)
* enable stack guard on F7

* enable stack check on bootloader
2025-02-13 00:02:34 -08:00
Matthew Kennedy eb6f433c54 disable stack check on cm7 as it has MPU 2025-02-12 23:39:46 -08:00
Matthew Kennedy a57b56c944 EFI_SIMULATOR is always defined, so use #if ! instead of #ifndef 2025-02-10 23:47:48 -08:00
Matthew Kennedy 246b676e92 don't set stack size on simulator 2025-02-07 22:57:42 -08:00
Matthew Kennedy 85291b4bbd ADC ports are responsible for their own sample buffer 2025-02-04 01:29:04 -08:00
Matthew Kennedy e2cb4170ce H7 ADC sample size and clocking 2025-02-04 01:17:21 -08:00
Matthew Kennedy 317e01075d enable PORT_ENABLE_GUARD_PAGES on H7 2025-02-03 17:24:30 -08:00
Matthew Kennedy 88474fe4c9 reserve more space for the idle thread stack 2025-02-03 17:20:54 -08:00
Matthew Kennedy d8d874e109 H7 knock DMA buffer in ram4 2025-02-02 02:08:37 -08:00
Matthew Kennedy 18738c6431 Why does the ADC run at the wrong speed on AHB? #548 2025-02-02 02:03:08 -08:00
Matthew Kennedy 47166dfba4 knock ADC speed 2025-02-02 00:04:01 -08:00
Matthew Kennedy 2d5168e2a9 H7 ADC speed 2025-02-01 23:55:39 -08:00
Matthew Kennedy 136138e190 sampleBuffer -> knockSampleBuffer 2025-02-01 23:37:33 -08:00
Matthew Kennedy c592591a5a knock UI + atlas UI 2025-02-01 23:34:44 -08:00
Matthew Kennedy a38b3e37e7 each MCU port is responsible for storing its own knock sample buffer #31 2025-02-01 23:21:21 -08:00
Matthew Kennedy ee6e390b0b H7 knock ADC parameters 2025-02-01 23:15:36 -08:00
Matthew Kennedy e957fa3bc4 align MPU regions to their size 2025-01-22 18:12:14 -08:00
Matthew Kennedy 8ab08d2e42 I guess we can allow unaligned suport 2025-01-22 17:25:16 -08:00
Matthew Kennedy c9b2c29339 all SD buffers are guaranteed to be aligned 2025-01-22 14:28:26 -08:00
Matthew Kennedy 4458582d53 STM32H7 SDMMC1 cache/mpu configuration 2025-01-22 11:18:27 -08:00
Matthew Kennedy 0c9c858ed2 cleanup 2025-01-07 20:47:38 -08:00
Matthew Kennedy 33c8f27e6a oops 2024-12-28 15:09:21 -08:00
Matthew Kennedy 1a7ca80f9e GPIO_NULL, EFI_ERROR_CODE 2024-12-28 15:07:29 -08:00
Matthew Kennedy a35f9e6099 proper check to initialize knock adc 2024-12-28 13:36:56 -08:00
Matthew Kennedy 28d9d838cf h7 knock adc: remove timer cfg 2024-11-30 01:48:08 -08:00
Matthew Kennedy 3a980634b7 init adc 3 2024-11-29 13:16:38 -08:00
Matthew Kennedy 101ba2b3e9
H7 knock (#515)
* blind h7 knock implementation

* proteus/atlas sampling config
2024-11-23 02:49:05 -08:00
Matthew Kennedy 4a2877c2db knock include order 2024-11-18 11:52:36 -08:00
Matthew Kennedy 2b3db0b21e s 2024-11-18 11:43:41 -08:00
Matthew Kennedy ad3bb2ab99 modularize knock adc for h7 2024-11-18 11:36:41 -08:00
Matthew Kennedy 5554303ae9 h7 sdmmc clocking 2024-11-18 02:55:09 -08:00
Matthew Kennedy 35c1b8bc9f h7 adc3 2024-11-18 02:45:45 -08:00
Matthew Kennedy ed9420d9f1 better name 2024-11-08 01:15:45 +00:00
Matthew Kennedy 2155f3c019 extract some implementation details of fast ADC out to port 2024-11-08 00:58:07 +00:00
Matthew Kennedy 4266c04c65 dead function 2024-11-08 00:46:55 +00:00
Matthew Kennedy 69baa28b48 sdmmc1 2024-11-07 11:41:56 -08:00