Seppo Takalo
8f77de6453
TDBStore safety check: Erase if there is valid keys on the free space.
...
In case our are contains data from previous reset() or reset_area(),
we might end up in the situation where free space contains valid
key headers, but we have not erased that area yet. This can cause
failures if the deinit() and init() because new scan of that area
would continue as long as keys are found. This causes keys on the
not-yet-erased area to be included in the new instance of TDBStore.
To prevent this failure, check after each key-write that our free
space does not contain valid key headers. Also make sure that we
erase one program unit sector over the master record. If we erased
just the master record,first key might is still there, causing next
init() to find it. Extend erase area by one program unit, so that
build_ram_table() won't find any keys.
2019-11-28 10:37:07 +02:00
Hugues Kamba
444c0893e4
Fix targets.json syntax errors
...
Remove duplicated keys.
2019-11-28 08:30:58 +00:00
Przemyslaw Stekiel
3d03d3553e
Add pwmout_init_direct() stub (fix for unittests)
2019-11-28 08:32:12 +01:00
Przemyslaw Stekiel
b2dad08387
Change explicit pinmap to static pinmap
2019-11-28 08:32:12 +01:00
Przemyslaw Stekiel
e3a34a57e1
Move GPIO_AF_NONE from PeripheralPins.h to PinNamesTypes.h
2019-11-28 08:32:10 +01:00
Przemyslaw Stekiel
fcef50fcd2
Update Overview and background section
2019-11-28 08:32:10 +01:00
Przemyslaw Stekiel
1b3cce6dca
Change naming: explicit to static
2019-11-28 08:32:09 +01:00
Przemyslaw Stekiel
181461dc71
Use html tables instead of images, add missing details.
2019-11-28 08:32:09 +01:00
Przemyslaw Stekiel
ce2c10a6d3
Add design document for explicit pinmap extension
2019-11-28 08:32:08 +01:00
Przemyslaw Stekiel
7db99341fa
Serial, QSPI: Fix style
2019-11-28 08:32:08 +01:00
Przemyslaw Stekiel
933e77414d
prevent passing of temporary pinmap objects
2019-11-28 08:32:07 +01:00
Przemyslaw Stekiel
0147af8418
CAN: remove redundant loop
2019-11-28 08:32:07 +01:00
Przemyslaw Stekiel
caf438ed9b
get_qspi_pinmap(): Fix invalid condition
2019-11-28 08:32:07 +01:00
Przemyslaw Stekiel
ef8a99472a
QSPI: Add pointer to HAL init function
2019-11-28 08:32:07 +01:00
Przemyslaw Stekiel
b35579ba39
NUCLEO_F429ZI add CAN pinmaps
2019-11-28 08:32:07 +01:00
Przemyslaw Stekiel
6489bb7c99
STM: Add support for internal ADC pins
2019-11-28 08:32:06 +01:00
Przemyslaw Stekiel
dac3c218ef
NRF52840_DK: Add explicit pinmap support
2019-11-28 08:32:06 +01:00
Przemyslaw Stekiel
0e0952fadc
NRF52840_DK: Add explicit pinmap support
2019-11-28 08:32:06 +01:00
Przemyslaw Stekiel
42b2eeede9
NUCLEO_F303RE: Add explicit pinmap support
2019-11-28 08:32:06 +01:00
Przemyslaw Stekiel
a83756504f
LPC55S69_NS: Add explicit pinmap support
2019-11-28 08:32:05 +01:00
Przemyslaw Stekiel
a2320f2e5c
NUCLEO_L073RZ: Add explicit pinmap support
2019-11-28 08:32:05 +01:00
Przemyslaw Stekiel
2855e801cb
NUCLEO_F411RE: Add explicit pinmap support
2019-11-28 08:32:05 +01:00
Przemyslaw Stekiel
dc26390d08
DISCO_L475VG_IOT01A: Add explicit pinmap support
2019-11-28 08:32:04 +01:00
Przemyslaw Stekiel
31f99416ae
STM QSPI driver: Add explicit pinmap support
2019-11-28 08:32:04 +01:00
Przemyslaw Stekiel
c8a80bbcd3
STM CAN driver: Add explicit pinmap support
2019-11-28 08:32:04 +01:00
Przemyslaw Stekiel
097f3b4969
Explicit pinmap: Add support for CAN and QSPI
2019-11-28 08:32:04 +01:00
Przemyslaw Stekiel
0cf9b1ef75
QSPI: Add explicit pinmap support
2019-11-28 08:32:04 +01:00
Przemyslaw Stekiel
655a6b896f
CAN: Add explicit pinmap support
2019-11-28 08:32:03 +01:00
Przemyslaw Stekiel
37714c7894
Add can_init_direct() functions to HAL API
2019-11-28 08:32:03 +01:00
Przemyslaw Stekiel
2970e5c699
Add qspi_init_direct() function to HAL API
2019-11-28 08:32:03 +01:00
Przemyslaw Stekiel
ba12228556
Explicit pinmap: Fix build failures reported by CI
2019-11-28 08:32:03 +01:00
Przemyslaw Stekiel
d75cc97d80
Explicit pinmap - fix style
2019-11-28 08:32:02 +01:00
Przemyslaw Stekiel
17c1b9a860
Fix spelling error
2019-11-28 08:32:02 +01:00
Przemyslaw Stekiel
af0ab802d4
Adapt FPGA tests for spi, i2c, analogin, pwm, uart to test direct init (explicit pinmap).
2019-11-28 08:32:01 +01:00
Przemyslaw Stekiel
7b0ceb0140
NUCLEO_F429ZI: Add constexpr pinmap tables
2019-11-28 08:32:01 +01:00
Przemyslaw Stekiel
211356f307
K64F: Add constexpr pinmap tables
2019-11-28 08:32:01 +01:00
Przemyslaw Stekiel
9a62195810
Add constexpr utility functions to search for pin mapping
2019-11-28 08:32:01 +01:00
Przemyslaw Stekiel
a7b298f353
mstd_cstddef: add C support and macros for C++11
2019-11-28 08:32:00 +01:00
Przemyslaw Stekiel
3d719f7e35
K64F, NUCLEO_F429ZI: Use explicit pinmap for console
2019-11-28 08:32:00 +01:00
Przemyslaw Stekiel
bef6854a47
Serial, SerialBase, UARTSerial: Add explicit pinmap support
2019-11-28 08:32:00 +01:00
Przemyslaw Stekiel
3d2bebde0c
STM32 serial driver: Add explicit pinmap support
2019-11-28 08:32:00 +01:00
Przemyslaw Stekiel
e82e190a66
K64F serial driver: Add explicit pinmap support
2019-11-28 08:32:00 +01:00
Przemyslaw Stekiel
f1367c057c
Add serial_init_direct(), serial_set_flow_control_direct() functions to HAL API
2019-11-28 08:31:59 +01:00
Przemyslaw Stekiel
80b46769aa
I2C: Add explicit pinmap support
2019-11-28 08:31:59 +01:00
Przemyslaw Stekiel
2185e80e08
STM32F4 I2C driver: Add explicit pinmap support
2019-11-28 08:31:59 +01:00
Przemyslaw Stekiel
e0fdee9f0d
TARGET_MCUXpresso_MCUS I2C driver: Add explicit pinmap support
2019-11-28 08:31:59 +01:00
Przemyslaw Stekiel
618bd18ef5
Add i2c_init_direct() function to HAL API
2019-11-28 08:31:58 +01:00
Przemyslaw Stekiel
bbd90b604b
AnalogOut: Add explicit pinmap support
2019-11-28 08:31:58 +01:00
Przemyslaw Stekiel
eab08d7047
STM32F4 Analogout driver: Add explicit pinmap support
2019-11-28 08:31:58 +01:00
Przemyslaw Stekiel
4a79e59ef6
K64F Analogout driver: Add explicit pinmap support
2019-11-28 08:31:58 +01:00