mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 17:48:33 -04:00
Update ESP32 port to ESP-IDF release v4.2 and add ESP-IDF version check (#231)
* Revert "Reintroduce Espressif's IDF v4.2 changes to ESP32 port (#193)"
This reverts commit 3d4d17178f
.
* Update ESP32 port files to work with ESP-IDF v4.2 as well as ESP-IDF v3.3
Add changes required to support ESP32-S2
* portmacro.h: Change return type of vApplicationSleep to void
This fixes build failure when automatic light sleep is enabled
* prevent header checks for files with different licensing
Co-authored-by: David Chalco <david@chalco.io>
This commit is contained in:
parent
341e9f06d0
commit
ef4c305244
33 changed files with 327 additions and 6890 deletions
13
.github/scripts/kernel_checker.py
vendored
13
.github/scripts/kernel_checker.py
vendored
|
@ -6,6 +6,10 @@ from common.header_checker import HeaderChecker
|
|||
#--------------------------------------------------------------------------------------------------
|
||||
# CONFIG
|
||||
#--------------------------------------------------------------------------------------------------
|
||||
KERNEL_IGNORED_FILES = [
|
||||
'FreeRTOS-openocd.c'
|
||||
]
|
||||
|
||||
KERNEL_IGNORED_EXTENSIONS = [
|
||||
'.yml',
|
||||
'.css',
|
||||
|
@ -30,7 +34,13 @@ KERNEL_IGNORED_EXTENSIONS = [
|
|||
]
|
||||
|
||||
KERNEL_IGNORED_PATTERNS = [
|
||||
r'.*\.git.*'
|
||||
r'.*\.git.*',
|
||||
r'.*portable.*Xtensa_ESP32\/include\/portmacro\.h',
|
||||
r'.*portable.*Xtensa_ESP32.*port\.c',
|
||||
r'.*portable.*Xtensa_ESP32.*portasm\.S',
|
||||
r'.*portable.*Xtensa_ESP32.*xtensa_.*',
|
||||
r'.*portable.*Xtensa_ESP32.*portmux_impl.*',
|
||||
r'.*portable.*Xtensa_ESP32.*xt_asm_utils\.h'
|
||||
]
|
||||
|
||||
KERNEL_HEADER = [
|
||||
|
@ -70,6 +80,7 @@ def main():
|
|||
checker = HeaderChecker(KERNEL_HEADER)
|
||||
checker.ignoreExtension(*KERNEL_IGNORED_EXTENSIONS)
|
||||
checker.ignorePattern(*KERNEL_IGNORED_PATTERNS)
|
||||
checker.ignoreFile(*KERNEL_IGNORED_FILES)
|
||||
checker.ignoreFile(os.path.split(__file__)[-1])
|
||||
|
||||
return checker.processArgs(args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue