Commit Graph

52 Commits

Author SHA1 Message Date
Anthony Merlino
433b997bc6 Merged in antmerlino/nuttx/photon-spi (pull request #512)
photon: Support SPI1 and SPI3

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-10-18 18:22:29 +00:00
Gregory Nutt
5b385f4d4d kthread_create(): Rename kernel_thread() to kthread_create() for better naming consistency with task_create() and kthread_delete(). 2017-10-16 11:38:00 -06:00
Gregory Nutt
936df1bcb5 Adds new OS internal functions nxsig_sleep() and nxsig_usleep. These differ from the standard sleep() and usleep() in that (1) they don't cause cancellation points, and (2) don't set the errno variable (if applicable). All calls to sleep() and usleep() changed to calls to nxsig_sleep() and nxsig_usleep().
Squashed commit of the following:

    Change all calls to usleep() in the OS proper to calls to nxsig_usleep()

    sched/signal:  Add a new OS internal function nxsig_usleep() that is functionally equivalent to usleep() but does not cause a cancellaption point and does not modify the errno variable.

    sched/signal:  Add a new OS internal function nxsig_sleep() that is functionally equivalent to sleep() but does not cause a cancellaption point.
2017-10-06 10:15:01 -06:00
Gregory Nutt
a6f595e89e Remove more duplicate Make.defs files 2017-07-11 09:15:29 -06:00
Gregory Nutt
422888733b More conversions of defconfig files to compressed format. Not yet finished. 2017-07-09 19:25:19 -06:00
Gregory Nutt
47be509d79 Rename CONFIG_STM32_STM32F40XX to CONFIG_STM32_STM32FXXXX since it is used by F4 parts other than F40x 2017-07-06 10:20:14 -06:00
Gregory Nutt
44545781e5 configs/: Remove dangline space at the end of lines in .txt files. 2017-06-28 13:18:41 -06:00
Gregory Nutt
cd54a0340f Fix a typo. And typo in Kconfig file is reflect in all defconfig files. 2017-06-15 14:29:09 -06:00
Gregory Nutt
8acfea1197 Fix some typos 2017-05-14 12:14:31 -06:00
Simon Piriou
7e75d61ea0 photon/wlan: disable network logs and add nsh over telnet 2017-05-14 19:33:44 +02:00
Gregory Nutt
b0fda33e13 Kconfig: Rename CONFIG_ARM_TOOLCHAIN_IAR to CONFIG_ARCH_TOOLCHAIN_IAR 2017-05-13 16:01:38 -06:00
Gregory Nutt
6e4918c557 Remove CONFIG_ARM_TOOLCHAIN_GNU; replace with CONFIG_ARCH_TOOLCHAIN_GNU 2017-05-13 13:28:15 -06:00
Gregory Nutt
7fe112fe4c Kconfig/deconfigs: Add CONFIG_ARCH_TOOLCHAIN_GNU to indicate that the toolchain is based on GNU gcc/as/ld. This is in addition to the CPU-specific versions of the same definition. 2017-05-13 11:44:12 -06:00
Gregory Nutt
0de294a586 Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:35:56 -06:00
Gregory Nutt
2043e1a114 IOBs: Move from driver/iob to a better location in mm/iob 2017-05-09 07:35:30 -06:00
Alan Carvalho de Assis
13f1ba03d5 Photon: Add README file 2017-05-08 13:14:21 -06:00
Gregory Nutt
5e81391d79 Update a configuration. 2017-05-06 11:25:39 -06:00
Gregory Nutt
6062553748 Refresh a configuration 2017-05-06 09:38:26 -06:00
Gregory Nutt
fa060b7901 photon/wlan: Update defconfig 2017-05-02 09:40:12 -06:00
Simon Piriou
fe77735960 bcmf: add netdev support for Broadcom FullMAC driver 2017-04-30 20:36:35 +02:00
Simon Piriou
0d1a79719a bcmf: add escan ioctls support + cleanup 2017-04-28 19:44:48 +02:00
Gregory Nutt
a134178034 Enabled wireless IOCTL commands in photon/wlan configuration 2017-04-26 12:30:18 -06:00
Gregory Nutt
1ae795a348 Remove ./configs/photon/wlan/setenv.sh 2017-04-26 10:42:50 -06:00
Gregory Nutt
7d8140708e Merge remote-tracking branch 'origin/master' into photon 2017-04-26 10:42:19 -06:00
Simon Piriou
6bb2db8c15 bcmf: enable DMA for SDIO transfers 2017-04-26 17:23:53 +02:00
Gregory Nutt
1620ff05f4 Remove all setenv.sh files. 2017-04-26 07:49:37 -06:00
Gregory Nutt
ace460ad0e configs/photon/src/stm32_wlan.c: Remove unused, inappropriate network driver registration. 2017-04-25 13:02:50 -06:00
Gregory Nutt
afea57d43a Photon: Rename ld.script to photon_jtag.ld for symmetry. 2017-04-25 12:03:27 -06:00
Gregory Nutt
16038d1685 photon/wlan: Minor config changes to get a clean build. 2017-04-25 08:23:53 -06:00
Gregory Nutt
559660a530 Move bogus top-level config-wlan to configs/photon/wlan/defconfig. 2017-04-25 07:44:25 -06:00
Gregory Nutt
a57c79e8b3 wireless/ieee80211: Add broadcom network device registration logic. 2017-04-24 10:43:57 -06:00
Simon Piriou
c0862c862f photon: cleanup and refactor bcmf driver 2017-04-23 23:39:17 +02:00
Gregory Nutt
6601912f12 Add URL for dfu-util 2017-04-23 10:56:33 -06:00
Simon Piriou
e1a4e88a55 photon: add DOWNLOAD function to upload firmware through DFU 2017-04-23 10:16:17 -06:00
Gregory Nutt
d8e4cbcfd5 Merge remote-tracking branch 'spiriou/wlan_dev' into photon 2017-04-22 08:26:40 -06:00
Gregory Nutt
5104eb530f Photon: Add logic to automatically mount the procfs file system on startup. Fix some LED-related configuration conflicts. 2017-04-09 13:46:27 -06:00
Gregory Nutt
dedc3c15d4 Add support for NuttX controlled LEDS and for board_initialize. Separate initialize logic to stm32_bringup.c so that in initialization can occur either through board_initialize() or through board_app_initialize(). Same as with most other newer board configurations. 2017-04-09 10:16:05 -06:00
Gregory Nutt
55b32430e1 Fix photon/nsh/defconfig, was turning on non-existent LED support when the configuration was refreshed. 2017-04-09 07:48:40 -06:00
Gregory Nutt
f9e402018b Buttons: Change return value of board_buttons() and the type of btn_buttonset_t to uint32_t so that more than 8 buttons can be supported. 2017-04-09 07:22:49 -06:00
Simon Piriou
e5c4a28c3a photon: wlan support 2017-04-05 21:55:21 +02:00
Gregory Nutt
c071e2a30c Make sure that CONFIG_PTHREAD_MUTEX_ROBUST=y is selected every configuration that enabled pthreads. 2017-03-27 09:21:03 -06:00
Gregory Nutt
b07d3fc305 Rename CONFIG_MUTEX_TYPES to CONFIG_PTHREAD_MUTEX_TYPES 2017-03-27 09:08:14 -06:00
Simon Piriou
bf9391a1fe photon: porting wlan device 2017-03-14 21:13:36 +01:00
Simon Piriou
e10ce5ce51 Photon: add basic support for wlan chip 2017-03-12 16:57:59 +01:00
Gregory Nutt
9b11187b2a STM32 OTG HS: A little research reveals that only the F2 RCC initialization set the OTGHSULPIEN bit and Photon is the only F2 board configuration that uses OTG . Therefore, we can simplify the conditional logic of the last PR. Negative logic was used (#ifndef BOARD_DISABLE_USBOTG_HSULPI) to prevent bad settings in other configurations. But give these facts, the preferred positive logic now makes more sense (#ifdef BOARD_ENABLE_USBOTG_HSULPI). 2017-03-11 18:00:38 -06:00
Gregory Nutt
e0f7b9582a STM32: Review of last STM32 F2 PR. Progate changes to STM32 F4 and F7 OTGHS. Rename some configs/photon/src files. Naming can be either photon_ or stm32_ but must be consistent. 2017-03-11 16:31:11 -06:00
Simon Piriou
ef0fe50ae6 photon: add LEDs and BUTTONS support 2017-03-11 18:26:46 +01:00
Simon Piriou
70d8f0189d stm32f20xxx: add BOARD_DISABLE_USBOTG_HSULPI flag 2017-03-11 18:15:18 +01:00
Simon Piriou
f542e16847 photon: add usb otg hs support and usbnsh app 2017-03-11 14:19:22 +01:00
Simon Piriou
a1c0117103 photon: add iwdg timer support 2017-03-11 13:51:09 +01:00