Matthew Kennedy
c9d4befc4d
WiFi tweaks ( #374 )
...
* batch all wifi in to one write
* writeCrcPacket already chunks the response, so we don't really need it, but limit maximum TCP write size
* format cleanup
* don't cache wifi stuff (for now)
* h7 fiddling
2024-03-12 16:14:04 -07:00
Matthew Kennedy
498824eff4
tabs
2024-03-12 15:28:52 -07:00
Nathan Schulte
bfb8cf1f89
GCC 13 simulator build, console->simulator on Linux ( #378 )
...
* engine: variable engine is: constexpr Engine
* can: rename CanRead::start to not hide
* console: support launching simulator on Linux
* console: fully encapsulate simulator binary name
* console: simplify simulator binary wrangling
* console: cleaner java code-style
2024-03-09 00:11:20 -08:00
Matthew Kennedy
da1ad5b34f
scripts should fail harder when they fail
2024-03-07 22:17:37 -08:00
Matthew Kennedy
2436e7c105
implement TS console over ATWINC1500 WiFi ( #373 )
...
* experimenting with atwinc1500
* rename to cpp
* if/else without curly braces
* nullptr
* static asserts
* unused params
* stub basic bsp and wifi console
* misc c++ fixes
* it appears to compile?
* enable/disable ISR
* idk why this needs to get commented
* dead code
* more wifi plumbing
* move wifi init after hardware init
* wifi bsp
* bsp handles empty SPI read/write, pin init
* build spi_flash.cpp
* don't double-enable interrupts
* maybe no need for extern "C"
* faster SPI
* socket kinda connects?
* wifi updater tool?
* log wifi stuff to efiPrintf
* I'm not sure why you have to skip the reboot it says you have to do
* working tcp implementation
* use lock instead of actually cycling interrupts
* improve socket receive performance
* add firmware info
* avoid locking for spi select/unselect
* allow larger SPI ops
* wifi thread priority
* hooks for pins and SPI device
* guard
* build atlas with wifi
* don't unconditionally define EFI_WIFI, oops
* only build wifi if wifi
* typo
* H7 SPI
* typo
2024-03-01 12:37:55 -08:00
Matthew Kennedy
c0489d8591
oops, some boards needed spi prescaler func
2024-02-27 16:56:32 -08:00
Matthew Kennedy
4b02b7d46d
spi cleanup, add 4/5/6 to pickers
2024-02-27 13:42:19 -08:00
Matthew Kennedy
04b48de598
I don't think we need SPI pin mode any more at all
2024-02-26 17:26:59 -08:00
Matthew Kennedy
2c021cfd2e
oops I thought I committed this
2024-02-26 16:12:07 -08:00
Matthew Kennedy
921e205d6d
stop spi
2024-02-26 11:32:48 -08:00
Matthew Kennedy
9c2a6420b4
support spi4/5/6
2024-02-26 11:30:08 -08:00
Matthew Kennedy
afe8b23787
put all backup data in SRAM, not in RTC registers
2024-02-06 11:43:13 -08:00
Matthew Kennedy
13f9337d16
enum class-ify
2024-02-06 11:04:34 -08:00
Matthew Kennedy
d3354310d6
dead backup sram enums
2024-02-06 11:03:42 -08:00
Matthew Kennedy
17c6a46e84
optimize for hot thread stacks and data in CCM
2024-01-06 19:37:35 -08:00
Matthew Kennedy
053e9daceb
oops these don't fit either
2024-01-06 19:01:41 -08:00
Matthew Kennedy
7b46529dee
move some stuff in to CCM
2024-01-06 18:52:37 -08:00
Matthew Kennedy
7e2097056c
unused parameters
2024-01-06 18:31:18 -08:00
Matthew Kennedy
c7cc2de16f
sanity in IMU data names/ranges
2023-11-27 01:30:18 -08:00
rusefillc
d6b5718ed1
no ini image on Cygwin or Mingw ( #297 )
...
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-11-09 09:32:58 -05:00
Matthew Kennedy
6dc6f89e71
H7
2023-11-03 15:30:15 -07:00
Matthew Kennedy
97c084cc24
fix simulator
2023-11-03 15:08:28 -07:00
Matthew Kennedy
61900c0f18
check for unused variables
2023-11-03 15:00:44 -07:00
Matthew Kennedy
3ef4d7c40e
dead openblt files from the "old way"
2023-11-03 01:28:38 -07:00
Matthew Kennedy
f293c679ce
oops missed mcuconf
2023-11-02 13:33:42 -07:00
Matthew Kennedy
9dc183a173
we use small time units here in the future ( #287 )
2023-11-01 22:31:27 -07:00
Matthew Kennedy
a9b866fff1
sent
2023-11-01 16:10:47 -07:00
Matthew Kennedy
0aee861107
gpio, thermistor, knock shadowing
2023-11-01 16:09:39 -07:00
Matthew Kennedy
f4d442bcf3
adc
2023-11-01 14:31:25 -07:00
Matthew Kennedy
6a472b02f3
stepper shadowing
2023-11-01 14:31:21 -07:00
Matthew Kennedy
e625684c91
ads1015 shadow
2023-11-01 14:24:06 -07:00
Matthew Kennedy
68ef36c5d0
adc inputs shadowing
2023-11-01 14:22:29 -07:00
Matthew Kennedy
a987308055
shadow avoidance
2023-11-01 14:16:09 -07:00
Matthew Kennedy
408862d69f
strongly type can bus index so we can't have the same bug again
2023-10-30 23:33:59 -07:00
Matthew Kennedy
39a54e5e93
require DLC on can TX
2023-10-30 18:50:49 -07:00
Stefan de Kraker
4e44e417b2
Fixed FOME CAN data bus selection ( #275 )
...
* Fixed FOME CAN data bus selection
* Made canChannel non-optional
2023-10-30 18:42:52 -07:00
Matthew Kennedy
1638f0177d
zip was still called rusefi.ini.zip
2023-10-17 13:02:02 -07:00
Matthew Kennedy
41ed3bd6ce
avoid stepper pin double init #265
2023-10-13 02:44:14 -07:00
Matthew Kennedy
8949404d54
don't store a copy of stepper pin modes
2023-10-13 02:38:47 -07:00
rusefillc
7ad5b00f2e
refactoring: vvt is not aux ( #263 )
...
* refactoring: vvt is not aux
(cherry picked from commit 6b4c4a583316a32d7723c2cfa16cda39fa9afb1b)
* this repo has VVT conditional at small-can-board
2023-09-27 00:59:04 -07:00
Matthew Kennedy
4b354f047b
trip odometer ( #260 )
2023-09-25 13:16:17 -07:00
Matthew Kennedy
3df1ee9c5f
debug channel cleanups
2023-09-13 12:23:27 -07:00
Matthew Kennedy
c41ebafc59
prep for small can board
2023-08-29 00:57:57 -07:00
Matthew Kennedy
b14ca428fb
#ifdef __cplusplus crust
2023-08-28 14:17:26 -07:00
Matthew Kennedy
ee89ab88d6
H7 flash supports both banks!
2023-08-27 16:44:50 -07:00
Matthew Kennedy
e859f65ef8
cherry pick hardfault volatile
2023-08-27 16:35:09 -07:00
Matthew Kennedy
2fb778145c
forgot the h7 shared section
2023-08-27 16:32:46 -07:00
Matthew Kennedy
717aae8ce2
extract STM32 flash common
2023-08-27 15:31:29 -07:00
Matthew Kennedy
bfad2e45a1
Split F4/F7 vs H7 flash controllers
2023-08-27 15:20:11 -07:00
Matthew Kennedy
12b9a3e477
H7 uses 128k pages
2023-08-27 11:35:14 -07:00