Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Branch flash pr with large eeprom #177

Merged
merged 33 commits into from
Feb 22, 2022

Conversation

Ing-Dom
Copy link
Collaborator

@Ing-Dom Ing-Dom commented Feb 20, 2022

solves #176

  • flash reading/writing logic completed based on the "flash" branch
  • added support for plattforms using only EEPROM-Emulation API
  • added direct flash support for RP2040 plattform
  • added ram-bufferd flash support to RP2040 plattform

thelsing and others added 30 commits March 19, 2020 22:35
# Conflicts:
#	src/knx/application_program_object.cpp
#	src/knx/bau27B0.cpp
#	src/knx/bau57B0.cpp
#	src/knx/bits.h
#	src/knx/config.h
#	src/knx/ip_data_link_layer.cpp
#	src/knx/knx_ip_search_response.cpp
#	src/knx/memory.cpp
#	src/knx/network_layer.cpp
#	src/knx/rf_data_link_layer.cpp
#	src/knx/rf_medium_object.cpp
#	src/knx/rf_physical_layer_cc1101.cpp
#	src/knx/tpuart_data_link_layer.cpp
# Conflicts:
#	src/rp2040_arduino_platform.cpp
#	src/rp2040_arduino_platform.h
# Conflicts:
#	src/rp2040_arduino_platform.cpp
bugfix when calculating memorywrites over multiple blocks by mumpf
src/knx/memory.cpp Outdated Show resolved Hide resolved
src/knx/platform.h Show resolved Hide resolved
src/rp2040_arduino_platform.cpp Show resolved Hide resolved
@@ -13,11 +23,36 @@ class RP2040ArduinoPlatform : public ArduinoPlatform
void setupUart();

// unique serial number
uint32_t uniqueSerialNumber() override;
uint32_t uniqueSerialNumber(); //override;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was the override removed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when i started with the flash branch master was not merged into flash branch and uniqueSerialNumber not defined (so the override caused a compile error).
override is optional anyway, so i removed it. It can be added again, no problem.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. Please do so.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

- changed alignment from flashpagesize to 32bit
- added override modifier (PR discussion)
- changed comment regarding flash/eeprom functions for plattforms to override/implement (PR discussion)
@thelsing thelsing merged commit a306174 into thelsing:master Feb 22, 2022
@thelsing
Copy link
Owner

Merged. Thanks.

@Ing-Dom Ing-Dom deleted the Branch_flash_pr_with_large_eeprom branch February 23, 2022 07:04
rueckix added a commit to rueckix/knx that referenced this pull request Apr 29, 2022
Addresses a side effect of thelsing#177, which causes the eeprom buffer to be overwritten every time getEepromBuffer is called. This prevented programming of STM32 boards as their initial bus address was lost before programming.
thelsing pushed a commit that referenced this pull request Apr 30, 2022
* Update stm32_platform.cpp

Addresses a side effect of #177, which causes the eeprom buffer to be overwritten every time getEepromBuffer is called. This prevented programming of STM32 boards as their initial bus address was lost before programming.

* Code style fix
rueckix added a commit to rueckix/knx that referenced this pull request May 27, 2022
Addresses a side effect of thelsing#177, which causes the eeprom buffer to be overwritten every time getEepromBuffer is called. This prevented programming of STM32 boards as their initial bus address was lost before programming.
thelsing pushed a commit that referenced this pull request May 31, 2022
* Update stm32_platform.cpp

Addresses a side effect of #177, which causes the eeprom buffer to be overwritten every time getEepromBuffer is called. This prevented programming of STM32 boards as their initial bus address was lost before programming.

* progbutton fix

* Update stm32_platform.cpp

Addresses a side effect of #177, which causes the eeprom buffer to be overwritten every time getEepromBuffer is called. This prevented programming of STM32 boards as their initial bus address was lost before programming.

* Update knx_facade.h

Remove superfluous attribute _buttonPinInterruptOn

* Update knx_facade.h

attachInterrup on CHANGE for progbutton detection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants