raiden00pl
e923c7683b
Merged in raiden00/nuttx_pe (pull request #886 )
...
Fixes for STM32F1 PWM
arch/arm/src/stm32/hardware/stm32f1xxx_pinmap.h: fix names for complementary PWM outputs
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-10 09:25:54 +00:00
Gregory Nutt
495a648573
arch/z80/src: Rename up_doirq.c and up_internal.h to z80_doirq.c and z80_internal.h for better consistency with the naming conventions
2019-06-09 19:08:42 -06:00
Gregory Nutt
0148124e33
Squashed commit of the following:
...
nuttx/arch/z80/src: To properly follow the coding standard, the z80 architecture common should up_mmuinit should be called z80_mmu_initialize.
nuttx/arch/z80/src: To properly follow the coding standard, the z80 architecture common should up_loweserialinit should be called z80_lowserial_initialize.
configs/z80sim/src/z80_serial.c: Remove unused function up_earlyserialinit()
nuttx/arch/z80/src: To properly follow the coding standard, the z80 architecture common should up_serialinit should be called z80_serial_initialize.
nuttx/arch/z80/src: To properly follow the coding standard, the z80 architecture common should up_doirq should be called z80_doirq.
arch/z80/src/common: up_addregion() must be prototyped in nuttx/mm/mm.h, not up_internal.h
2019-06-08 22:01:53 -06:00
Gregory Nutt
d39ac6c3a1
arch/z80/src/common: Fix some name of internal z80-family common functions. ez80_* is wrong. up_ is misleading.
2019-06-08 11:36:55 -06:00
Gregory Nutt
f5b890d098
Squashed commit of the following:
...
arch/z80/src/ez80: Clean-up RTC driver; get a clean compilation. Still untested.
arch/z80/src/ez80: This brings the RTC to code complete, but does not yet compile.
arch/z80/src/ez80/ez80_rtc.c: Bring in badly ported RTC driver from STM32F4. Little more than naming changing at this point not even ready to attempt comilation
arch/z80/src/ez80: Add RTC driver. Initial commit is just the STMF4 RTC driver with name changes.
2019-06-08 09:58:24 -06:00
Gregory Nutt
1f3958116a
arch/z80/src/ez80/Make.defs: Fix some backward conditional loic
2019-06-07 13:23:54 -06:00
Gregory Nutt
c5bfb13e50
Update README
2019-06-07 07:06:05 -06:00
Fabian Justi
beaa54cc4c
Merged in Justifa/nuttx (pull request #885 )
...
drivers/sensors/as726x.c Fix little change from tools/indent.sh
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-06 13:36:58 +00:00
Gregory Nutt
51d6ad2ffe
Documentation/NuttXCCodingStandard.html: Yet another small addition to the C++ coding standard overview.
2019-06-05 16:22:09 -06:00
Gregory Nutt
ac8a3c40a8
Documentation/NuttXCCodingStandard.html: A few more additions to the previous commit.
2019-06-05 16:18:45 -06:00
Gregory Nutt
7eab088dd4
Documentation/NuttXCCodingStandard.html: Add a brief section summarizing the major differences between the NuttX C and C++ coding standards. This is a stop-gap measure in lieu of having a real C++ coding standard.
2019-06-05 15:38:35 -06:00
Gregory Nutt
fbb6f6cde0
configs/: Rename ZDS-II start files from xxx_lowinit.c to xxx_boot.c; rename board initialization logic from xxx_lowinit() to xxx_board_initialize(). These changes make the ZDS-II configurations more similar to board initialization conventions to used for other architectures.
2019-06-05 10:14:58 -06:00
Gregory Nutt
2c1e905aa6
Merge branch 'master' of bitbucket.org:nuttx/nuttx
2019-06-05 09:39:05 -06:00
Gregory Nutt
cf8268f7d8
configs/makerlisp/src/ez80_lowinit.c: Remove redundant SPI GPIO setup. This is already done in the SPI driver.
...
configs/makerlisp/src/ez80_spi.c: Add hooks needed by SPI driver. Move SPI MMC/SD chip selected configuration from ez80_lowinit.c to here as it done in other NuttX architectures. This enables support for multiple devices on the SPI bus.
2019-06-05 08:20:00 -06:00
Alin Jerpelea
215a146f2e
Merged in alinjerpelea/nuttx (pull request #884 )
...
arch: arm: cxd56xx: add support for USB and SDIO
* arch: arm: cxd56xx: add support for USB connectivity
Add basic support for USB connectivity
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* arch: arm: cxd56xx: add SDHCI support
We add SDHCI driver for the cxd56xx
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-05 14:05:56 +00:00
Gregory Nutt
900c32c021
Substantial changes to last PR which was not close to the coding standard. Files ran through tools/indent.sh.
2019-06-05 07:21:55 -06:00
Fabian Justi
ff5f1945ec
Merged in Justifa/nuttx (pull request #883 )
...
Add support for AS726X spectral sensor
* configs/nucleo-l476rg/src/stm32_appinit.c Add I2C tool to board init
* configs/nucleo-l476rg/src/stm32_bmp180.c Fix comment
* configs/stm32f103-minimum/src/stm32_veml6070.c Fix name in error message
* drivers/sensor, include/nuttx/sensors and configs/nucleo-l476rg: Add support for AS726X spectral sensor
Implement driver for AS726X spectral
read as726x V,B,G,Y,O,R channel
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-05 12:50:03 +00:00
Alin Jerpelea
95c168ccc9
Merged in alinjerpelea/nuttx (pull request #882 )
...
arch: arm: cxd56xx: add Package Configuration
The CXD56xx can come in FCBGA 185 pin or WLCSP 100 pin package.
For each package we have to pick the right pin setup.
The default configuration is set to FCBGA 185 pin package
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-05 11:58:00 +00:00
Alin Jerpelea
eeedce32c4
Merged in alinjerpelea/nuttx (pull request #881 )
...
updates for arch: arm: cxd56xx:
* arch: arm: cxd56xx: add pinconfig
Add the HW pin configuration for cxd56xx
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* arch: arm: cxd56xx: add GPIO support
Add GPIO support for cxd56xx
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* arch: arm: cxd56xx: add support for GPIO interrupts
add support for GPIO interrupts
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* arch: arm: cxd56xx: add clock support
Add clock support for cxd56xx
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* arch: arm: cxd56xx: add PMIC support
Add support for PMIC (Power management integrated circuit)
for cxd56xx chip
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* arch: arm: cxd56xx: add FIFO CPU schedulier
add a simple FIFO schedulier that minimizes overhead
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* arch: arm: cxd56xx: add ICC support
add Inter Core Communication for cxd56xx
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-05 11:29:51 +00:00
Gregory Nutt
fe0ab650bb
configs/makerlisp: Add VGA initialization logic.
2019-06-04 16:35:56 -06:00
Gregory Nutt
7d99b79c8f
Update a README.
2019-06-04 14:02:59 -06:00
Gregory Nutt
4e98980045
Add initial support for the MakerLisp eZ80 board. Ref: https://makerlisp.com/
...
Squashed commit of the following:
configs/makerlisp: Update comments about use of serial console.
configs/makerlisp: Add LED support, remove vestiges of button support (the board has no user buttons). Add support for SPI-based MMC/SD card slot.
arch/z80/src/ez80: Fix some link problems.
libs/libc/syslog/lib_syslog.c: The ZDS-II toolchain does not declare va_coy in stdarg.h. I think that the use of va_copy in vsyslog() is no necessary.
configs/makerlisp: Initial configuration directories cloned from ez80f910200zco with little more than naming changes.
2019-06-04 11:12:17 -06:00
Gregory Nutt
4a7f0166cf
arch/z80/src/ez80/ez80_i2c.c: Cosmetic changes from code review. Also makes I2C and SPI configurable options.
2019-06-04 06:49:45 -06:00
Gregory Nutt
6fbfd00396
arch/z80/src/ez80/ez80_spi.c: Cosmetic changes from code review.
2019-06-03 23:59:53 -06:00
Gregory Nutt
59f3180179
Re-verify ez80 build. Fixes to other ZiLOG architectures broke ez80 again.
2019-06-03 19:04:24 -06:00
Gregory Nutt
622c272ea3
Clean up some variouis compiler problems using SDCC to compiler Z180.
2019-06-03 18:16:23 -06:00
Gregory Nutt
7ab149d8e9
Various fixes to get a clean compile with the SDCC compiler. Compile is 'almost' clean.
2019-06-03 16:53:11 -06:00
Gregory Nutt
fd4436f559
arch/z80/src/Makefile.zdsiil: Minor cleanup
2019-06-03 15:35:36 -06:00
Gregory Nutt
f6b42f87c9
More miscelleanous ZNeo build fixes
2019-06-03 14:45:00 -06:00
Gregory Nutt
a9fd817eeb
More ZNeo compile fixes: include/stdio.h: Another place where misuse of FAR makes a difference. include/nuttx/sched.h: Be consistent in use of WDOG_ID type. ZDS-II doesn't like auto-conversions of struct wdog_s * to WDOG_I (which is type struct wdog_s *).
2019-06-03 13:28:39 -06:00
Gregory Nutt
96da37dc48
include/nuttx/wqueue.h: Allow definitions even if work queues are not enabled. This solves build failures when work queues are not enabled.
2019-06-03 13:13:17 -06:00
Gregory Nutt
84a57f8fa0
Fix several ZNeo compile issues. There are more. Pthreads: Fix a could of places where FAR was added when it is not appropriate. This matters to ZNeo which depends on definitions of NEAR and FAR points.
2019-06-03 13:06:58 -06:00
Gregory Nutt
25f42dd076
libs/libc/time/: Costmetic changes to make gmtime() and gmtimer() follow the coding standard more closely.
2019-06-03 11:18:17 -06:00
Gregory Nutt
2185456690
configs/: Update configurations for changes to apps/netutils/netinit configureation. MAC address configuration was represented by type long long. That is a problem for architectures that do not support typle long long. Replaces by two long configuration items.
2019-06-03 10:05:46 -06:00
Gregory Nutt
ee9e8c6bc2
udp\udp_callback.c: Fix another C89 compatibility problem. Empty initializers are not permitted. Caused ez80 build failure.
2019-06-03 09:23:19 -06:00
Gregory Nutt
2dae0ef0db
mm/mm_heap/mm_sem.c: Fix error that occurs when CONFIG_CPP_HAVE_VARARGS is not defined. In that case, the arguments to the debug macro will all be evaluated even though they are not used any variables that are references must at least be defined.
2019-06-03 09:02:55 -06:00
Gregory Nutt
d375a26a6c
libs/libc/stdio: Fix long long usage in all of the newer printf-related logic: The selection CONFIG_LIBC_LONG_LONG must be ignored if the architecture does not support long long types.
2019-06-03 08:45:57 -06:00
Gregory Nutt
7a0481d2a9
drivers/net/telnet.c: Fix a C89 non-compliance that was breaking the ez80 build.
2019-06-03 08:20:21 -06:00
Gregory Nutt
e4069ebe5e
include/nuttx/signal.h: Fix a C89 compliance problem that cause the ez80 build to fail. Empty structure and unions are not accepted by the compiler.
2019-06-03 08:12:20 -06:00
Dave Marples
a2def2a4d1
arch/arm/src/common/up_lwl_console.c: Add support for a 'Lightweight Link' protocol between a target and debugger for use when you need a console but the target doesn't have a spare serial port or other available resource.
2019-06-03 07:31:17 -06:00
raiden00pl
04ea439121
Merged in raiden00/nuttx_h7 (pull request #880 )
...
Initial PWM support for STM32H7
arch/arm/src/stm32h7: port PWM from STM32
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-03 11:51:00 +00:00
Masayuki Ishikawa
fd387b6b8c
Merged in masayuki2009/nuttx.nuttx/fix_usrsock (pull request #879 )
...
net/usrsock: Fix debug logs and remove DEBUGASSERT from usrsockdev_do_request()
In a client mode, socket() will be the first request for usrsockdev_do_request().
However, in a server mode, the first request to accepted sockets will be recv()
or others which depend on applications. So I think we should remove this
DEBUGASSERT from usrsockdev_do_request().
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-03 11:43:43 +00:00
Gregory Nutt
4a211df02e
Update a README
2019-06-02 19:26:01 -06:00
Gregory Nutt
167ecaa496
arch/z16/src/z16f/Kconfig and configs/z16f2800100zcog/scripts/Make.defs: Add support for the lastest 5.2.1 version of the ZDS-II toolchain.
2019-06-02 19:21:00 -06:00
Gregory Nutt
87fd570d3a
arch/z16/src: Replicate build changes make for ez80 and z8 for zneo.
2019-06-02 18:43:43 -06:00
Gregory Nutt
27bb130bf8
arch/z80/src/: Fix a few more ez80 compile issues. Update README files.
2019-06-02 18:35:32 -06:00
Gregory Nutt
2cf195e6d1
configs: Fix included path used in all arch/z80 XDS-II builds (ez80 and z8).
2019-06-02 16:16:44 -06:00
Gregory Nutt
fc79fc5ce1
arch/z80/src: Fix ez80 compile problems due to New ZDS-II toolchain and ongoing bit rot due to non-C89 code creeping into the core OS.
2019-06-02 15:36:38 -06:00
Jason Harris
6a98b2825e
configs/axoloti: Adds initial support for the Axoloti sound/music synthesizer board. Board is based on STM32F427 SoC. See http://www.axoloti.com/ .
2019-06-02 12:58:56 -06:00
Gregory Nutt
2357446491
include/nuttx/net/bluetooth.h: Ignore content if CONFIG_NET_BLUETOOTH is not set. This is necessary because bt_hci.h content was previously comment out because it uses several compiler specific things include zero-dimensione arrays and uint64_t. Neither are supported by the C89 ZiLOG ZDS-II compiler.
2019-06-02 12:57:18 -06:00