Xiang Xiao
6f9117eae2
tools/sethost.sh: Remove <config> argument
...
Since this argument generate the expanding(deprecated) defconfig
2020-03-19 07:54:57 -06:00
Xiang Xiao
b574ea8b73
tools/sethost.sh: Don't make clean_context explicitly
...
Since olddefconfig will do this automatically
2020-03-19 07:54:43 -06:00
Xiang Xiao
8a6d67d138
tools: Make sethost.sh can be invoke from any directory
2020-03-19 07:54:30 -06:00
Andrey Zabolotnyi
73b655f3b2
stm32h7_qspi: support for custom clock (not just HCLK) and support for DUAL/QUAD commands ( #582 )
...
* stm32h7_qspi: Board.h now may define the BOARD_QSPI_CLK macro to select one of
RCC_D1CCIPR_QSPISEL_{HCLK,PLL1,PLL2,PER} clocks to use with QUADSPI peripherial.
Defaults to HCLK for backward compatibility.
New macros in qspi.h: QSPICMD_IDUAL and QSPICMD_IQUAD for selecting the bit
width for instruction code (1,2 or 4 bits) of a qspi_cmdinfo_s, and
QSPIMEM_IDUAL and QSPIMEM_IQUAD for selecting the bit width of a qspi_meminfo_s.
* NX style fixes
2020-03-19 05:59:18 -07:00
Gregory Nutt
1ab71814c2
drivers/lcd/pcf8574_lcd_backpack.c: Fix nxstyle issues.
2020-03-18 11:24:59 -06:00
Pierre-Olivier Vauboin
b9b7af1001
drivers/lcd/pcf8574_lcd_backpack.c: increase delay for HOME and CLEAR instructions
...
Some LCD1602 require at least 1.52 ms wait time after "Clear display" and
"Return home" instructions. Make sure we wait enough.
2020-03-18 11:24:45 -06:00
YAMAMOTO Takashi
c683bce4cd
esp32-core/README: Use the default partition table offset
...
And mention the relevant ESP-IDF config.
2020-03-18 09:49:40 +01:00
Brennan Ashton
a3ac217e56
Add a GH Actions build job for generating the inlined html documentaion to be published on the wiki
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-03-18 00:44:08 -05:00
David Sidrane
4e475cb630
stm32f7:spi nxstyle
2020-03-17 07:42:28 -06:00
David Sidrane
da854ccb99
stm32:spi nxstyle
2020-03-17 07:42:28 -06:00
Daniel Agar
6189b2c8bd
stm32:spi Add buffers for DMA
2020-03-17 07:42:28 -06:00
David Sidrane
6f32a6ad8f
stm32f7:spi Add buffers for DMA
2020-03-17 07:42:28 -06:00
Nathan Hartman
a5e643b0cd
Fix typos in comments and documentation.
2020-03-16 20:01:11 -06:00
YAMAMOTO Takashi
430a2178fb
esp32-core: Document how to disable RTC watchdog timer
2020-03-16 09:47:48 -06:00
YAMAMOTO Takashi
f4e7845b85
esp32: emulate byte access for module text
...
Tested on ESP-EYE.
2020-03-16 07:54:49 -06:00
YAMAMOTO Takashi
df44909b30
xtensa/arch_elf.c: Ignore R_XTENSA_NONE
...
Now examples/sotest passes on qemu.
2020-03-16 07:54:49 -06:00
YAMAMOTO Takashi
061b796d47
Adapt dlfcn/modlib to use the instruction memory allocator
2020-03-16 07:54:49 -06:00
YAMAMOTO Takashi
855751b534
Introduce instruction memory allocator
...
Necessary for dlfcn etc on ESP32, which has separate memory regions
for instruction and data.
known issues/todo
* consider something similar to dual heaps for PROTOECTED
* consider to adapt binfmt as well
2020-03-16 07:54:49 -06:00
YAMAMOTO Takashi
03a916acb8
Kconfig: Add kconfig options for module text allocator
...
Enable it for ESP32.
2020-03-16 07:54:49 -06:00
YAMAMOTO Takashi
bf2cfd4b1a
Add -mtext-section-literals to avoid out of range relocations
2020-03-16 07:54:49 -06:00
YAMAMOTO Takashi
e135c938d2
xtensa: Implement a few relocations
2020-03-16 07:54:49 -06:00
YAMAMOTO Takashi
2776a5bbea
Replace a few Gregory Nutt's copyright notices with Apache 2.0
...
The text was copied from sched/sched/sched_getcpu.c.
2020-03-16 07:54:49 -06:00
YAMAMOTO Takashi
b2627225bd
Update file paths of copy-and-paste'ed files
2020-03-16 07:54:49 -06:00
YAMAMOTO Takashi
c7526e551e
arch_elf.c: Appease nxstyle errors
2020-03-16 07:54:49 -06:00
YAMAMOTO Takashi
5e1b24f012
xtensa: Add modlib boilerplate
...
This is a modified copy of armv6-m/armv7-m version.
2020-03-16 07:54:49 -06:00
YAMAMOTO Takashi
8657305883
arch/xtensa/include/elf.h: Initial version
2020-03-16 07:54:49 -06:00
YAMAMOTO Takashi
d624434282
include/elf.h: Add EM_XTENSA
2020-03-16 07:54:49 -06:00
YAMAMOTO Takashi
3f80f806ef
xtensa: Add module/elf definitions
2020-03-16 07:54:49 -06:00
YAMAMOTO Takashi
5a716b799b
xtensa_user_handler: rsync after wsr.ps
2020-03-16 07:31:46 -05:00
Xiang Xiao
9a996b11e4
Merge pull request #576 from yamt/xtensa-user-handler-save-ps
...
xtensa_user_handler: Save PS correctly
2020-03-16 06:11:30 -05:00
YAMAMOTO Takashi
3b528c6010
xtensa_user_handler: Save PS correctly
...
"EPS" is not a real register. It's just a base value of EPS_{2..7}.
2020-03-16 19:13:33 +09:00
YAMAMOTO Takashi
951cfbd1d5
xtensa_user_handler: Fix registers in comments
2020-03-16 05:08:43 -05:00
YAMAMOTO Takashi
7aebcc4bf6
xtensa_user_handler: Fix registers in comments
2020-03-16 02:24:16 -05:00
Nathan Hartman
2dec43aa06
Documentation/NuttxUserGuide.html: Fix typos
2020-03-15 18:59:33 -06:00
liuhaitao
efff9b9438
lc823450-xgevk/scripts: remove duplicate flock since ARLOCK already used
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-03-14 14:14:39 -05:00
Gregory Nutt
98b2949e3b
z20x: Improve usability of bootloader
...
boards/z80/ez80/z20x/configs/w25boot/defconfig: Increase size of serial Tx buffer.
boards/z80/ez80/z20x/src/w25_main.c: Add some fflush() in necessary places. Greatly improves the usability of the UI.
boards/z80/ez80/z20x/README.txt: Trival update to README
drivers/serial/serial.c and tcdrain.c: Correct some typos.
2020-03-14 14:07:45 -03:00
Johanne Schock
cdf615855a
Added assembly header detection.
2020-03-14 08:38:39 -06:00
YAMAMOTO Takashi
23db3b2a48
ESP32: Use __asm__ __volatile__ for inline assembly
2020-03-13 19:06:15 -06:00
YAMAMOTO Takashi
3a03a307b9
arch/xtensa/src/common/xtensa_abi.h: nxstyle fixes
...
The remaining errors:
Operator/assignment must be preceded with whitespace
I didn't fix them because they are in assembly code, which
nxstyle doesn't understand.
2020-03-13 18:58:04 -06:00
YAMAMOTO Takashi
086e8ffb12
arch/xtensa/src/esp32/esp32_cpustart.c: nxstyle fixes
...
The remaining errors:
Mixed case identifier found
I didn't fix them because they were on ROM symbols,
which are not supposed to obey NuttX's coding style.
2020-03-13 18:51:26 -06:00
Gregory Nutt
266849549a
libs/libc/netdb/lib_dnsaddserver.c: Fix wrong fopen() mode.
...
dns_add_nameserver(): As reported by Surya Prakash Verma, call to
fopen() used nonexistent file open mode "at"; changed this to "r"
per Surya's analysis. See Surya's email to dev@ on 12 Mar 2020,
archived here: https://lists.apache.org/thread.html/rbbbee93f79dd8f4224969bb03bf093d8c96421380a1d955167a2f661%40%3Cdev.nuttx.apache.org%3E
2020-03-14 01:19:11 +01:00
Gregory Nutt
ef604f8d43
z20x: Performance Improvements
...
- boards/z80/ez80/z20x/scripts/z20x_*.linkcmd: Reduce from 4 to 1 wait state. That i sufficient because of the slow clocking of the eZ80F92
- boards/z80/ez80/z20x/src/w25_main.c: Replace CRC algorithm with simple, less time consuming check sum.
- boards/z80/ez80/z20x/configs/nsh: Rename the nsh_ram configuration to just nsh
- boards/z80/ez80/z80x/configs/hello: Add simpler program to make debugging the loader easier.
2020-03-14 00:05:38 +01:00
YAMAMOTO Takashi
da57a7d6aa
Fix a few nxstyle complaints in arm hostfs
...
Unfortunately nxstyle is still not happy because it doesn't
like the following construct. I'm not sure what to do here.
struct
{
const char *pathname;
long mode;
size_t len;
} open =
{
.pathname = pathname,
.mode = host_flags_to_mode(flags),
.len = strlen(pathname),
};
2020-03-13 11:28:30 -06:00
Xiang Xiao
d06cacb2f7
tools/refresh.sh: ad --nocopy option to skip copy defconfig ( #563 )
...
So we can normalize and copy the current .config to defconfig
2020-03-13 09:45:20 -06:00
David Sidrane
ea81924fce
Revert "arch/arm/src/stm32f7/stm32_flash.c: Add flash block mapping support for progmem."
...
This reverts commit 29164c5706
.
2020-03-13 09:31:46 -06:00
Johanne Schock
645cf6d547
Handling of struct initializers changed.
...
Break conditionals with || at the end.
2020-03-13 07:58:52 -06:00
Xiang Xiao
4686d7cf57
tools: Support invoke refresh.sh from any directory
2020-03-13 06:24:49 -06:00
anjana-tel
737dcdbe93
Update up_usestack.c
2020-03-13 02:42:34 -05:00
Jari van Ewijk
963ee6f42e
NXP RDDRONE-UAVCAN boards (S32K1XX) - Clean up clock config ( #557 )
...
* RDDRONE-UAVCAN boards - Clean up clock config
* S32K1XX - Style fix 3
2020-03-12 13:56:38 -07:00
Jari van Ewijk
850c7faaa8
NXP S32K1XX EVB boards - clock config cleanup ( #556 )
...
* S32K1XX EVB boards - clock config cleanup
* S32K1XX - Style fix 2
2020-03-12 13:55:43 -07:00