Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
1 change: 0 additions & 1 deletion src/esp32/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ add_library(${ESP_TARGET_LIB} STATIC ${srcs})

target_include_directories(${ESP_TARGET_LIB}
PUBLIC include
PRIVATE include/target
)

target_link_options(${ESP_TARGET_LIB} PUBLIC -T${CMAKE_CURRENT_LIST_DIR}/ld/esp32.rom.ld)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/esp32/src/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

#include "flash.h"
#include <target/flash.h>

void stub_target_flash_init(void *state)
{
Expand Down
4 changes: 2 additions & 2 deletions src/esp32/src/uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

#include <stdint.h>
#include <stddef.h>

#include <reg_base.h>
#include <target/uart.h>
#include "soc/reg_base.h"

// These functions are defined in the ROM
extern void uartAttach(void);
Expand Down
1 change: 0 additions & 1 deletion src/esp32c2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ add_library(${ESP_TARGET_LIB} STATIC ${srcs})

target_include_directories(${ESP_TARGET_LIB}
PUBLIC include
PRIVATE include/target
)

target_link_options(${ESP_TARGET_LIB} PUBLIC -T${CMAKE_CURRENT_LIST_DIR}/ld/esp32c2.rom.ld)
Expand Down
10 changes: 0 additions & 10 deletions src/esp32c2/include/target/flash.h

This file was deleted.

2 changes: 1 addition & 1 deletion src/esp32c2/src/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

#include "flash.h"
#include <target/flash.h>

void stub_target_flash_init(void *state)
{
Expand Down
1 change: 1 addition & 0 deletions src/esp32c2/src/uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
#include <target/uart.h>

// These functions are defined in the ROM
extern void uartAttach(void *rxBuffer);
Expand Down
1 change: 0 additions & 1 deletion src/esp32c3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ add_library(${ESP_TARGET_LIB} STATIC ${srcs})

target_include_directories(${ESP_TARGET_LIB}
PUBLIC include
PRIVATE include/target
)

target_link_options(${ESP_TARGET_LIB} PUBLIC -T${CMAKE_CURRENT_LIST_DIR}/ld/esp32c3.rom.ld)
Expand Down
10 changes: 0 additions & 10 deletions src/esp32c3/include/target/flash.h

This file was deleted.

2 changes: 1 addition & 1 deletion src/esp32c3/src/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

#include "flash.h"
#include <target/flash.h>

void stub_target_flash_init(void *state)
{
Expand Down
1 change: 1 addition & 0 deletions src/esp32c3/src/uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
#include <target/uart.h>

// These functions are defined in the ROM
extern void uartAttach(void *rxBuffer);
Expand Down
1 change: 0 additions & 1 deletion src/esp32c5/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ add_library(${ESP_TARGET_LIB} STATIC ${srcs})

target_include_directories(${ESP_TARGET_LIB}
PUBLIC include
PRIVATE include/target
)

target_link_options(${ESP_TARGET_LIB} PUBLIC -T${CMAKE_CURRENT_LIST_DIR}/ld/esp32c5.rom.ld)
Expand Down
10 changes: 0 additions & 10 deletions src/esp32c5/include/target/flash.h

This file was deleted.

2 changes: 1 addition & 1 deletion src/esp32c5/src/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

#include "flash.h"
#include <target/flash.h>

void stub_target_flash_init(void *state)
{
Expand Down
1 change: 1 addition & 0 deletions src/esp32c5/src/uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <stdint.h>
#include <stddef.h>
#include <target/uart.h>

// These functions are defined in the ROM
extern void uartAttach(void *rxBuffer);
Expand Down
1 change: 0 additions & 1 deletion src/esp32c6/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ add_library(${ESP_TARGET_LIB} STATIC ${srcs})

target_include_directories(${ESP_TARGET_LIB}
PUBLIC include
PRIVATE include/target
)

target_link_options(${ESP_TARGET_LIB} PUBLIC -T${CMAKE_CURRENT_LIST_DIR}/ld/esp32c6.rom.ld)
Expand Down
10 changes: 0 additions & 10 deletions src/esp32c6/include/target/flash.h

This file was deleted.

2 changes: 1 addition & 1 deletion src/esp32c6/src/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

#include "flash.h"
#include <target/flash.h>

void stub_target_flash_init(void *state)
{
Expand Down
1 change: 1 addition & 0 deletions src/esp32c6/src/uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <stdint.h>
#include <stddef.h>
#include <target/uart.h>

// These functions are defined in the ROM
extern void uartAttach(void *rxBuffer);
Expand Down
1 change: 0 additions & 1 deletion src/esp32c61/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ add_library(${ESP_TARGET_LIB} STATIC ${srcs})

target_include_directories(${ESP_TARGET_LIB}
PUBLIC include
PRIVATE include/target
)

target_link_options(${ESP_TARGET_LIB} PUBLIC -T${CMAKE_CURRENT_LIST_DIR}/ld/esp32c61.rom.ld)
Expand Down
10 changes: 0 additions & 10 deletions src/esp32c61/include/target/flash.h

This file was deleted.

2 changes: 1 addition & 1 deletion src/esp32c61/src/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

#include "flash.h"
#include <target/flash.h>

void stub_target_flash_init(void *state)
{
Expand Down
1 change: 1 addition & 0 deletions src/esp32c61/src/uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <stdint.h>
#include <stddef.h>
#include <target/uart.h>

// These functions are defined in the ROM
extern void uartAttach(void *rxBuffer);
Expand Down
1 change: 0 additions & 1 deletion src/esp32h2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ add_library(${ESP_TARGET_LIB} STATIC ${srcs})

target_include_directories(${ESP_TARGET_LIB}
PUBLIC include
PRIVATE include/target
)

target_link_options(${ESP_TARGET_LIB} PUBLIC -T${CMAKE_CURRENT_LIST_DIR}/ld/esp32h2.rom.ld)
Expand Down
10 changes: 0 additions & 10 deletions src/esp32h2/include/target/flash.h

This file was deleted.

2 changes: 1 addition & 1 deletion src/esp32h2/src/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

#include "flash.h"
#include <target/flash.h>

void stub_target_flash_init(void *state)
{
Expand Down
1 change: 1 addition & 0 deletions src/esp32h2/src/uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <stdint.h>
#include <stddef.h>
#include <target/uart.h>

// These functions are defined in the ROM
extern void uartAttach(void *rxBuffer);
Expand Down
1 change: 0 additions & 1 deletion src/esp32p4/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ add_library(${ESP_TARGET_LIB} STATIC ${srcs})

target_include_directories(${ESP_TARGET_LIB}
PUBLIC include
PRIVATE include/target
)

target_link_options(${ESP_TARGET_LIB} PUBLIC -T${CMAKE_CURRENT_LIST_DIR}/ld/esp32p4.rom.ld)
Expand Down
10 changes: 0 additions & 10 deletions src/esp32p4/include/target/flash.h

This file was deleted.

2 changes: 1 addition & 1 deletion src/esp32p4/src/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

#include "flash.h"
#include <target/flash.h>

void stub_target_flash_init(void *state)
{
Expand Down
1 change: 1 addition & 0 deletions src/esp32p4/src/uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <stdint.h>
#include <stddef.h>
#include <target/uart.h>

// These functions are defined in the ROM
extern void uartAttach(void *rxBuffer);
Expand Down
1 change: 0 additions & 1 deletion src/esp32s2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ add_library(${ESP_TARGET_LIB} STATIC ${srcs})

target_include_directories(${ESP_TARGET_LIB}
PUBLIC include
PRIVATE include/target
)

target_link_options(${ESP_TARGET_LIB} PUBLIC -T${CMAKE_CURRENT_LIST_DIR}/ld/esp32s2.rom.ld)
Expand Down
10 changes: 0 additions & 10 deletions src/esp32s2/include/target/flash.h

This file was deleted.

2 changes: 1 addition & 1 deletion src/esp32s2/src/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

#include "flash.h"
#include <target/flash.h>

void stub_target_flash_init(void *state)
{
Expand Down
1 change: 1 addition & 0 deletions src/esp32s2/src/uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <stdint.h>
#include <stddef.h>
#include <target/uart.h>

// These functions are defined in the ROM
extern void uartAttach(void *rxBuffer);
Expand Down
1 change: 0 additions & 1 deletion src/esp32s3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ add_library(${ESP_TARGET_LIB} STATIC ${srcs})

target_include_directories(${ESP_TARGET_LIB}
PUBLIC include
PRIVATE include/target
)

target_link_options(${ESP_TARGET_LIB} PUBLIC -T${CMAKE_CURRENT_LIST_DIR}/ld/esp32s3.rom.ld)
Expand Down
10 changes: 0 additions & 10 deletions src/esp32s3/include/target/flash.h

This file was deleted.

2 changes: 1 addition & 1 deletion src/esp32s3/src/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

#include "flash.h"
#include <target/flash.h>

void stub_target_flash_init(void *state)
{
Expand Down
1 change: 1 addition & 0 deletions src/esp32s3/src/uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
#include <target/uart.h>

// These functions are defined in the ROM
extern void uartAttach(void *rxBuffer);
Expand Down
1 change: 0 additions & 1 deletion src/esp8266/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ add_library(${ESP_TARGET_LIB} STATIC ${srcs})

target_include_directories(${ESP_TARGET_LIB}
PUBLIC include
PRIVATE include/target
)

target_link_options(${ESP_TARGET_LIB} PUBLIC -T${CMAKE_CURRENT_LIST_DIR}/ld/esp8266.rom.ld)
10 changes: 0 additions & 10 deletions src/esp8266/include/target/flash.h

This file was deleted.

2 changes: 1 addition & 1 deletion src/esp8266/src/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/

#include "flash.h"
#include <target/flash.h>

void stub_target_flash_init(void *state)
{
Expand Down
1 change: 1 addition & 0 deletions src/esp8266/src/uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <stdint.h>
#include <target/uart.h>

void stub_target_uart_init(uint8_t uart_num, uint32_t baudrate)
{
Expand Down