Alan C. Assis
5df1a544cf
boards/esp32: Add basic support to TTGO-LoRa-SX1276-ESP32
...
Link to this board's project: https://github.com/LilyGO/TTGO-LORA32
2021-08-26 18:51:15 -03:00
Abdelatif Guettouche
52f32cb367
boards/xtensa/esp32: Don't include esp32_cpuint.h, it's not needed.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-18 04:42:18 -07:00
Gustavo Henrique Nihei
1dfcc6ab49
xtensa/esp32: Enable boot from Espressif's port of MCUboot
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-13 08:44:20 -03:00
Xiang Xiao
b12f588140
Rename CONFIG_LIB_BOARDCTL to CONFIG_BOARDCTL
...
since boardctl isn't a libc feature
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-06 13:58:26 +02:00
YAMAMOTO Takashi
7e449c8a61
esp32-devkitc/wapi: Some config tweaks
...
When trying to reproduce a reported issue with telnetd,
it took me a bit to find out a working config with telnetd.
I don't want to repeat the process again in future.
OTOH, I don't feel it's worth to have a separate config for this.
Enable a few things convenient for testing network stuff
- telnetd
- iperf
- NET_STATISTICS
- Bump NET_NACTIVESOCKETS
Stack related
- Enable interrupt stack
- Tweak stack sizes
- STACK_COLORATION
- SYSTEM_STACKMONITOR
Debug stuff
- Enable assertions
- Enable some WARN/ERROR logs
Misc
- Disable C++ as it does nothing for the rest of the config and
it's expensive (involving a download of the library)
2021-08-02 23:12:17 -07:00
Masayuki Ishikawa
b9757ff811
boards: esp32-devkitc: Update wapi_smp/defconfig
...
Summary:
- This commit adds RTC and NTP client to wapi_smp/defconfig
Impact:
- None
Testing:
- Tested with ntpcstart & date
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-29 21:00:01 -07:00
Sara Souza
9c3799f130
xtensa/esp32-s2: Adds GPIO board logic to esp32s2-saola-1.
2021-07-29 17:21:32 -03:00
Gustavo Henrique Nihei
a7a922611b
xtensa/esp32: Enable the allocation of multiple SPI Flash partitions
...
Currently the "esp32_spiflash_alloc_mtdpart" allocates a
statically-defined partition from "offset" and "size" set via
Kconfig.
This commit changes the function interface to receive those information
as arguments, enabling the creation of multiple MTD partitions with
different offsets and sizes.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-07-29 20:17:13 +02:00
Sara Souza
857414e95d
xtensa/esp32: expose SPI2 as a char driver
2021-07-27 09:55:49 -07:00
Alan C. Assis
5500dcdf64
Fix typo on HT16K33 name
2021-07-25 09:00:39 -07:00
Alan C. Assis
5b465345c7
Fix typo on esp32-devkitc
2021-07-25 09:00:39 -07:00
Alan C. Assis
6bc07944d5
Add nsh console through telnet over Wi-Fi
2021-07-25 02:45:19 -07:00
Sara Souza
c47faa7120
xtensa/esp32: Make output readable and rmv unnecessary var.
2021-07-16 19:53:51 -03:00
Abdelatif Guettouche
e29d14ad66
boards/xtensa/esp32: Delete the drivers directory, it's empty, the build
...
system will pick the common dummy one.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-07-15 08:32:22 -03:00
Abdelatif Guettouche
a6632f969a
boards/xtensa/esp32: Make board level linker script take precedence over
...
the common scripts.
This allows having a more costumized linker script per board.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-07-15 08:32:22 -03:00
Abdelatif Guettouche
0aa35850fc
boards/xtensa/esp32: Update Make.defs to account for the new location of
...
the linker scripts.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-07-15 08:32:22 -03:00
Abdelatif Guettouche
e45facf6a8
boards/xtensa/esp32: Move the linker scripts to the common directory.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-07-15 08:32:22 -03:00
Abdelatif Guettouche
e2705cd86c
boards/xtensa/esp32: Add license headers to the linker script files and
...
correct some old names.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouch@espressif.com>
2021-07-13 10:24:42 -07:00
Masayuki Ishikawa
fec3bb2a0c
boards: esp32-devkitc: Update wapi_smp/defconfig
...
Summary:
- This commit adds several configs to test Wi-Fi networking
Impact:
- wapi_smp only
Testing:
- Tested with nfsmount, telnet, ping, webserver
- telnet + ping, nfsmount + ping work
- NOTE: nfs + telnet stress test might stop
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-13 05:12:40 -07:00
Jiuzhu Dong
85470176e7
sched/task: delete CONFIG_MAX_TASKS limit
...
Change-Id: I583015a95dbcebd352f81ecb3104ffdbd646a9ec
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-07-11 19:42:30 -07:00
Masayuki Ishikawa
a7c9f701ef
boards: esp32-devkitc: Update smp/defconfig
...
Summary:
- This commit adds the following to smp/defconfig
+CONFIG_DEBUG_FULLOPT=y
+CONFIG_DEBUG_SYMBOLS=y
+CONFIG_STACK_COLORATION=y
Impact:
- None
Testing:
- Tested with QEMU
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-07 21:24:28 -05:00
Masayuki Ishikawa
ba2e0026ab
boards: esp32-devkitc: Add interrupt stack to smp/defconfig
...
Summary:
- This commit adds CONFIG_ARCH_INTERRUPTSTACK=2048 to defconfig
Impact:
- None
Testing:
- Tested with ostest
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-07-03 07:02:33 -05:00
Abdelatif Guettouche
e401aa17f6
boards/xtensa/esp32: Update the defconfigs to account for the changes in
...
TEXT_HEAP and the introduction of ESP32_IRAM_HEAP and ARCH_HAVE_EXTRA_HEAPS
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-26 09:52:43 -05:00
Abdelatif Guettouche
03d38166c0
boards/xtensa/esp32: Use the common gnu-elf.ld file from binfmt/libelf
...
instead of keeping the same file for each board.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-24 08:04:14 -05:00
Abdelatif Guettouche
c4b0a85841
boards/xtensa/esp32: Change the name of the flash segment to irom_0_0
...
instead of iram_0_2.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 12:14:34 -05:00
Abdelatif Guettouche
4c559c8324
boards/xtensa/esp32: Use REGION_ALIAS to choose from IRAM and FLASH
...
regions.
With this we also don't need two separate linker scripts (one for IRAM
and another one for FLASH). Only one linker script (now called
esp32.ld) is now present.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 12:14:34 -05:00
Abdelatif Guettouche
556321b9e2
boards/esp32: Move the ROM linker script to the common directory.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 12:14:34 -05:00
Abdelatif Guettouche
40d7bbb231
boards/esp32: Remove the peripherals' linker script since it's not
...
needed.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 12:14:34 -05:00
Abdelatif Guettouche
a920009102
boards/xtensa/esp32: Delete OpenOCD scripts. The documentation part
...
explains how to use those shipped with OpenOCD.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 12:14:34 -05:00
Abdelatif Guettouche
1e49f2929f
arch/xtensa/src/esp32: Extract the IRAM region as a separate heap.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 08:37:01 +09:00
Abdelatif Guettouche
1719e9df94
arch/xtensa/esp32: Add the RTC Slow memory as a separate heap.
...
This memory region can be accessed by both I & D buses, so the heap can
be used for data storage and code execution.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 08:37:01 +09:00
chenwen
c3792f0aae
xtensa/esp32: Support ESP32 RTC driver
2021-06-18 22:01:34 -05:00
Abdelatif Guettouche
af5e0c620f
Rename MODULE_TEXT to TEXT_HEAP as the latter is more generic.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-18 07:14:17 -05:00
Xiang Xiao
5b2a17b892
Include assert.h in necessary place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-08 13:06:08 -07:00
Alan C. Assis
be1c8036d5
esp32-devkitc: Add board support to ht16k33 14-seg display
2021-06-05 20:32:04 -05:00
Abdelatif Guettouche
6e4a3d6cd8
boards/esp32-devkitc: Add an ELF defconfig.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-04 10:25:15 -05:00
Xiang Xiao
2e54df0f35
Don't include assert.h from public header file
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-03 08:36:03 -07:00
YAMAMOTO Takashi
42d75f97e6
esp32-devkitc/wapi: a few settings which I often need for network testing
...
CONFIG_DEV_URANDOM=y (for mbedtls)
CONFIG_NETDB_DNSCLIENT_NAMESIZE=64 (azure generated hostnames)
CONFIG_NET_ETH_PKTSIZE=1518
CONFIG_NET_TCP_DELAYED_ACK=y
CONFIG_NET_TCP_WRITE_BUFFERS=y
CONFIG_NSH_LINELEN=300 (copy-and-paste azure long URLs)
2021-06-03 10:06:16 -05:00
YAMAMOTO Takashi
c20ed229b1
refresh configs
2021-06-03 10:05:33 -05:00
Abdelatif Guettouche
2004acdeb1
boards/esp32s2: Remove anything that has to do with QEMU since it's not
...
supported.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-01 12:43:15 -05:00
Abdelatif Guettouche
672b8000f5
boards/xtensa/esp32s2/esp32s2-saola-1/scripts/.gitignore: Ignore the
...
generated linker script file.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-01 10:31:26 -05:00
Abdelatif Guettouche
8347a56bc0
Improve and remove not necessary board configuration
2021-06-01 07:49:54 +02:00
Alan C. Assis
1201777457
Add support to the esp32s2-saola-1 board
2021-06-01 07:49:54 +02:00
Xiang Xiao
d7f96003cf
Don't include debug.h from public header file
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-01 06:42:02 +09:00
Chen Wen
e44ec9e48e
xtensa/esp32: Fix code nxstyle issue
2021-05-19 06:45:42 -03:00
chenwen
f7db743152
xtensa/esp32: Support auto-sleep
2021-05-19 06:45:42 -03:00
chenwen
f50160f0e1
xtensa/esp32: Support tick-less OS
2021-05-19 06:45:42 -03:00
Xiang Xiao
11ef8a3201
board: Enable CONFIG_BOARDCTL_ROMDISK
...
to fix build break by commit 3156aa7532
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-13 10:44:16 -05:00
Gustavo Henrique Nihei
d9f2289d30
boards/esp32: Allocate .noinit in a dedicated section
2021-04-28 15:40:49 +01:00
Sara Souza
0c440cfdfe
xtensa/esp32: Reorganize the timer logic for wireless use
2021-04-22 21:38:16 -05:00