Glauber Maroto Ferreira
ddd0a82ac7
esp32 & esp32s2: lint: kconfig
...
fixes indentation of esp32 and esp32s2 kconfig
soc files.
Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-11-22 08:31:56 -05:00
Glauber Maroto Ferreira
963a707ae4
soc: esp32s2: refactor cache and bss initialization
...
- refactors cache initialization functions by moving it from
soc.c and placing it in soc_cache.c
- moves SPIRAM's bss zeroing before SPIRAM initialization
Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-11-20 11:57:38 -05:00
Glauber Maroto Ferreira
c5857dc0cd
soc: esp32s2: SPIRAM: remove unused configs
...
and updates hal_espressif's revision.
Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-11-20 11:57:38 -05:00
Glauber Maroto Ferreira
89ec6f6863
soc: esp32s2: add SPI RAM support
...
brings support to external esp32s2 RAM memory.
Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-11-20 11:57:38 -05:00
Glauber Maroto Ferreira
661b5cf84d
soc: xtensa: esp32s2: add data cache initialization
...
during esp32s2 boot.
Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-11-20 11:57:38 -05:00
Sylvio Alves
27e44acda1
clock: esp32: unify clock control for all espressif socs
...
This joins all clock control handling to same source
by using hal clock functions. It also brings ESP32C3
clock support.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2021-11-04 15:21:26 -04:00
Glauber Maroto Ferreira
dcf26d72f5
soc: esp32s2: drivers: flash: add support
...
to host SPI Flash driver.
Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-10-28 06:47:21 -04:00
Pavlo Hamov
f9ab7d12e2
soc: esp32s2: Fix RAM offset calculation
...
Depending on cache setting RAM start must be adjusted.
Fix offset selection
Signed-off-by: Pavlo Hamov <p.hamov@venstar.com>
2021-10-13 10:13:58 -04:00
Glauber Maroto Ferreira
7468121f19
esp32s2: drivers: spi: add driver support
...
and hooks to spi_loopback test.
Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-10-10 14:52:41 -04:00
Glauber Maroto Ferreira
d451fda467
wifi: esp32s2: add driver support
...
add support for esp32s2 wifi.
Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-10-01 10:51:37 -04:00
Sylvio Alves
69311ccc3d
soc: esp32: update clock configuration calls
...
Removed duplicated calls in clock subsystems.
Move proper includes to soc specific.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2021-09-30 21:42:20 -04:00
Glauber Maroto Ferreira
e605efc698
esp32s2: drivers: clock_control: add support
...
add clock control driver support for esp32s2 SoC.
Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-09-27 22:02:08 -04:00
Glauber Maroto Ferreira
2689a6ee0a
esp32s2: drivers: gpio: add gpio support
...
through the reuse of current gpio driver.
Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-08-27 17:34:41 -04:00
Glauber Maroto Ferreira
2c031caed0
esp32s2: drivers: interrupt_controller: add interrupt allocation support
...
through the reuse of current esp32 interrupt allocator.
Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-08-27 17:34:41 -04:00
Shubham Kulkarni
fdb23d848d
soc: esp32s2: Fix symbol placement in linker script
...
Creating static libraries for drivers moves some symbols out of IRAM.
This change fixes it.
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-08-20 18:25:22 -04:00
Sylvio Alves
57e7fba288
soc: esp32: move board config to soc context
...
log and libc optimization default config are soc related
and should be moved out from board context.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2021-08-18 07:46:29 -04:00
Glauber Maroto Ferreira
d6da733097
soc: xtensa: esp32s2: linker script cleanup
...
through the removal of duplicate inclusion of
common-ram linker file.
Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-08-16 15:11:47 -04:00
Fabio Baltieri
f88a420d69
toolchain: migrate iterable sections calls to the external API
...
This migrates all the current iterable section usages to the external
API, dropping the "Z_" prefix:
Z_ITERABLE_SECTION_ROM
Z_ITERABLE_SECTION_ROM_GC_ALLOWED
Z_ITERABLE_SECTION_RAM
Z_ITERABLE_SECTION_RAM_GC_ALLOWED
Z_STRUCT_SECTION_ITERABLE
Z_STRUCT_SECTION_ITERABLE_ALTERNATE
Z_STRUCT_SECTION_FOREACH
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2021-08-12 17:47:04 -04:00
Glauber Maroto Ferreira
ed63e2a562
soc: esp32s2: add initial soc support files for esp32s2
...
by adding specific soc files for esp32s2 bring-up, such as:
- linker script
- soc initialization code
- initial device tree source files
- esp32s2 saola board support.
Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-07-28 21:09:27 -04:00